Jump to content

wpQueryFldrDetailsClass

From EDM2

This instance method is called to determine which class of details are set for a folder.

Syntax

_wpQueryFldrDetailsClass(somSelf)

Parameters

somSelf (WPFolder *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFolder.

Returns

rc (M_WPObject *) - returns
Success indicator.
  • NULL Error occurred.
  • Other Pointer to the class object for which details are to be displayed.

How to Override

This method is generally not overridden.

Usage

This method can be called at any time in order to determine the current class of details to be displayed.

Remarks

Because folders can contain objects of different classes which can have different details, it is often necessary for the user to specify which class of details is to be displayed. The value set by this method is not used until a details view of the folder is opened. The wpSetFldrDetailsClass method can be called to set the current class of details to be displayed.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
M_WPObject *rc; /* Success indicator. */

rc = _wpQueryFldrDetailsClass(somSelf);

Related Methods