Jump to content

WpSetTitle

From EDM2
Revision as of 23:16, 8 June 2025 by Ak120 (talk | contribs) (Created page with "This instance method is called to allow the object to set its current title. <pre> #define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; Pointer to the object on which the method is being invoked.: PSZ pszNewTitle; Pointer to the title of the object.: BOOL rc; Success indicator.: rc = _wpSetTitle(somSelf, pszNewTitle); </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This instance method is called to allow the object to set its current title.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject  *somSelf;      /* Pointer to the object on which the method is being invoked. */
PSZ        pszNewTitle;  /* Pointer to the title of the object. */
BOOL       rc;           /* Success indicator. */

rc = _wpSetTitle(somSelf, pszNewTitle);