WpSetAutoRefresh: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetAutoRefresh}} This method is specific to version 2.1, or higher, of the OS/2 operating system. This instance method provides the ability to enable or disable the power object status window's automatic refresh option. ==Syntax== _wpSetAutoRefresh(somSelf, fAutoRefresh) ==Parameters== ;''somSelf'' (WPPower *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPPower. ;''fAutoRefresh'' ([[BOOL]..." |
(No difference)
|
Latest revision as of 21:45, 1 September 2025
This method is specific to version 2.1, or higher, of the OS/2 operating system.
This instance method provides the ability to enable or disable the power object status window's automatic refresh option.
Syntax
_wpSetAutoRefresh(somSelf, fAutoRefresh)
Parameters
- somSelf (WPPower *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPPower.
- fAutoRefresh (BOOL) - input
- Automatic refresh flag.
- TRUE: Enable automatic refresh of power status window.
- FALSE: Disable automatic refresh of power status window.
Returns
There is no return value for this method.
Example Code
Declaration:
#define INCL_WINWORKPLACE #include <os2.h> WPPower *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL fAutoRefresh; /* Automatic refresh flag. */ wpSetAutoRefresh(somSelf, fAutoRefresh);