Jump to content

wpHide

From EDM2
Revision as of 02:35, 17 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpHide}} This instance method is called to hide or minimize open views of this object. ==Syntax== _wpHide(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 not generally over...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This instance method is called to hide or minimize open views of this object.

Syntax

_wpHide(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 not generally overridden.

Usage

This method can be called to hide an object's window.

Remarks

This method will turn all windows owned by this object invisible or, if the system setting is set to provide minimized windows instead of hidden windows, **wpHide** will minimize all windows owned by this object.

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 = _wpHide(somSelf);

Related Methods