CMFCToolBar::SetRouteCommandsViaFrame
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

CMFCToolBar::SetRouteCommandsViaFrame

Specifies whether the parent frame or the owner sends commands to the toolbar.

void SetRouteCommandsViaFrame(
   BOOL bValue 
);

[in] bValue

If this parameter is TRUE, the parent frame sends commands to the toolbar. Otherwise, the owner sends commands to the toolbar.

By default, the parent frame sends commands to the toolbar. Call the CMFCToolBar::GetRouteCommandsViaFrame method to determine whether the parent frame or the owner sends commands to the toolbar.

Header: afxtoolbar.h

Show:
© 2016 Microsoft