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 » TBSS Constants Collapse All
Subject Author Date
Pete Goodsall Dec 5, 2003 - 12:09 PM

Could you please list the TBSS_XXX constants together with their meanings: I can find no information about them in either the Prof-UIS helpfile or the sample projects.

I also have a problem making the button text in a control bar stay underneath the icon: I assume that I’ve missed a method or constant, but can’t find the relevant information

Sergiy Lavrynenko Dec 9, 2003 - 9:18 AM

Dear Pete,

The toolbar button implemented in CExtBarButton supports the following button styles (TBBS_*** constants):

  • TBBS_SEPARATOR - button is separator

  • TBBS_BUTTON - button is not separator

  • TBBS_DISABLED - button is disabled

  • TBBS_INDETERMINATE - button is in the indeterminate state

  • TBBS_PRESSED - button is pressed

  • TBBS_CHECKED - button is checked

  • TBBS_CHECKBOX - button is checked (similar to TBBS_CHECKED)
CExtBarButton does not support any styles for arranging the text and the icon relatively to each other. But it is not difficult to insert your own CExtBarButton-derived button with its contents repainted. You may use the FunnyBars sample as a ready-to-use solution.