[This is preliminary documentation and subject to change.]
Enables the user to set the style in which the result view pane displays its items.
HRESULT SetViewMode(
long lViewMode // The view mode to be set
);
Value | Meaning |
---|---|
LVS_ICON | Items are displayed as title strings under their large (32x32) icon representations. Subitems and headers are not displayed. |
LVS_REPORT | Items are displayed as title strings to the right of their small (16x16) icon representations. Items are tabulated under the header in the zero position of the zero-based index on the left side of the result view pane. Subsequent headers are produced from left to right and corresponding subitems are placed beneath each. To enter the report mode, you must have already called IConsole::SetHeader. |
LVS_SMALLICON | Items are displayed as title strings under their small (16x16) icon representations. Subitems and headers are not displayed. |
LVS_LIST | Items are displayed as title strings to the right of their small (16x16) icon representations. Subitems and headers are not displayed. |
This parameter must not be NULL.
This method provides the same functionality for both result view panes and virtual lists.
IResultData, IResultData::GetViewMode