wpSetDetailsColumnVisibility
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method either shows or hides the details column of a given folder.
Syntax
_wpSetDetailsColumnVisibility(somSelf, index, Visible)
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 current details view.
- Visible (BOOL) - input
- Flag indicating whether to show or hide the details column.
- **TRUE** Show the details column.
- **FALSE** Hide the details column.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
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 current details view. */
BOOL Visible; /* Flag indicating whether to show or hide the details column. */
BOOL rc; /* Success indicator. */
rc = _wpSetDetailsColumnVisibility(somSelf,
index, Visible);