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
1993 return 0;
1994
1998 {
2001 }
2003 {
2006 }
2007
2010 {
2012
2015 else
2017
2020 }
2032
2037
2041
2050#ifdef __REACTOS__
2052#endif
2055 break;
2056
2057
2059 if (unicode)
2060 {
2066 }
2067 else
2068
2069 {
2070 char *
string =
NULL;
2073 {
2076 }
2077
2079 {
2082 }
2083
2087 }
2089 if (unicode)
2090 {
2096 }
2097 else
2098 {
2104 }
2125 {
2128 }
2129 else
2147
2152
2153
2155
2156
2169
2172 {
2174 {
2177 }
2180 }
2190
2191
2193 lphc->
wState &= ~CBF_SELCHANGE;
2206
2219 else lphc->
wState &= ~CBF_EUI;
2229
2230#ifdef __REACTOS__
2231 case WM_UPDATEUISTATE:
2232 if (unicode)
2234 else
2236
2237 if (COMBO_update_uistate(lphc))
2238 {
2239
2242 }
2243 break;
2244
2247 {
2252 }
2254#endif
2255
2256 default:
2259 break;
2260 }
2263}
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_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 void COMBO_Size(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)