Jump to content

wpIsSortAttribAvailable

From EDM2

This method is specific to Version 3, or higher, of the OS/2 operating system.

This instance method determines whether sort attributes are available for the current folder object.

Syntax

_wpIsSortAttribAvailable(somSelf, index)

Parameters

somSelf (WPFolder *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFolder.
index (ULONG) - input
Column index for the current details view.

Returns

Available (BOOL) - returns
Flag indicating whether sort attributes are visible.
  • TRUE Sort attributes are visible.
  • FALSE Sort attributes are hidden.

How to Override

This method is generally not overridden.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG index; /* Column index for the current details view. */
BOOL Available; /* Flag indicating whether sort attributes are visible. */

Available = _wpIsSortAttribAvailable(somSelf,
           index);

Related Methods