Compartilhar via


CPane::GetVirtualRect

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void GetVirtualRect(
   CRect& rectVirtual
) const;

Parameters

  • [in] rectVirtual
     

Remarks

When the user drags a toolbar, the framework stores the toolbar's original position in a virtual rectangle. When a toolbar moves, it may shift other toolbars. The original positions of the shifted toolbars are also stored in virtual rectangles (every toolbar has a virtual rectangle). The framework uses the virtual rectangles to restore the original positions of the shifted toolbars.

You should not call methods related to virtual rectangles unless you are moving toolbars programmatically.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart