This method is specific to Version 3, or higher, of the OS/2 operating system.
This instance method sets whether the drawers closes after an object in the drawers is opened from the drawers.
#define INCL_WINWORKPLACE #include <os2.h> WPLaunchPad *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL fState; /* Flag indicating whether to close the drawer after opening an object in the drawer. */ wpSetCloseDrawer(somSelf, fState);