Jump to content

CM SETTEXTVISIBILITY

From EDM2

This message sets the visibility state of text for records in the container control.

Syntax

param1
BOOL bVisible; /* Text visibility state. */

param2
PVOID Reserved; /* Reserved value, 0. */

Parameters

bVisible (BOOL) - Input
Text visibility state:
TRUE: Text is visible.
FALSE: Text is not visible.
Reserved (PVOID) - Input
Reserved value, 0.

Returns

rc (BOOL) - returns
Success indicator:
TRUE: Text visibility state was successfully set.
FALSE: Error occurred.

Remarks

This message is used to set the visibility state of the text for records in the container control. If bVisible is TRUE, text will appear with the icons in icon view, name view, tree icon view, and tree name view. If bVisible is FALSE, no text appears.

This message does not apply to any variation of text view (icon text, tree text) or details view.

This message affects ALL records within the container. The visibility state of the text cannot be set for individual records.

Default Processing

The default window procedure does not expect to receive this message and, therefore, takes no action on it other than to return FALSE.