Jump to content

WM SUBSTITUTESTRING

From EDM2

This message is sent from the WinSubstituteStrings call.

Syntax

param1
    USHORT   iindex;     /* Substitution index. */

param2
    ULONG    ulReserved; /* Reserved value, should be 0. */

Parameters

iindex (USHORT) - Input
A value corresponding to the decimal character in the substitution phrase.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

pString (PSZ) - returns
String to be substituted. This points to a string (character) buffer.
0
No substitution string
Other
Substitution string.

Remarks

The WinSubstituteStrings call has encountered a substitution phrase in a string. The substitution phrase takes the form %<digit>, where <digit> is a single decimal character; that is, 0 through 9.

Default Processing

The default window procedure takes no action on this message, other than to set pString to 0.