Post Reply

Forums -> UltraMon™ SDK -> XP themes
James Lee   2002-06-28 07:29
How did the author of Ultramon manage to display the buttons in theme-aware way? I tried doing something similar in my app and couldn't get it right :-(

I tried DrawThemeBackground, DrawThemeEdge and others without any sucess.
Christian Studer   2002-06-28 11:49
You have to implement a custom drawing routine, there's no way to do this through the theme API.

Christian Studer - www.realtimesoft.com
James Lee   2002-07-02 02:37
Thank you for the reply, Christian.

Do you have any suggestions?

I got the icons used as the background using GetThemeFilename() and substituting dots and slashes with underscores (hope it will be general enough). However, if the user changes the caption height, doing StretchBlt() on the icon produces an ugly result.
Forums -> UltraMon™ SDK -> XP themes

Post Reply