msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_SUBSTITUTESTRING (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_SUBSTITUTESTRING
index = SHORT1FROMMP(mp1);    /* index of substitution string */
 
The WM_SUBSTITUTESTRING message is sent as part of the processing of the
WinSubstituteStrings function. It allows an application to substitute
phrases within a string.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
index      Low word of mp1. Specifies a value that is equal to the numeric
           value in the substitution string. It can be any value between 0
           and 9.
 
Return Value
 
An application should return a far pointer to a substitution string or NULL
to indicate no string.
 
See Also
 
WinSubstituteStrings