Valhalla Legends Forums Archive | Battle.net Bot Development | Simple VB question.

AuthorMessageTime
Death-Merchant
Is there a way to get rid of the highlight in a listview when you click on it?
October 11, 2003, 1:08 AM
Skywing
[quote author=Death-Merchant link=board=17;threadid=3031;start=0#msg23731 date=1065834527]
Is there a way to get rid of the highlight in a listview when you click on it?
[/quote]
Yes. Owner draw it and don't duplicate that behavior.
October 11, 2003, 1:41 AM
Adron
[quote author=Skywing link=board=17;threadid=3031;start=0#msg23738 date=1065836475]
Yes. Owner draw it and don't duplicate that behavior.
[/quote]

And that's an answer for a "Simple VB question"? I was thinking of owner-drawing it, but I wasn't willing to try to explain how to owner-draw a listbox in VB..
October 11, 2003, 1:53 AM
UserLoser
May be simple for you, Skywing, but most of the people here don't know how to create owner drawn listboxes & subclass. :P
October 11, 2003, 2:06 AM
Skywing
[quote author=Adron link=board=17;threadid=3031;start=0#msg23743 date=1065837220]
[quote author=Skywing link=board=17;threadid=3031;start=0#msg23738 date=1065836475]
Yes. Owner draw it and don't duplicate that behavior.
[/quote]

And that's an answer for a "Simple VB question"? I was thinking of owner-drawing it, but I wasn't willing to try to explain how to owner-draw a listbox in VB..
[/quote]
It's the [u]only[/u] solution that I know of. Feel free to suggest something else.
October 11, 2003, 2:42 AM
Adron
Maybe you could mess with the colors so clicking on it isn't visible...
October 11, 2003, 4:07 PM
Arta
That would be my suggestion also
October 11, 2003, 7:15 PM
iNsAnE-MS
Subclassing is fun for the whole family! :o
October 12, 2003, 2:14 PM

Search