Home > Software engineering >  MFC toolbar
MFC toolbar

Time:09-30

Consult everybody:


Does the splitter bar on the toolbar can paint what function? Is the vertical bar between a button,

CodePudding user response:

Resource view, the Toolbar ICONS to distance running time between there will be a vertical bar

CodePudding user response:

reference 1st floor zgl7903 response:
resource view, the Toolbar ICONS to distance running time between there will be a vertical bar
said I'm a custom painting? I'm from CToolBar inherit the article divided button and then painted

CodePudding user response:

M_wndToolBar. SetButtonInfo (independence idx, ID_COMBO_IN_TOOLBAR TBBS_SEPARATOR, CTRL_WIDTH);
TBBS_SEPARATOR

CodePudding user response:

The
reference 3 floor schlafenhamster response:
m_wndToolBar. SetButtonInfo (independence idx, ID_COMBO_IN_TOOLBAR, TBBS_SEPARATOR CTRL_WIDTH);
TBBS_SEPARATOR

Isn't this meaning

CodePudding user response:

# define ID_SEPARATOR 0//special separator value

CodePudding user response:

reference 5 floor schlafenhamster reply:
# define ID_SEPARATOR 0//special separator value
I want to custom painting, from the CToolBar inheritance