wpQueryFldrFlags
Appearance
This instance method is called to allow the folder to query its current flags.
Syntax
_wpQueryFldrFlags(somSelf)
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
Returns
- ulReturn (ULONG) - returns
- Flag indicating the current folder state.
- **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 workarea property.
- **FOI_CHANGEFONT**
- **FOI_WAMINIMIZE**
- **FOI_WASTARTONRESTORE**
- **FOI_NOREFRESHVIEWS**
- **FOI_ASYNCREFRESHONOPEN**
- **FOI_TREEPOPULATE**
- **FOI_POPULATEINPROGRESS**
- **FOI_REFRESHINPROGRESS**
- **FOI_FIRSTPOPULATE**
- **FOI_WAMCRINPROGRESS**
- **FOI_CNRBKGNDOLDFORMAT**
- **FOI_CHANGEICONBGNDCOLOR**
- **FOI_CHANGEICONTEXTCOLOR**
- **FOI_DELETEINPROGRESS**
- **FOI_CHANGESHADOWTEXTCOLOR**
How to Override
This method is generally not overridden.
Usage
This method is called at any time in order to determine a folder's flag state.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulReturn; /* Flag indicating the current folder state. */ ulReturn = _wpQueryFldrFlags(somSelf);