Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SHStripMneumonic
Collapse the table of content
Expand the table of content

SHStripMneumonic function

[This function is available through Windows XP and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]

Removes the mnemonic marker from a string.

Syntax


TCHAR SHStripMneumonic(
  _Inout_ LPTSTR *pszMenu
);

Parameters

pszMenu [in, out]

Type: LPTSTR*

A pointer to the null-terminated string that contains the mnemonic marker.

Return value

Type: TCHAR

Returns the mnemonic character, if one was found. Otherwise, returns 0.

Remarks

The term "mnemonic" is misspelled in the function name.

The function supports the following mnemonic formats.

Input StringOutput StringMnemonic CharacterRemarks
"Str&ing""String"'i'None.
"String (&S)""String"'S'Supported only by the Unicode version of this function. Requires Windows XP or later.

 

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server, Windows Server 2003 [desktop apps only]

Header

Shlwapi.h

DLL

Shlwapi.dll (version 5.0 or later)

Unicode and ANSI names

SHStripMneumonicW (Unicode) and SHStripMneumonicA (ANSI)

See also

DrawText

 

 

Community Additions

ADD
Show:
© 2015 Microsoft