Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BRUSH with BS_NULL or BS_HOLLOW won't work with XP themeing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I've got some piece of code here that pretty much resembles the example code of MSDN's CWnd::OnCtlColor sample code for making a control transparent.
That code works fine on any windows version, even XP, if you don't use a theme (classic).
However, when luna is being turned on, all I get is some background color which happens to be black in my case with, of course, black foreground.
I wouldn't regard black painting on black background as art so I'm desperately trying to get a clue how to make this work on Windows XP with themeing turned on.

Thanks in advance,
Andy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top