windows_programming_notes.nbk: Home | Index | Next Page: WM_UNDO | Previous Page: WM_SYSKEYUP


 WM_TCARD

Sent to an application that has initiated a training card with Windows Help. The message informs the application when the user clicks an authorable button. An application initiates a training card by specifying the HELP_TCARD command in a call to the WinHelp function.

    WM_TCARD 
        idAction = wParam; 
        dwActionData = lParam; 

Parameters

idAction Value that indicates the action the user has taken. This can be one of these values: IDABORT The user clicked an authorable Abort button. IDCANCEL The user clicked an authorable Cancel button. IDCLOSE The user closed the training card. IDHELP The user clicked an authorable Windows Help button. IDIGNORE The user clicked an authorable Ignore button. IDOK The user clicked an authorable OK button. IDNO The user clicked an authorable No button. IDRETRY The user clicked an authorable Retry button. HELP_TCARD_DATA The user clicked an authorable button. The lParam parameter contains a long integer specified by the Help author. HELP_TCARD_NEXT The user clicked an authorable Next button. HELP_TCARD_OTHER_CALLER Another application has requested training cards. IDYES The user clicked an authorable Yes button.

dwActionData If idAction specifies HELP_TCARD_DATA, this parameter is a long integer specified by the Help author. Otherwise, this parameter is zero.

Return Values

The return value is ignored; use zero.

Requirements

  Version 4.00 and later of Shell32.dll
  Windows NT/2000: Requires Windows NT 4.0 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_UNDO | Previous Page: WM_SYSKEYUP


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