wpIsDeleteable
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method determines whether the object can be deleted or not.
Syntax
_wpIsDeleteable(somSelf)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
Returns
- flDelete (BOOL) - returns
- Delete flag.
- TRUE The object can be deleted by the shredder.
- FALSE The object cannot be deleted by the shredder.
How to Override
This method is generally not overridden.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL flDelete; /* Delete flag. */ flDelete = _wpIsDeleteable(somSelf);