Share via


WM_HELP (Compact 2013)

3/28/2014

This message indicates that the user pressed the F1 key. If a menu is active when F1 is pressed, WM_HELP is sent to the window associated with the menu; otherwise, WM_HELP is sent to the window that has the keyboard focus. If no window has the keyboard focus, WM_HELP is sent to the currently active window.

Syntax

WM_HELP 
    wParam = 0;
  lParam = 0;

Return Value

Returns TRUE.

Remarks

The DefWindowProc function passes WM_HELP to the parent window of a child window or to the owner of a top-level window.

Requirements

Header

winuser.h

See Also

Reference

Shell Messages
DefWindowProc