Changeset 3850 for trunk/include/win/windowsx.h
- Timestamp:
- Jul 18, 2000, 8:30:47 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/windowsx.h
r3354 r3850 1 /* $Id: windowsx.h,v 1. 9 2000-04-09 11:09:11sandervl Exp $ */1 /* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */ 2 2 3 3 /* Copyright (C) 1999 Corel Corporation (Paul Quinn) */ … … 998 998 #define ListBox_SetItemData(hwndCtl, index, data) ((int)(DWORD)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data))) 999 999 1000 #define ListBox_SetSel(hwndCtl, fSelect, index) ((int)(DWORD)SendMessage((hwndCtl), LB_SETSEL, (WPARAM)(BOOL)(fSelect), (LPARAM)(index))) 1001 #define ListBox_SelItemRange(hwndCtl, fSelect, first, last) ((int)(DWORD)SendMessage((hwndCtl), LB_SELITEMRANGE, (WPARAM)(BOOL)(fSelect), MAKELPARAM((first), (last)))) 1002 1000 1003 #define ListBox_GetCurSel(hwndCtl) \ 1001 1004 ((int)(DWORD)SendMessage((hwndCtl), LB_GETCURSEL, 0L, 0L)) … … 1017 1020 #define ListBox_FindStringExact(hwndCtl, indexStart, lpszFind) \ 1018 1021 ((int)(DWORD)SendMessage((hwndCtl), LB_FINDSTRINGEXACT, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind))) 1022 1023 #define ListBox_GetSel(hwndCtl, index) ((int)(DWORD)SendMessage((hwndCtl), LB_GETSEL, (WPARAM)(int)(index), 0L)) 1024 #define ListBox_GetSelCount(hwndCtl) ((int)(DWORD)SendMessage((hwndCtl), LB_GETSELCOUNT, 0L, 0L)) 1019 1025 1020 1026 #define Edit_LineFromChar(hwndCtl, ich) \
Note:
See TracChangeset
for help on using the changeset viewer.