- Re: User draw listbox update anomaly
- Posted by Sten Westerback on July 2nd, 2003
Don't send a WM_PAINT, the system sends that automatically
when it is needed and appropriate. At most you might sometimes
update your listbox by using InvalidateRect(hwndListbox, NULL, TRUE)
but that should be needed only if you subclass your listbox but not
when you get WM_DRAWITEM as that's sent when the item should
be drawn. It seems to me like the scroll causes the first invalidation.
- Sten
"chris" <bitinit@hushmail.com> wrote in message
news:14571aaf.0307011126.7d261ea1@posting.google.c om...
Similar Posts
- How To: Resize DesktopX.ListBox? (Desktops) by Dan Wright
- VB6 listbox item colouring/highlighting (Programming) by Edward
- C# Listbox and PictureBox problem (Programming) by weerez
- winapi: getting info from a listbox (Programming) by Pele
- clicking listbox item (Programming) by Pele

