DFM_GETHELPTEXT message

Allows the callback object to specify a help text string.

DFM_GETHELPTEXT 

    wParam = (WPARAM)(int) idCmd,cchMax;

    lParam = (LPARAM)(LPTSTR) pszText;

            

Parameters

idCmd_cchMax [in]

The low-order word of this parameter holds the command ID. The high-order word holds the number of characters in the pszText buffer.

pszText [out]

A null-terminated ANSI string containing the help text.

Remarks

This message is sent to either the callback function or the callback object depending on how the default context menu object is constructed. There are two APIs for its construction, CDefFolderMenu_Create2, SHCreateDefaultContextMenu.

DFM_INVOKECOMMANDEX is an extended version of this message and provides more information to the callback. Use DFM_INVOKECOMMANDEX if the additional information provided by that interface is needed in your implementation.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Shlobj.h
Unicode and ANSI names
DFM_GETHELPTEXT (ANSI)