Changeset 3354 for trunk/include/win/windowsx.h
- Timestamp:
- Apr 9, 2000, 1:09:12 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/windowsx.h
r2694 r3354 1 /* $Id: windowsx.h,v 1. 8 2000-02-09 13:40:23sandervl Exp $ */1 /* $Id: windowsx.h,v 1.9 2000-04-09 11:09:11 sandervl Exp $ */ 2 2 3 3 /* Copyright (C) 1999 Corel Corporation (Paul Quinn) */ … … 951 951 ((int)(DWORD)SendMessage((hwndCtl), CB_SETCURSEL, (WPARAM)(int)(index), 0L)) 952 952 953 #define ComboBox_SelectString(hwndCtl, indexStart, lpszSelect) ((int)(DWORD)SendMessage((hwndCtl), CB_SELECTSTRING, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszSelect))) 954 953 955 #define ComboBox_GetLBTextLen(hwndCtl, index) \ 954 956 ((int)(DWORD)SendMessage((hwndCtl), CB_GETLBTEXTLEN, (WPARAM)(int)(index), 0L)) … … 994 996 ((LRESULT)(DWORD)SendMessage((hwndCtl), LB_GETITEMDATA, (WPARAM)(int)(index), 0L)) 995 997 998 #define ListBox_SetItemData(hwndCtl, index, data) ((int)(DWORD)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data))) 999 996 1000 #define ListBox_GetCurSel(hwndCtl) \ 997 1001 ((int)(DWORD)SendMessage((hwndCtl), LB_GETCURSEL, 0L, 0L)) … … 1059 1063 #define Edit_GetTextLength(hwndCtl) GetWindowTextLength(hwndCtl) 1060 1064 #define Edit_SetText(hwndCtl, lpsz) SetWindowText((hwndCtl), (lpsz)) 1065 #define Edit_LimitText(hwndCtl, cchMax) ((void)SendMessage((hwndCtl), EM_LIMITTEXT, (WPARAM)(cchMax), 0L)) 1061 1066 1062 1067 #define Edit_Enable(hwndCtl, fEnable) EnableWindow((hwndCtl), (fEnable))
Note:
See TracChangeset
for help on using the changeset viewer.