ListView_SetView

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ListView Control > Listview Control Commands > ListView: General functions >

ListView_SetView

 

Description

 

Sets the view of a list-view control.

 

Syntax

 

n = ListView_SetView(hWnd, ctrlID, lView)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

lView

Number

No

A DWORD that specifies the view. Use one of the following equates:

%LV_VIEW_DETAILS

%LV_VIEW_REPORT

%LV_VIEW_ICON

%LV_VIEW_LIST

%LV_VIEW_SMALLICON

%LV_VIEW_TILE

 

Remarks

 

Restrictions

 

Minimum operating system: Windows XP

 

See also

 

Examples