wpSetDisplayVertical
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the orientation of the Toolbar.
Syntax
wpSetDisplayVertical(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 the orientation of the Toolbar.
- TRUE Display the Toolbar vertically.
- FALSE Display the Toolbar horizontally.
Returns
- rc (none) - returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method is not covered in the provided text.
Remarks
Drawers are displayed in the opposite direction.
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 the orientation of the Toolbar. */ wpSetDisplayVertical(somSelf, fState);