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 » Toolbar customization Collapse All
Subject Author Date
Bruno Norberto May 23, 2005 - 12:58 PM

I´m trying to customize my Toolbar by inserting a bitmap background and a hot image list (the images that show up when the mouse in over some item).


I can’t find a way to modify CExtToolControlBar in order to achieve such effects...


Any thoughts?


Thank you,


Bruno Norberto da Silva

Technical Support May 24, 2005 - 8:08 AM

The Prof-UIS toolbar is designed for business applications like those available in Microsoft Office and Microsoft development environments. We regard hot effect features as funny things and you can find hot effects in the FunnyBars sample. Although Prof-UIS toolbar buttons are based on command description objects (the CExtCmdItem class) stored in the named command profile (the CExtCmdProfile class) of the command manager (the CExtCmdManager class) and only one icon (the CExtCmdIcon class) can be assigned to each command, it is possible to code the custom toolbar buttons ( CExtBarButton-derived classes) with any funny effects and use them in the CExtToolControlBar window as it is demonstrated in the FunnyBars sample. To repaint toolbar’s background, you can either use your own CExtToolControlBar-derived class and override its DoEraseBk() virtual method or use your own paint manager class (the CExtPaintManager / CExtPaintManagerXP / CExtPaintManagerOffice2003 / CExtPaintManagerStudio2005-derived class) and implement the PaintDockerBkgnd() virtual method which paints the background of any Prof-UIS component.