This instance method is called to allow the folder to query its current view attributes for the WC_CONTAINER window used in each view window.
#define INCL_WINWORKPLACE #include <os2.h> WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulView; /* Flag indicating the view to query. */ ULONG ulViewAttributes; /* Flag containing current folder view attribute. */ ulViewAttributes = _wpQueryFldrAttr(somSelf, ulView);