次の方法で共有


LVM_MOVEITEMTOGROUP (Compact 2013)

3/28/2014

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

See Also

Reference

List-View Controls Messages