wpSetShadowTitle
Appearance
This instance method is called to set the title on the shadow without affecting the title on the object it is shadowing.
Syntax
_wpSetShadowTitle(somSelf, pszNewTitle)
Parameters
- somSelf (WPShadow *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPShadow.
- pszNewTitle (PSZ) - input
- Pointer to a title.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time in order to set a title on a shadow object without affecting the title on the object it is shadowing.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPShadow *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszNewTitle; /* Pointer to a title. */ BOOL rc; /* Success indicator. */ rc = _wpSetShadowTitle(somSelf, pszNewTitle);