Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

WinHelpCommands (user32)
 
.
Summary

C# Signature:

///<Summary>Commands to pass to WinHelp()</Summary>
enum WinHelpCommands : uint
{
     ///<Summary>Display topic in ulTopic</Summary>
     HELP_CONTEXT = 0x0001;

     ///<Summary>Terminate help</Summary>
     HELP_QUIT     = 0x0002;

     ///<Summary>Display index</Summary>
     HELP_INDEX    = 0x0003;
     HELP_CONTENTS     = 0x0003;

     ///<Summary>Display help on using help</Summary>
     HELP_HELPONHELP   = 0x0004;

     ///<Summary>Set current Index for multi index help</Summary>
     HELP_SETINDEX     = 0x0005;
     HELP_SETCONTENTS  = 0x0005;
     HELP_CONTEXTPOPUP = 0x0008;
     HELP_FORCEFILE    = 0x0009;

     ///<Summary>Display topic for keyword in offabData</Summary>
     HELP_KEY      = 0x0101;
     HELP_COMMAND      = 0x0102;
     HELP_PARTIALKEY   = 0x0105;
     HELP_MULTIKEY     = 0x0201;
     HELP_SETWINPOS    = 0x0203;
     HELP_CONTEXTMENU  = 0x000a;
     HELP_FINDER       = 0x000b;
     HELP_WM_HELP      = 0x000c;
     HELP_SETPOPUP_POS = 0x000d;
     HELP_TCARD      = 0x8000;
     HELP_TCARD_DATA     = 0x0010;
     HELP_TCARD_OTHER_CALLER = 0x0011;
     IDH_NO_HELP     = 28440;

     ///<Summary>Control doesn't have matching help context</Summary>
     IDH_MISSING_CONTEXT     = 28441;

     ///<Summary>Property sheet help button</Summary>
     IDH_GENERIC_HELP_BUTTON = 28442;
     IDH_OK      = 28443;
     IDH_CANCEL      = 28444;
     IDH_HELP    = 28445;
}

VB.NET Signature:

'''<Summary>Commands to pass to WinHelp()</Summary>
Public Enum WinHelpCommands As UInteger
     '''<Summary>Display topic in ulTopic</Summary>
     HELP_CONTEXT = &h0001

     '''<Summary>Terminate help</Summary>
     HELP_QUIT     = &H0002  

     '''<Summary>Display index</Summary>
     HELP_INDEX    = &H0003  
     HELP_CONTENTS     = &H0003

     '''<Summary>Display help on using help</Summary>
     HELP_HELPONHELP   = &H0004

     '''<Summary>Set current Index for multi index help</Summary>
     HELP_SETINDEX     = &H0005
     HELP_SETCONTENTS  = &H0005
     HELP_CONTEXTPOPUP = &H0008
     HELP_FORCEFILE    = &H0009

     '''<Summary>Display topic for keyword in offabData</Summary>
     HELP_KEY      = &H0101
     HELP_COMMAND      = &H0102
     HELP_PARTIALKEY   = &H0105
     HELP_MULTIKEY     = &H0201
     HELP_SETWINPOS    = &H0203
     HELP_CONTEXTMENU  = &H000a
     HELP_FINDER       = &H000b
     HELP_WM_HELP      = &H000c
     HELP_SETPOPUP_POS = &H000d
     HELP_TCARD      = &H8000
     HELP_TCARD_DATA     = &H0010
     HELP_TCARD_OTHER_CALLER = &H0011
     IDH_NO_HELP     = 28440

     '''<Summary>Control doesn't have matching help context</Summary>
     IDH_MISSING_CONTEXT     = 28441

     '''<Summary>Property sheet help button</Summary>
     IDH_GENERIC_HELP_BUTTON = 28442
     IDH_OK      = 28443
     IDH_CANCEL      = 28444
     IDH_HELP    = 28445
End Enum

VB Signature

Public Enum WinHelpCommands
     HELP_CONTEXT As Long = &h0001
     HELP_QUIT      As Long  = &H0002  
     HELP_INDEX     As Long = &H0003  
     HELP_CONTENTS      As Long = &H0003
     HELP_HELPONHELP    As Long = &H0004
     HELP_SETINDEX      As Long = &H0005
     HELP_SETCONTENTS   As Long = &H0005
     HELP_CONTEXTPOPUP  As Long = &H0008
     HELP_FORCEFILE     As Long = &H0009
     HELP_KEY       As Long = &H0101
     HELP_COMMAND       As Long = &H0102
     HELP_PARTIALKEY    As Long = &H0105
     HELP_MULTIKEY      As Long = &H0201
     HELP_SETWINPOS     As Long = &H0203
     HELP_CONTEXTMENU   As Long = &H000a
     HELP_FINDER    As Long = &H000b
     HELP_WM_HELP       As Long = &H000c
     HELP_SETPOPUP_POS  As Long = &H000d
     HELP_TCARD     As Long = &H8000
     HELP_TCARD_DATA    As Long = &H0010
     HELP_TCARD_OTHER_CALLER  As Long = &H0011
     IDH_NO_HELP    As Long = 28440
     IDH_MISSING_CONTEXT  As Long = 28441
     IDH_GENERIC_HELP_BUTTON  As Long = 28442
     IDH_OK         As Long = 28443
     IDH_CANCEL     As Long = 28444
     IDH_HELP       As Long = 28445
End Enum

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions