datetimecontrol
-
Hi, is there any technics (owner draw class, function, subclass method and so on) to change backgroud color of datetimecontrol Thank you
viliam
Check out the
WM_CTLCOLOR
, and related, messages. If that does not work, you might look at theDTM_SETMCCOLOR
message. Or, subclass the control and handle theWM_ERASEBKGND
andWM_PAINT
messages."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
Check out the
WM_CTLCOLOR
, and related, messages. If that does not work, you might look at theDTM_SETMCCOLOR
message. Or, subclass the control and handle theWM_ERASEBKGND
andWM_PAINT
messages."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
viliam wrote:
WM_CONTROL is not called for this type of control
I've not ever heard of that message. Is it new?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
viliam wrote:
Sorry, my typing error.
Don't "type" your code here. Please copy and paste!
Workout progress:
Current arm size: 14.4in
Desired arm size: 18in
Next Target: 15.4in by Dec 2010Current training method: HIT