wpSetButtonAppearance
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the appearance of an object's Frame Control Button.
Syntax
wpSetButtonAppearance(somSelf, ulButtonType)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
- ulButtonType (ULONG) - input
- Flag indicating the type of control button.
- Possible values are described in the following list:
- HIDEBUTTON
- MINBUTTON
- DEFAULTBUTTON
Returns
There is no return value for this method.
Remarks
This method is usually called by the system.
How to Override
This method is generally not overridden.
Example Code
Declaration:
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulButtonType; /* Flag indicating the type of control button. */ wpSetButtonAppearance(somSelf, ulButtonType);