B
Bob Dankert
I am capturing the WM_ERASEBKGND in my ownerdraw listbox in WndProc to
reduce flicker (if it doesnt erase the background, it doesnt flicker).
However, after the last item in the listbox, there is a spot which should be
filled with white (about half the size of an item) which is instead willed
with half of my last drawn item.
Is there any way to tell in WndProc when WM_ERASEBKGND is called which item
in the listbox it is trying to erase? I want it to not fire on all but the
very end of the listbox.
Thanks,
Bob Dankert
reduce flicker (if it doesnt erase the background, it doesnt flicker).
However, after the last item in the listbox, there is a spot which should be
filled with white (about half the size of an item) which is instead willed
with half of my last drawn item.
Is there any way to tell in WndProc when WM_ERASEBKGND is called which item
in the listbox it is trying to erase? I want it to not fire on all but the
very end of the listbox.
Thanks,
Bob Dankert