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 objects 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 objects. */ WPObject **objects; /* Pointer to an array of objects to be added. */ ULONG ulAfter; /* Number of the object after which the new objects are inserted. */ BOOL rc; /* Success indicator. */ rc = _wpSetObjectListFromObjects(somSelf, ulDrawer, ulNumObjects, objects, ulAfter);