April 11, 2009 at 9:42 pm
#191265
Member
@method wrote:
nvye can you tell me how to declare these variables ?
LVITEM.mask = LVIF_STATE LVITEM.state = LVIS_CHECKED LVITEM.stateMask = LVIS_STATEIMAGEMASK
You can find everything here:
As for LVIS_CHECKED, there is no such thing. Image state is one-based image-index that is application dependent value that is represented by bits 12-15. That is (index shift left 12)
As you can see in BattleStar-Galactica’s code it’s 2 << 12 = 8192 decimal or 2000 hex.