Changeset 3182 for trunk/src/comctl32/comboex.cpp
- Timestamp:
- Mar 21, 2000, 6:30:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/comboex.cpp
r2895 r3182 1 /* $Id: comboex.cpp,v 1. 2 2000-02-25 17:00:15cbratschi Exp $ */1 /* $Id: comboex.cpp,v 1.3 2000-03-21 17:30:40 cbratschi Exp $ */ 2 2 /* 3 3 * ComboBoxEx control … … 39 39 COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwnd); 40 40 41 // TRACE (comboex, "\n");42 43 41 return (LRESULT)infoPtr->hwndCombo; 44 42 } … … 53 51 return 0; 54 52 55 // TRACE (comboex, "-- 0x%x\n", GetDlgItem (infoPtr->hwndCombo, ID_CB_EDIT));56 57 53 return (LRESULT)GetDlgItem (infoPtr->hwndCombo, ID_CB_EDIT); 58 54 } … … 73 69 COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwnd); 74 70 75 // TRACE (comboex, "(0x%08x 0x%08lx)\n", wParam, lParam);76 77 71 return (LRESULT)infoPtr->himl; 78 72 } … … 81 75 82 76 83 static LRESULT 84 COMBOEX_InsertItemA (HWND hwnd, WPARAM wParam, LPARAM lParam) 77 static LRESULT COMBOEX_InsertItem(HWND hwnd,WPARAM wParam,LPARAM lParam,BOOL unicode) 85 78 { 86 79 /* COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwnd); */ … … 98 91 COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwnd); 99 92 DWORD dwTemp; 100 101 // TRACE (comboex, "(0x%08x 0x%08lx)\n", wParam, lParam);102 93 103 94 dwTemp = infoPtr->dwExtStyle; … … 121 112 HIMAGELIST himlTemp; 122 113 123 // TRACE (comboex, "(0x%08x 0x%08lx)\n", wParam, lParam);124 125 114 himlTemp = infoPtr->himl; 126 115 infoPtr->himl = (HIMAGELIST)lParam; … … 130 119 131 120 132 static LRESULT 133 COMBOEX_SetItemA (HWND hwnd, WPARAM wParam, LPARAM lParam) 121 static LRESULT COMBOEX_SetItem(HWND hwnd,WPARAM wParam,LPARAM lParam,BOOL unicode) 134 122 { 135 123 /* COMBOEX_INFO *infoPtr = COMBOEX_GetInfoPtr (hwnd); */ … … 139 127 return TRUE; 140 128 } 141 142 143 /* << COMBOEX_SetItem32W >> */144 129 145 130 … … 242 227 /* case CBEM_GETITEM32A: 243 228 case CBEM_GETITEM32W: 244 case CBEM_GETUNICODEFORMAT:245 229 case CBEM_HASEDITCHANGED: 246 230 */ 247 231 248 232 case CBEM_INSERTITEMA: 249 return COMBOEX_InsertItemA (hwnd, wParam, lParam); 250 251 /* case CBEM_INSERTITEM32W: */ 233 return COMBOEX_InsertItem(hwnd,wParam,lParam,FALSE); 234 235 case CBEM_INSERTITEMW: 236 return COMBOEX_InsertItem(hwnd,wParam,lParam,TRUE); 252 237 253 238 case CBEM_SETEXTENDEDSTYLE: … … 258 243 259 244 case CBEM_SETITEMA: 260 return COMBOEX_SetItemA (hwnd, wParam, lParam); 261 262 /* case CBEM_SETITEM32W: 263 case CBEM_SETUNICODEFORMAT: 264 */ 245 return COMBOEX_SetItem(hwnd,wParam,lParam,FALSE); 246 247 case CBEM_SETITEMW: 248 return COMBOEX_SetItem(hwnd,wParam,lParam,TRUE); 265 249 266 250 case CB_DELETESTRING:
Note:
See TracChangeset
for help on using the changeset viewer.