Jump to content

wpclsQueryActiveDesktopHWND

From EDM2

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