BCGControlBar Pro for MFC
virtual COLORREF CBCGPVisualManager::GetToolbarButtonTextColor ( CBCGPToolbarButton pButton,
CBCGPVisualManager::BCGBUTTON_STATE  state 
)
virtual

Returns the color of the toolbar button's text according to the current visual manager and the button state.

Override this member function in your CBCGPVisualManager - derived class to customize the color.

The state of a toolbar button can be one of the following BCGBUTTON_STATE enumerated values:

  • ButtonsIsRegular - default state
  • ButtonsIsPressed - button is pressed
  • ButtonsIsHighlighted - button is highlighted
Parameters
pButtonA pointer to a toolbar button whose text color to be determinated.
stateButton's state for which the color is determinated.