wpQueryDisplayVertical
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the orientation of the Toolbar.
Syntax
_wpQueryDisplayVertical(somSelf)
Parameters
- somSelf (WPLaunchPad *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPLaunchPad.
Returns
- fState (BOOL) - returns
- Flag indicating the orientation of the Toolbar.
- TRUE The Toolbar is displayed vertically.
- FALSE The Toolbar is displayed horizontally.
How to Override
This method can be overridden to force a particular value.
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. */ fState = _wpQueryDisplayVertical(somSelf);