DOC: Context Menu Help Text Not Displayed on Windows NT 4.0

ID: Q214625


The information in this article applies to:


SUMMARY

A context menu extension can return a help text associated with a menu item when the Shell calls IContextMenu::GetCommandString (or IContextMenu2::GetCommandString) with the GCS_HELPTEXT flag. This string is displayed in the status bar of the Explorer window.


MORE INFORMATION

On Windows NT, the command string returned by the implementation of IContextMenu::GetCommandString may not be displayed in the status bar of Explorer when an ANSI string is returned.

The reason for this behavior is that the implementation of IContextMenu::GetCommandString should return a wide character string on Windows NT and an ANSI string on Win95/98. For this purpose, it is advisable to handle both the GCS_HELPTEXTA and GCS_HELPTEXTW flags.

Additional query words:


Keywords          : kbdocfix kbContMenu kbNTOS400 kbGrpShell 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: February 26, 1999