WpSetCorrectDiskIcon: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetCorrectDiskIcon}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method sets the correct icon for a given disk object. ==Syntax== _wpSetCorrectDiskIcon(somSelf) ==Parameters== ;''somSelf'' (WPDisk *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPDisk. ==Returns== ;''rc'' (BOOL) - returns :Success indicator. :* '''TRUE''' Successful com..." |
(No difference)
|
Latest revision as of 04:07, 25 November 2025
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the correct icon for a given disk object.
Syntax
_wpSetCorrectDiskIcon(somSelf)
Parameters
- somSelf (WPDisk *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPDisk.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method can be overridden to set a different icon for the disk type.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPDisk *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL rc; /* Success indicator. */ rc = _wpSetCorrectDiskIcon(somSelf);