Export (0) Print
Expand All
Expand Minimize


Stretches the pane vertically or horizontally based on docking style.

virtual int StretchPaneDeferWndPos(
   int nStretchSize,
   HDWP& hdwp

[in] nStretchSize

The amount, in pixels, to stretch the pane. Use a negative value to shrink the pane.

[in] hdwp

Not used.

The actual amount, in pixels, that the pane was stretched.

If necessary, this method modifies nStretchSize to ensure that the pane does not exceed size limits. These limits are obtained by calling CPane::GetAvailableStretchSize and CPane::GetAvailableExpandSize.

Header: afxpane.h

Community Additions

© 2014 Microsoft