Click to See Complete Forum and Search --> : CListCtrl and OnEraseBkgnd()


Niall Bryan
April 9th, 1999, 04:23 AM
trying to paint the "background" (ie client window) of the list ctrl. OnEraseBkgnd() is not called by the list ctrl, even when it is resized. I tried throwing a SendMessage(WM_ONERASEBKGND, 0, 0) into the OnSize() and OnMove() procedures, but resizing the ctrl doesn't trigger either of these functions! What's up with this? Why isn't aren't the OnSize and OnMove procs called, and how do I draw/paint to the "background" of the list ctrl?

Thanx for any help,
Niall (tiring of the dreaded list ctrl)