windows_programming_notes.nbk: Home | Index | Next Page: WM_HOTKEY | Previous Page: WM_GETTEXTLENGTH


 WM_HELP

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.

    WM_HELP 
        lphi = (LPHELPINFO) lParam; 

Parameters

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

Return Values

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

  Windows NT/2000: Requires Windows NT 3.51 or later. 
  Windows 95/98/Me: Requires Windows 95 or later. 
  Header: Declared in winuser.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_HOTKEY | Previous Page: WM_GETTEXTLENGTH


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time