Partager via


LVM_MOVEITEMTOGROUP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message moves an item specified by an index into a group.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage(
   (HWND) hWndControl,
   (UINT) LVM_MOVEITEMTOGROUP,
   (WPARAM) wParam,     // = (WPARAM) (int) idItemFrom;
   (LPARAM) lParam      // = (LPARAM) (int) idGroupTo;
);

Parameters

  • idItemFrom
    Value of type int that contains the index of the item to move.
  • idGroupTo
    Value of type int that specifies the identifier (ID) of the group where the item will move.

Return Value

Returns TRUE if the operation is successful and FALSE otherwise.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

List-View Controls Messages