Jump to content

wpclsQueryActiveDesktopHWND

From EDM2
Revision as of 23:03, 24 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryActiveDesktopHWND}} This class method returns the handle of the active WPDesktop object. It is specific to version 3 or higher of the OS/2 operating system. ==Syntax== <PRE> hwndDesktop = _wpclsQueryActiveDesktopHWND(somSelf); </PRE> ==Parameters== ;''somSelf'' (M_WPDesktop *) - input :Pointer to the WPDesktop class object. ==Returns== ;''hwndDesktop'' (HWND) - returns :Handle of the active desktop object's frame window. :{| cl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Syntax

hwndDesktop = _wpclsQueryActiveDesktopHWND(somSelf);

Parameters

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

Returns

hwndDesktop (HWND) - returns
Handle of the active desktop object's frame window.
Value Description
Non-NULL Handle of the active desktop object's frame window.
NULL Error occurred.

Usage

This method can be called at any time.

How to Override

This method is generally not overridden.

Related Methods