Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stretches the toolbar vertically or horizontally, and repositions the buttons if necessary.
virtual CSize StretchPane(
int nLength,
BOOL bVert
);
Parameters
[in] nLength
The amount, in pixels, by which to stretch the pane.[in] bVert
If TRUE, stretches the pane vertically. If FALSE, stretches the pane horizontally.
Return Value
A CSize object that specifies the size of the toolbar client area.
Remarks
This method calls CMFCToolBar::WrapToolBar to reposition the buttons within the stretched toolbar.
The return value is determined by calling CMFCToolBar::CalcSize.
Requirements
Header: afxtoolbar.h