次の方法で共有


LVM_SORTGROUPS (Windows Embedded CE 6.0)

1/6/2010

This message uses an application-defined comparison function to sort groups by ID within a list-view control.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage( 
   (HWND) hWndControl,
   (UINT) LVM_SORTGROUPS, 
   (WPARAM) wParam,    // = (WPARAM) (PFNLVGROUPCOMPARE) pfnGroupCompare;
   (LPARAM) lParam     // = (LPARAM) (LPVOID) plv;
);

Parameters

  • pfnGroupCompare
    Pointer to an application-defined comparison function, LVGroupCompare.
  • plv
    Void pointer to the application-defined information.

Return Value

Returns 1 if successful, or 0 otherwise.

Requirements

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

See Also

Reference

List-View Controls Messages