CMFCVisualManager::OnSetWindowRegion

The framework calls this method after it sets a region that contains frames and pop-up menus.

virtual BOOL OnSetWindowRegion(
   CWnd* pWnd,
   CSize sizeWindow
);

Parameters

  • [in] pWnd
    A pointer to the window with the region that changed.

  • [in] sizeWindow
    The size of the window.

Return Value

TRUE if the method is successful; FALSE otherwise.

Remarks

The framework calls this method to notify the visual manager that a region has been set for frames and pop-up menus. For more information, see CWindow::SetWindowRgn.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CWindow::SetWindowRgn