|
-
May 7th, 2001, 12:51 AM
#1
Images in ListBox / Owner-drawn LB
Hi
I've tried to make some LB subclassing. I have found in the MSDN a C++ - written code for this (creating an owner-drawn ListBox) and tried to translate it to VB (my first attempt at this stuff, but the code seemed simple or so it is). So, the WM_PAINT, WM_MOUSEMOVE and other such "simple" events were successfully trapped. But when it came to the most important - WM_DRAWITEM, which draws the items along with each one's picture,... it was not trapped. What happened ?
Please, can anyone help with this stuff ? It's really frustrating. Why exactly the WM_DRAWITEM ?
-
May 7th, 2001, 10:20 AM
#2
Re: Images in ListBox / Owner-drawn LB
Bryan Stafford Shows How To Make One On His Site
http://www.mvps.org/vbvision/grouped...box_&_Combobox
Have a look at the virual listbox demos
Should help you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|