wpSetFldrFlags
Appearance
This instance method is called to allow the folder to change its current flags.
Syntax
_wpSetFldrFlags(somSelf, ulFlags)
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
- ulFlags (ULONG) - input
- Folder flags to be set.
- **FOI_POPULATEDWITHALL** This flag is set if the folder was populated with all its contents.
- **FOI_POPULATEDWITHFOLDERS** This flag is set if the folder was populated only with folders that it contains.
- **FOI_WORKAREA** This flag is set if the user sets the work-area property.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time in order to set a folder's flag.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulFlags; /* Folder flags to be set. */ BOOL rc; /* Success indicator. */ rc = _wpSetFldrFlags(somSelf, ulFlags);