Muokkaa

Jaa


LVM_ARRANGE message

Arranges items in icon view. You can send this message explicitly or by using the ListView_Arrange macro.

Parameters

wParam

One of the following values that specifies alignment:

Value Meaning
LVA_ALIGNLEFT
Not implemented. Apply the LVS_ALIGNLEFT style instead.
LVA_ALIGNTOP
Not implemented. Apply the LVS_ALIGNTOP style instead.
LVA_DEFAULT
Aligns items according to the list-view control's current alignment styles (the default value).
LVA_SNAPTOGRID
Snaps all icons to the nearest grid position.

lParam

Must be zero.

Return value

Returns TRUE if successful; otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h