Detect Visual Styles

blabore

Well-known member
Joined
Jan 31, 2002
Messages
48
Location
Austin, TX
I have some standard controls (checkboxes, radio buttons, etc.) that are placed above a background that is drawn using alpha blending. The flat style of the controls is set to system. This works great when my app is shown with xp visual styles, but when the classic visual styles are shown, the controls are shown with a white background, not the background color. The only way I can see to get around this is to set the flat style based on the the visual styles being used. Is there a way to determine what visual styles are currently being applied (i.e. XP or something else). Any help would be appreciated. Thanks, Ben
 
Back
Top