WpRestore: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpRestore}} This instance method is called to allow the object to restore its views from the hidden or minimized states. ==Syntax== _wpRestore(somSelf) ==Parameters== ;''somSelf'' (WPObject *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPObject. ==Returns== ;''rc'' (BOOL) - returns :Success indicator. :* '''TRUE''' Successful completion. :* '''FALSE''' Error occurred. ==How to Overrid..." |
(No difference)
|
Latest revision as of 02:36, 17 November 2025
This instance method is called to allow the object to restore its views from the hidden or minimized states.
Syntax
_wpRestore(somSelf)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
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 restore all views of this object from the hidden or minimized state.
Remarks
This method is the inverse of the wpHide method.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL rc; /* Success indicator. */ rc = _wpRestore(somSelf);