Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Sets the view of a list-view control.
Parameters
-
wParam
- DWORD that specifies the view.
-
lParam
- Must be zero.
Return value
Returns 1 if successful, or -1 otherwise. For example, -1 is returned if the view is invalid.
Remarks
Following are the values for views.
- LV_VIEW_DETAILS
- LV_VIEW_ICON
- LV_VIEW_LIST
- LV_VIEW_SMALLICON
- LV_VIEW_TILE
Note
To use this message, you must provide a manifest specifying Comctl32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| Header |
|