Export (0) Print
Expand All
Expand Minimize

CPane::StretchPaneDeferWndPos

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

ADD
Show:
© 2014 Microsoft