Partager via


CListCtrl::SetView

Sets the view of the list view control.

DWORD SetView( 
   int iView  
);

Parameters

  • iView
    The view to be selected.

Return Value

Returns 1 if successful, or -1 otherwise. For example, -1 is returned if the view is invalid.

Remarks

This member function emulates the functionality of the LVM_SETVIEW message, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart