1815{
1817#ifdef __REACTOS__
1819
1821 if (pWnd)
1822 {
1824 {
1826 }
1827 else
1828 {
1830 {
1831 ERR(
"Wrong window class for ComboBox! fnId 0x%x\n",pWnd->
fnid);
1832 return 0;
1833 }
1834 }
1835 }
1836#endif
1837
1839
1840#ifndef __REACTOS__
1842#endif
1843
1846 {
1848 {
1851 }
1854#ifdef __REACTOS__
1856#endif
1857 break;
1858
1860 {
1863 if(unicode)
1864 {
1867 }
1868 else
1869 {
1872 }
1874 }
1876
1878
1881
1882 return 1;
1883
1885 {
1888 {
1890
1893 }
1895 }
1907 {
1909
1911 {
1914 }
1915 }
1916 else
1920 {
1922 if (!hwndFocus || (hwndFocus != lphc->
hWndEdit && hwndFocus != lphc->
hWndLBox))
1925 }
1935 {
1937 if (
j == -1)
return 0;
1940 }
1942 {
1947 lphc->
wState &= ~CBF_NOEDITNOTIFY;
1949 }
1950 else
1956 {
1959 }
1961
1971
1972
1977 lphc->
wState &= ~CBF_NOREDRAW;
1978 else
1980
1984 return 0;
1986#ifdef __REACTOS__
1988#else
1990#endif
1992#ifdef __REACTOS__
1993 {
1994#endif
1996 return 0;
1997#ifdef __REACTOS__
1998 }
1999 break;
2000#endif
2001
2005 {
2008 }
2010 {
2013 }
2014
2017 {
2019
2020#ifdef __REACTOS__
2023#endif
2026 else
2028
2031 }
2043
2048
2052
2061#ifdef __REACTOS__
2063#endif
2066 break;
2067
2068
2070 if (unicode)
2071 {
2077 }
2078 else
2079
2080 {
2081 char *
string =
NULL;
2084 {
2087 }
2088
2090 {
2093 }
2094
2098 }
2100 if (unicode)
2101 {
2107 }
2108 else
2109 {
2115 }
2136 {
2139 }
2140 else
2158
2163
2164
2166
2167
2180
2183 {
2185 {
2188 }
2191 }
2201
2202
2204 lphc->
wState &= ~CBF_SELCHANGE;
2217
2230 else lphc->
wState &= ~CBF_EUI;
2240
2241#ifdef __REACTOS__
2242 case WM_UPDATEUISTATE:
2243 if (unicode)
2245 else
2247
2248 if (COMBO_update_uistate(lphc))
2249 {
2250
2253 }
2254 break;
2255
2258 {
2263 }
2265#endif
2266
2267 default:
2270 break;
2271 }
2274}
struct HEADCOMBO * LPHEADCOMBO
static LRESULT COMBO_Paint(HEADCOMBO *lphc, HDC hdc)
static LRESULT COMBO_NCDestroy(HEADCOMBO *lphc)
static LRESULT COMBO_NCCreate(HWND hwnd, LONG style)
static void COMBO_Size(HEADCOMBO *lphc)
static void COMBO_LButtonDown(LPHEADCOMBO lphc, LPARAM lParam)
static void COMBO_MouseMove(LPHEADCOMBO lphc, WPARAM wParam, LPARAM lParam)
static LRESULT COMBO_GetComboBoxInfo(const HEADCOMBO *lphc, COMBOBOXINFO *pcbi)
static LRESULT COMBO_Command(LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd)
static void COMBO_LButtonUp(LPHEADCOMBO lphc)
static LRESULT COMBO_ItemOp(LPHEADCOMBO lphc, UINT msg, LPARAM lParam)
static LRESULT COMBO_SelectString(LPHEADCOMBO lphc, INT start, LPARAM pText)
BOOL COMBO_FlipListbox(LPHEADCOMBO lphc, BOOL ok, BOOL bRedrawButton)
static LRESULT COMBO_SetItemHeight(LPHEADCOMBO lphc, INT index, INT height)
static void COMBO_Font(LPHEADCOMBO lphc, HFONT hFont, BOOL bRedraw)
static void CBGetDroppedControlRect(LPHEADCOMBO lphc, LPRECT lpRect)
static LRESULT COMBO_Create(HWND hwnd, LPHEADCOMBO lphc, HWND hwndParent, LONG style)
#define ValidateHwnd(hwnd)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
#define WNDS2_WIN40COMPAT
BOOL NTAPI NtUserInvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
BOOL NTAPI NtUserSetWindowFNID(HWND hWnd, WORD fnID)
#define WM_CBLOSTTEXTFOCUS
const char * SPY_GetMsgName(UINT msg, HWND hWnd)
#define WIN_GetFullHandle(h)
static LRESULT COMBO_GetTextW(LPHEADCOMBO lphc, INT count, LPWSTR buf)
static char * strdupA(LPCSTR str)
static LRESULT COMBO_GetTextA(LPHEADCOMBO lphc, INT count, LPSTR buf)
#define CB_GETHORIZONTALEXTENT
#define CB_SETDROPPEDWIDTH
#define LB_FINDSTRINGEXACT
#define LB_SETHORIZONTALEXTENT
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define CB_SETHORIZONTALEXTENT
struct tagCREATESTRUCTA * LPCREATESTRUCTA
LPWSTR WINAPI CharLowerW(_Inout_ LPWSTR)
LPSTR WINAPI CharLowerA(_Inout_ LPSTR)
#define WM_CTLCOLORSCROLLBAR
LPSTR WINAPI CharUpperA(_Inout_ LPSTR)
#define CB_FINDSTRINGEXACT
#define CB_GETDROPPEDWIDTH
#define CB_GETCOMBOBOXINFO
#define WM_CTLCOLORMSGBOX
#define CB_GETDROPPEDCONTROLRECT
HWND WINAPI SetFocus(_In_opt_ HWND)
#define LB_GETHORIZONTALEXTENT
#define CB_GETDROPPEDSTATE
#define WM_CTLCOLORLISTBOX
struct tagCREATESTRUCTW * LPCREATESTRUCTW
LPWSTR WINAPI CharUpperW(_Inout_ LPWSTR)