Jump to content

wpclsQueryActiveDesktop

From EDM2
Revision as of 22:59, 24 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryActiveDesktop}} This class method returns a pointer to the active WPDesktop object. It is specific to version 3 or higher of the OS/2 operating system. ==Syntax== <PRE> WPDesktop = _wpclsQueryActiveDesktop(somSelf); </PRE> ==Parameters== ;''somSelf'' (M_WPDesktop *) - input :Pointer to the WPDesktop class object. ==Returns== ;''WPDesktop'' (WPDesktop *) - returns :Pointer to the active desktop object. :{| class="wikitable" ! Va...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This class method returns a pointer to the active WPDesktop object. It is specific to version 3 or higher of the OS/2 operating system.

Syntax

WPDesktop = _wpclsQueryActiveDesktop(somSelf);

Parameters

somSelf (M_WPDesktop *) - input
Pointer to the WPDesktop class object.

Returns

WPDesktop (WPDesktop *) - returns
Pointer to the active desktop object.
Value Description
Non-NULL Pointer to the active desktop object.
NULL Error occurred.

Remarks

Multiple desktop objects can be awake, but only one can be active at a time.

Usage

This method can be called at any time.

How to Override

This method is generally not overridden.

Related Methods