LVM_GETCOLUMNORDERARRAY Message

Retrieves the current left-to-right order of columns in a list-view control. You can send this message explicitly or use the ListView_GetColumnOrderArray macro.

Syntax

 

To send this message, call the SendMessage function as follows.
  
  
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) LVM_GETCOLUMNORDERARRAY,     // message ID
   (WPARAM) wParam,     // = (WPARAM) (int) iCount;
   (LPARAM) lParam     // = (LPARAM) (LPINT) lpiArray;
);  

Parameters

iCount
Number of columns in the list-view control.
lpiArray
Pointer to an array of integers that receives the index values of the columns in the list-view control. The array must be large enough to hold iCount elements.

Return Value

If successful, returns nonzero, and the buffer at lpiArray receives the column index of each column in the control in the order they appear from left to right. Otherwise, the return value is zero.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值