WpSetCloseDrawer: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetCloseDrawer}} This method is specific to Version 3, or higher, of the OS/2 operating system. This instance method sets whether the drawer closes after an object in the drawer is opened from the drawer. ==Syntax== wpSetCloseDrawer(somSelf, fState) ==Parameters== ;''somSelf'' (WPLaunchPad *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPLaunchPad. ;''fState'' (BOOL) - input :Flag in..." |
(No difference)
|
Latest revision as of 17:48, 24 November 2025
This method is specific to Version 3, or higher, of the OS/2 operating system.
This instance method sets whether the drawer closes after an object in the drawer is opened from the drawer.
Syntax
wpSetCloseDrawer(somSelf, fState)
Parameters
- somSelf (WPLaunchPad *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPLaunchPad.
- fState (BOOL) - input
- Flag indicating whether to close the drawer after opening an object in the drawer.
- TRUE Close the drawer.
- FALSE Do not close the drawer.
Returns
- rc (none) - returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time to specify the behavior of the Toolbar drawers.
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. */ BOOL fState; /* Flag indicating whether to close the drawer after opening an object in the drawer. */ wpSetCloseDrawer(somSelf, fState);