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 General Discussion » Standard "XP" (common controls 6) buttons in themed dialogs Collapse All
Subject Author Date
Tor Erik Ottinsen Sep 16, 2005 - 7:57 AM

Is it possible to get standard "XP"-look (common controls 6) buttons in a themed dialog (e.g. office2003/visual studio 2005) without a thin border around the button?


 

Technical Support Sep 16, 2005 - 8:36 AM

Yes, it is. Just don’t subclass buttons with the CExtButton class.

Tor Erik Ottinsen Sep 16, 2005 - 9:03 AM

I know this is possible, but then i get a small ugly gray border around the button. This is very apperant on the office 2003 theme when using the standard blue XP colors. On the windows XP theme or visual studio 2005 theme this is hard to spot, since the background is gray as well on those.

Technical Support Sep 19, 2005 - 3:31 AM

We believe it’s possible to render Windows XP theme parts for the button common control independently. But we should investigate this problem in details first. In fact, this control will not be based on CExtButton and it will not be able to support separate drop-down and built-in menus. It will be able just to paint Prof-UIS themed background and Windows XP button shape over it.

Tor Erik Ottinsen Sep 20, 2005 - 10:40 AM

Yes, that is what I’m looking for basically. Just like normal button except with themed background.

Technical Support Sep 21, 2005 - 7:42 AM

We coded a CXPButton class that it seems to be what you need. You can download it from our website.

Tor Erik Ottinsen Sep 21, 2005 - 9:41 AM

Thank you very much. Will this class also be included in an upcoming release of Prof-UIS?

Technical Support Sep 21, 2005 - 10:42 AM

Just add this class to you application and it will work with any future release. We also plan to add the Native XP paint manager which supports the XP buttons.