Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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