다중 선택 목록 상자에서 지정된 인덱스에서 항목으로 포커스 사각형을 설정합니다. 항목이 표시되지 않으면 보기로 스크롤됩니다.
Parameters
-
wParam
-
포커스 사각형을 받을 목록 상자 항목의 인덱스(0부터 시작하는 인덱스)를 지정합니다.
Windows 95/Windows 98/Windows Millennium Edition (Windows Me) : The wParam parameter is limited to 16-bit values. 즉, 목록 상자에는 32,767개 이상의 항목이 포함될 수 없습니다. 항목 수가 제한되어 있지만 목록 상자에 있는 항목의 총 크기(바이트)는 사용 가능한 메모리에 의해서만 제한됩니다.
-
lParam
-
If this value is FALSE, the item is scrolled until it is fully visible; if it is TRUE, the item is scrolled until it is at least partially visible.
Return value
오류가 발생하면 반환 값은 LB_ERR(-1)입니다. 그렇지 않으면 LB_OKAY(0)가 반환됩니다.
Remarks
If this message is sent to a single-selection list box that does not contain a selected item, the caret index is set to the item specified by the wParam parameter. 단일 선택 목록 상자에 선택한 항목이 포함되어 있으면 목록 상자는 LB_ERR 반환합니다.
Requirements
| Requirement | Value |
|---|---|
| 지원되는 최소 클라이언트 |
Windows Vista [데스크톱 앱만 해당] |
| 지원되는 최소 서버 |
Windows Server 2003[데스크톱 앱만 해당] |
| Header |
|