Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 Tech Support » No difference between CExtButton::SetFlat(TRUE) and CExtButton::SetFlat(FALSE) Collapse All
Subject Author Date
Chris Anderson May 10, 2007 - 2:52 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?

Thanks

Chris Anderson May 15, 2007 - 4:07 PM

Thanks

Chris Anderson May 14, 2007 - 10:14 AM

I am using XP and did not see any difference. If I have a SDK app, then I could see the difference but not with prof-ui button control.

Technical Support May 15, 2007 - 7:57 AM

Are you using Office XP or Native XP theme? In the latter theme, the flat mode is also useless. Please look at the Buttons page in the ProfUIS_Controls sample. There you can set the flat mode yourself and see how it works.

Technical Support May 14, 2007 - 8:27 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.