- Timestamp:
- Jan 19, 2012, 6:55:02 PM (14 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/combo.c
r21916 r21949 1886 1886 } 1887 1887 1888 static LRESULT COMBO_GetComboBoxInfo(const HEADCOMBO *lphc, COMBOBOXINFO *pcbi) 1889 { 1890 if (!pcbi || (pcbi->cbSize < sizeof(COMBOBOXINFO))) 1891 return FALSE; 1892 1893 pcbi->rcItem = lphc->textRect; 1894 pcbi->rcButton = lphc->buttonRect; 1895 pcbi->stateButton = 0; 1896 if (lphc->wState & CBF_BUTTONDOWN) 1897 pcbi->stateButton |= STATE_SYSTEM_PRESSED; 1898 if (IsRectEmpty(&lphc->buttonRect)) 1899 pcbi->stateButton |= STATE_SYSTEM_INVISIBLE; 1900 pcbi->hwndCombo = lphc->self; 1901 pcbi->hwndItem = lphc->hWndEdit; 1902 pcbi->hwndList = lphc->hWndLBox; 1903 return TRUE; 1904 } 1888 1905 1889 1906 /*********************************************************************** … … 2279 2296 case CB_GETEXTENDEDUI: 2280 2297 return (lphc->wState & CBF_EUI) ? TRUE : FALSE; 2281 2298 case CB_GETCOMBOBOXINFO: 2299 return COMBO_GetComboBoxInfo(lphc, (COMBOBOXINFO *)lParam); 2282 2300 default: 2283 2301 if (message >= WM_USER) … … 2310 2328 return ComboWndProc_common( hwnd, message, wParam, lParam, TRUE ); 2311 2329 } 2330 2331 /************************************************************************* 2332 * GetComboBoxInfo (USER32.@) 2333 */ 2334 BOOL WINAPI GetComboBoxInfo(HWND hwndCombo, /* [in] handle to combo box */ 2335 PCOMBOBOXINFO pcbi /* [in/out] combo box information */) 2336 { 2337 TRACE("(%p, %p)\n", hwndCombo, pcbi); 2338 return SendMessageW(hwndCombo, CB_GETCOMBOBOXINFO, 0, (LPARAM)pcbi); 2339 } -
trunk/src/user32/user32.def
r21916 r21949 697 697 PrivateExtractIconExA = "_PrivateExtractIconExA@20" @1018 698 698 699 700 GetComboBoxInfo = "_GetComboBoxInfo@8" @1019 701 699 702 ; 700 703 ; ENDOFEXPORTS -
trunk/src/user32/user32dbg.def
r21916 r21949 696 696 PrivateExtractIconExA = "_PrivateExtractIconExA@20" @1018 697 697 698 699 GetComboBoxInfo = "_GetComboBoxInfo@8" @1019 700 698 701 ; 699 702 ; ENDOFEXPORTS
Note:
See TracChangeset
for help on using the changeset viewer.