Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » No difference between CExtButton::SetFlat(TRUE) and CExtButton::SetFlat(FALSE) Collapse All
Subject Author Date
Chris Anderson May 10, 2007 - 12:34 PM

Our application allows to create regular Push Button (CExtButton::SetFlat(TRUE)) and flat button (CExtButton::SetFlat(FALSE)/BS_FLAT). In prof-ui Button control I am not seeing any difference!. Do I have to do set some other style to get the flat look?


Technical Support May 14, 2007 - 8:28 AM

The SetFlat() method works only with the Office 2000/XP/2003 and Visual Studio 2005 themes. Otherwise it is useless because the buttons are based on bitmaps.