Export (0) Print
Expand All
Expand Minimize

CPane::MovePane

Moves the pane to the specified rectangle.

virtual CSize MovePane(
   CRect rectNew,
   BOOL bForceMove,
   HDWP& hdwp
);

[in] rectNew

Specifies the new rectangle for the pane.

[in] bForceMove

If TRUE, this method ignores the minimum allowed pane size (CPane::GetMinSize); otherwise, the pane is adjusted, if necessary, to ensure that it is at least the minimum allowed size.

[in] hdwp

Not used.

A CSize object that contains the differences in width and height between the new and old rectangles (old rectangle –rectNew).

This method is used only for dockable panes.

Header: afxpane.h

Show:
© 2014 Microsoft