The MULTIKEYHELP Structure


  

typedef struct tagMULTIKEYHELP {  // mkh

DWORD mkSize;

BYTE mkKeylist;

TCHAR szKeyphrase[1];

} MULTIKEYHELP;

 

The MULTIKEYHELP structure specifies a keyword table and an associated keyword to be used by the WinHelp program.

 

ParameterDescription

mkSizeSize of this structure, in bytes.

mkKeylistA single character that identifies the keyword table to search.

szKeyphraseA null-terminated text string that specifies the keyword to locate in the keyword table.

 

The WM_HELP message:   

 

lphi = (LPHELPINFO) lParam;

 

The WM_HELP message is sent whenever the user presses the F1 key.

 

ParameterDescription

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

 

Default Action

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

 

Comments

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.

 

See Also

Calling WinHelp()

Calling WinHelp Version 4.0

#defines list

Examples

FuCommand Parameters

HELP Context ID Property  

The HELPINFO Structure

The HELPWININFO Structure

The WM TCARD Message

Visual Basic