Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > LISTVIEW Control > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |