WpSetAutoLockup: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetAutoLockup}} This method is specific to Version 4, or higher, of the OS/2 operating system. This instance method sets the value of the automatic lockup option. ==Syntax== wpSetAutoLockup(somSelf, bAutoLockup) ==Parameters== ;''somSelf'' (WPDesktop *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPDesktop. ;''bAutoLockup'' (BOOL) - input :The value of the automatic lock option. :* '..." |
(No difference)
|
Latest revision as of 22:49, 24 November 2025
This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method sets the value of the automatic lockup option.
Syntax
wpSetAutoLockup(somSelf, bAutoLockup)
Parameters
- somSelf (WPDesktop *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPDesktop.
- bAutoLockup (BOOL) - input
- The value of the automatic lock option.
- TRUE Automatic lockup selected.
- FALSE Manual lockup selected.
Returns
- rc (none) - returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time in order to set the automatic lockup option for the current desktop.
Remarks
This method is not covered in the provided text.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPDesktop *somSelf; /* Pointer to the object on which the method is being invoked. */
BOOL bAutoLockup; /* The value of the automatic lock option. */
wpSetAutoLockup(somSelf, bAutoLockup);
/* Example code provided in the source: */
WPDesktop *Desktop;
Desktop = _wpclsQueryObjectFromPath("<WP_DESKTOP>");
_wpSetAutoLockup(Desktop,TRUE);