Jump to content

wpQueryObjectList

From EDM2
Revision as of 03:45, 25 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryObjectList}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method returns a list of object buttons displayed on the Toolbar or drawer. ==Syntax== _wpQueryObjectList(somSelf, ulDrawer, pulNumObjects) ==Parameters== ;''somSelf'' (WPLaunchPad *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPLaunchPad. ;''ulDrawer'' (ULONG) - input :Too...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method returns a list of object buttons displayed on the Toolbar or drawer.

Syntax

_wpQueryObjectList(somSelf, ulDrawer, pulNumObjects)

Parameters

somSelf (WPLaunchPad *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPLaunchPad.
ulDrawer (ULONG) - input
Toolbar or drawer being queried.
  • **0** Toolbar.
  • **>0** Drawer identifier.
pulNumObjects (PULONG) - output
Pointer to the number of objects returned.

Returns

hObject (HOBJECT *) - returns
Pointer to an array of objects displayed on the Toolbar or drawers.

How to Override

This method is generally not overridden.

Usage

This method is not covered in the provided text.

Remarks

This method is not covered in the provided text.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPLaunchPad *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulDrawer; /* Toolbar or drawer being queried. */
PULONG pulNumObjects; /* Pointer to the number of objects returned. */
HOBJECT *hObject; /* Pointer to an array of objects displayed on the Toolbar or drawers. */

hObject = _wpQueryObjectList(somSelf, ulDrawer,
            pulNumObjects);

Related Methods