Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the selection mark from a list-view control. You can use this macro or explicitly send the LVM_GETSELECTIONMARK message.
Syntax
INT ListView_GetSelectionMark(
HWND hwnd
);
Parameters
hwnd
Type: HWND
A handle to a list-view control.
Return value
Type: INT
Returns the zero-based selection mark, or -1 if there is no selection mark.
Remarks
The selection mark is the item index from which a multiple selection starts.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |