BOOL Arrange( UINT nCode );
Return Value
Nonzero if successful; otherwise zero.
Parameters
nCode
Specifies the alignment style for the items. It can be one of the following values:
Remarks
Call this function to reposition items in an icon view so that they align on a grid. The nCode parameter specifies the alignment style.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Align all of the list view control items along the top
// of the window (the list view control must be in icon or
// small icon mode).
pmyListCtrl->Arrange(LVA_ALIGNTOP);
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::EnsureVisible