Problem subclassing CHeaderCtrl OnPaint
-
I am trying to redraw the CHeaderCtrl contained in a CListCtrl and would like to handle WM_PAINT messages. Problem is when I do the control never stops painting. Any help greatly appreciated
-
I am trying to redraw the CHeaderCtrl contained in a CListCtrl and would like to handle WM_PAINT messages. Problem is when I do the control never stops painting. Any help greatly appreciated
Post your OnPaint() code. Sounds like something you're doing in OnPaint() is causing another WM_PAINT message to be fired. Sorry to dissapoint you all with my lack of a witty or poignant signature.
-
I am trying to redraw the CHeaderCtrl contained in a CListCtrl and would like to handle WM_PAINT messages. Problem is when I do the control never stops painting. Any help greatly appreciated
You didnt put an UpdateWindow in your paint handler, did you? Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut