WIll subclassing allow me to change the look of a control?
How do people create custom controls? I mean like, tab controls and sliders and things.
WIll subclassing allow me to change the look of a control?
How do people create custom controls? I mean like, tab controls and sliders and things.
Yes, but it's more usual to make the control owner-drawn: give the control the appropriate owner draw style and then handle WM_DRAWITEM notification messages.WIll subclassing allow me to change the look of a control
These are common controls, although ms prefers to list them all together now with what used to be referred to as standard or user controls (buttons,edits,listboxes etc).I mean like, tab controls and sliders and things.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Thanks. I'll have a little play around and see what I can figure out.
Ok, I think I've figured it out. So when that message is sent windows would usually do some GDI functions to draw the control? And because it's ownerdrawn I can do it instead?
Last edited by Mithoric; 11-22-2003 at 07:15 AM.
Yup.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.