Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.5 KB

wm-help.md

File metadata and controls

53 lines (31 loc) · 1.5 KB
description ms.assetid title ms.topic ms.date
Indicates that the user pressed the F1 key.
6a090125-67dd-4267-9973-10e32c6e4f1f
WM_HELP message (Winuser.h)
reference
05/31/2018

WM_HELP 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.

Parameters

wParam

Must be zero.

lphi

The address of a HELPINFO structure that contains information about the menu item, control, dialog box, or window for which Help is requested.

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

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h