wpSetObjectListFromHObjects - Syntax

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

This instance method adds a set of objects defined by a set of HOBJECTs to the Toolbar or drawer.

#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 set. */
ULONG            ulNumObjects;  /*  Number of objects pointed to by phobjects. */
HOBJECT         *phobjects;     /*  Pointer to a list of objects to be added. */
ULONG            ulAfter;       /*  Number of the object after which the new objects are inserted. */
BOOL             rc;            /*  Success indicator. */

rc = _wpSetObjectListFromHObjects(somSelf,
       ulDrawer, ulNumObjects, phobjects,
       ulAfter);


[Back: wpSetObjectListFromHObjects]
[Next: wpSetObjectListFromHObjects Parameter - somSelf]