wpQueryButtonAppearance
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the Frame Control Button appearance of an object.
Syntax
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulButtonType; /* A flag indicating the type of control button. */ ulButtonType = _wpQueryButtonAppearance(somSelf);
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
Returns
- ulButtonType (ULONG) - returns
- A flag indicating the type of control button.
- Possible values are described in the following list:
- HIDEBUTTON
- MINBUTTON
- DEFAULTBUTTON
Usage
This method is usually called by the system to retrieve the object's Frame Control Button appearance.
How to Override
This method is generally not overridden.