Partager via


AFX_GLOBAL_DATA::DwmExtendFrameIntoClientArea

Provides a simple way to call the Windows DwmExtendFrameIntoClientArea method.

BOOL DwmExtendFrameIntoClientArea(
   HWND hWnd, 
   AFX_MARGINS* pMargins
);

Parameters

  • [in] hWnd
    The handle to a window whose frame is extended behind the client area.

  • [in] pMargins
    A pointer to a structure that describes the margins to use when extending the frame into the client area. The members of the AFX_MARGINS structure are identical to the members of the MARGINS structure.

Return Value

TRUE if this method is successful; otherwise, FALSE.

Remarks

This method extends the window frame behind the client area.

Requirements

Header: afxglobals.h

See Also

Reference

AFX_GLOBAL_DATA Structure

Hierarchy Chart