• Welcome to Valhalla Legends Archive.
 

Simple VB question.

Started by Death-Merchant, October 10, 2003, 08:08 PM

Previous topic - Next topic

Death-Merchant

Is there a way to get rid of the highlight in a listview when you click on it?

Skywing

Quote from: Death-Merchant on October 10, 2003, 08:08 PM
Is there a way to get rid of the highlight in a listview when you click on it?
Yes.  Owner draw it and don't duplicate that behavior.

Adron

Quote from: Skywing on October 10, 2003, 08:41 PM
Yes.  Owner draw it and don't duplicate that behavior.

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..

UserLoser

#3
May be simple for you, Skywing, but most of the people here don't know how to create owner drawn listboxes & subclass. :P

Skywing

Quote from: Adron on October 10, 2003, 08:53 PM
Quote from: Skywing on October 10, 2003, 08:41 PM
Yes.  Owner draw it and don't duplicate that behavior.

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..
It's  the only solution that I know of.  Feel free to suggest something else.

Adron

Maybe you could mess with the colors so clicking on it isn't visible...

Arta

That would be my suggestion also

iNsAnE-MS

Subclassing is fun for the whole family!  :o