flat assembler
Message board for the users of flat assembler.

Index > Windows > Question on select item in ListView

Author
Thread Post new topic Reply to topic
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 07 Aug 2008, 20:42
Hi everyone. Please help me! If i'm calling my function once to item in listview is a item state as selected, if i calling two times to selected all items.

Code of my function on seleced item's:
Code:
proc SelectItem hList, iItem

        invoke  SetFocus, [hList]
        mov     [lvi.state], -1
        mov     [lvi.stateMask], LVIS_FOCUSED + LVIS_SELECTED
        invoke  SendMessage, [hList], LVM_SETITEMSTATE, [iItem], lvi; 
        ret
endp        


all code of program:


Description:
Download
Filename: Example.rar
Filesize: 17.6 KB
Downloaded: 226 Time(s)


_________________
Forgive for my bad english, I from russia...
Post 07 Aug 2008, 20:42
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.