ListView_ArrangeListView_Arrange*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_ApproximateViewRect
*Next Topic: ListView_CreateDragImage

ListView_Arrange


BOOL ListView_Arrange(
    HWND hwnd, 		
    UINT code		
);		

Arranges items in icon view. You can use this macro or send the LVM_ARRANGE message explicitly.

hwnd
Handle to the list view control.
code
Alignment. This can be one of the following values:
LVA_ALIGNLEFT Aligns items along the left edge of the window.
LVA_ALIGNTOP Aligns items along the top edge of the window.
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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.