Udostępnij za pośrednictwem


AFX_GLOBAL_DATA::DwmDefWindowProc

Provides a simple way to call the Windows DwmDefWindowProc method.

LRESULT DwmDefWindowProc(
   HWND hWnd, 
   UINT message, 
   WPARAM wp, 
   LPARAM lp
);

Parameters

  • [in] hWnd
    Handle to the window procedure that received the message.

  • [in] message
    Specifies the message.

  • [in] wp
    Specifies additional message information. The content of this parameter depends on the value of the message parameter.

  • [in] lp
    Specifies additional message information. The content of this parameter depends on the value of the message parameter.

Return Value

The result of the hit test.

Remarks

This method enables Desktop Window Manager (DWM) hit-testing within the non-client area when it is called with the WM_NCHITTEST notification.

Requirements

Header: afxglobals.h

See Also

Concepts

MFC Hierarchy Chart

Reference

AFX_GLOBAL_DATA Structure