Jay Tautges
February 20th, 2006, 12:57 PM
Hello everyone,
Personalizing the look of controls is something I like to do - so I'm trying it with the TabControl in my program. I've set the control's DrawMode to OwnerDrawFixed, and have added a DrawItem event handler.
But in the OnDrawItem function when I simply fill the tab with a solid color, there is still a 3D edge around the tab. Is there any way to stop the base class from drawing those edges, so we can draw it ourself?
Thanks,
Jay
Personalizing the look of controls is something I like to do - so I'm trying it with the TabControl in my program. I've set the control's DrawMode to OwnerDrawFixed, and have added a DrawItem event handler.
But in the OnDrawItem function when I simply fill the tab with a solid color, there is still a 3D edge around the tab. Is there any way to stop the base class from drawing those edges, so we can draw it ourself?
Thanks,
Jay