WpSetActionButtonStyle: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetActionButtonStyle}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method sets how the action buttons are displayed on the Toolbar. ==Syntax== _wpSetActionButtonStyle(somSelf, ulStyle) ==Parameters== ;''somSelf'' (WPLaunchPad *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPLaunchPad. ;''ulStyle'' (ULONG) - input :Flag indicating the s..." |
(No difference)
|
Revision as of 04:37, 18 November 2025
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets how the action buttons are displayed on the Toolbar.
Syntax
_wpSetActionButtonStyle(somSelf, ulStyle)
Parameters
- somSelf (WPLaunchPad *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPLaunchPad.
- ulStyle (ULONG) - input
- Flag indicating the style of the action buttons.
- **ACTION_BUTTONS_MINI**
- **ACTION_BUTTONS_NORMAL**
- **ACTION_BUTTONS_OFF**
- **ACTION_BUTTONS_TEXT**
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPLaunchPad *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulStyle; /* Flag indicating the style of the action buttons. */ BOOL rc; /* Success indicator. */ rc = _wpSetActionButtonStyle(somSelf, ulStyle);