Hi. I have noticed that there is ABS_OWNERDRAW for the CButton class, but how do you let other controls know they are to be custom drawn? Or is it not as simple as applying a style to te other controls?
Lewis
Aurora already custom draws the buttons when you use ABS_OWNERDRAW. To support fg/bg colors.
You can search MSDN for the other controls particular ownerdraw style.
Ahh thats what i was asking. Do the other controls have a style, i guess so. Will they be put into the language constants at any point? I will have a peek through the SDK for the other constants.
Thanks
Lewis
The only reason it is in the constants is to support colored buttons like we did in IBasic. I have no plans to add anymore built in 'skinning' ;). For one it's not compatible with XP themes. In other words you can either have themed buttons, or colored ones, but not both.
HUH??? Thats thrown me a bit? So what i am working on isnt going to work? Then how can these other programs skin your controls for you? If you have XP themes on or not? Or have i just missed the point here :S
Lewis
Meaning the theme doesn't work for that button. Not that the button doesn't work of course.
Linux handles skinning so much better.