Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Calls a function that processes the WM_NOTIFY message.
void HANDLE_WM_NOTIFY(
HWND hwnd,
WPARAM wParam,
LPARAM lParam,
function fn
);
hwnd
Type: HWND
A handle to the window that received WM_NOTIFY.
wParam
Type: WPARAM
The first parameter of WM_NOTIFY.
lParam
Type: LPARAM
The second parameter of WM_NOTIFY.
fn
Type: function
The function that is to process WM_NOTIFY.
None
The HANDLE_WM_NOTIFY macro is defined as follows.
#define HANDLE_WM_NOTIFY(hwnd, wParam, lParam, fn) \
(fn)((hwnd), (int)(wParam), (NMHDR*)(lParam))
The macro can be used inside a dialog window procedure to simplify the calling of an application-defined function that requires an NMHDR parameter.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!