ReactOS 0.4.16-dev-297-gc569aee
|
#include <limits.h>
#include <stdio.h>
#include <windows.h>
#include <commctrl.h>
#include "wine/test.h"
#include "v6util.h"
#include "msg.h"
Go to the source code of this file.
Macros | |
#define | EDITBOX_SEQ_INDEX 0 |
#define | NUM_MSG_SEQUENCES 1 |
#define | EDITBOX_ID 0 |
#define | COMBO_ID 1995 |
#define | expect(expected, got) ok(got == expected, "Expected %d, got %d\n", expected, got) |
#define | expect_rect(r, _left, _top, _right, _bottom) |
#define | MAX_CHARS 100 |
#define | X(f) p##f = (void*)GetProcAddress(hComCtl32, #f); |
#define | X2(f, ord) p##f = (void*)GetProcAddress(hComCtl32, (const char *)ord); |
Variables | |
static struct msg_sequence * | sequences [NUM_MSG_SEQUENCES] |
static HWND | hComboExParentWnd |
static HWND | hMainWnd |
static HINSTANCE | hMainHinst |
static const char | ComboExTestClass [] = "ComboExTestClass" |
static HBRUSH | brush_red |
static | SUBCLASSPROC |
static | UINT_PTR |
static | DWORD_PTR |
static char * | textBuffer = NULL |
static BOOL | received_end_edit = FALSE |
static const struct message | test_setitem_edit_seq [] |
static UINT | msg |
static UINT WPARAM | wparam |
static UINT WPARAM LPARAM | lparam |
static LPCSTR | expected_edit_text |
static LPCSTR | expected_list_text |
static BOOL | selchange_fired |
static HWND | lparam_for_WM_CTLCOLOR |
static WNDPROC | edit_window_proc |
static long | setsel_start = 1 |
static long | setsel_end = 1 |
static HWND | hCBN_SetFocus |
static HWND | hCBN_KillFocus |
Definition at line 76 of file combo.c.
Referenced by test_comboex(), and test_comboex_CB_GETLBTEXT().
Definition at line 530 of file combo.c.
Referenced by START_TEST().
|
static |
Definition at line 1035 of file combo.c.
Referenced by test_combo_editselection_focus(), and test_editselection_focus().
Definition at line 449 of file combo.c.
Referenced by ComboExTestWndProc().
|
static |
Definition at line 473 of file combo.c.
Referenced by init().
Definition at line 616 of file combo.c.
Referenced by test_combo_changesize(), test_combo_ctlcolor(), test_combo_editselection(), test_combo_editselection_focus(), test_combo_listbox_styles(), test_combo_setfont(), test_combo_setitemheight(), test_combo_WS_VSCROLL(), and test_selection().
Definition at line 71 of file combo.c.
Referenced by test_comboex(), test_comboex_CB_GETLBTEXT(), test_comboex_get_set_item(), test_comboex_subclass(), and test_comboex_WM_WINDOWPOSCHANGING().
|
static |
Definition at line 109 of file combo.c.
Referenced by subclass_editbox().
|
static |
Definition at line 62 of file combo.c.
Referenced by test_combo_ctlcolor(), test_combo_editselection(), test_combo_editselection_focus(), test_combo_listbox_styles(), test_combo_WS_VSCROLL(), and test_comboex_WM_LBUTTONDOWN().
Definition at line 621 of file combo.c.
Referenced by test_combo_setfont(), and test_combo_setitemheight().
|
static |
Definition at line 100 of file combo.c.
Referenced by test_comboex().
Definition at line 500 of file combo.c.
Referenced by START_TEST().
Definition at line 489 of file combo.c.
Referenced by START_TEST().
|
static |
Definition at line 748 of file combo.c.
Referenced by test_combo_ctlcolor(), and test_selection().
Definition at line 86 of file combo.c.
Referenced by test_comboex().
START_TEST | ( | combo | ) |
Definition at line 1372 of file combo.c.
Definition at line 140 of file combo.c.
Referenced by test_comboex_get_set_item().
Definition at line 851 of file combo.c.
Referenced by START_TEST().
Definition at line 862 of file combo.c.
Referenced by START_TEST().
Definition at line 1298 of file combo.c.
Referenced by START_TEST().
Definition at line 1195 of file combo.c.
Referenced by START_TEST().
Definition at line 940 of file combo.c.
Referenced by START_TEST().
Definition at line 1067 of file combo.c.
Referenced by START_TEST().
Definition at line 1120 of file combo.c.
Referenced by START_TEST().
Definition at line 675 of file combo.c.
Referenced by START_TEST().
Definition at line 636 of file combo.c.
Referenced by START_TEST().
Definition at line 1164 of file combo.c.
Referenced by START_TEST().
Definition at line 153 of file combo.c.
Referenced by START_TEST().
Definition at line 367 of file combo.c.
Referenced by START_TEST().
Definition at line 574 of file combo.c.
Referenced by START_TEST().
Definition at line 547 of file combo.c.
Referenced by START_TEST().
Definition at line 256 of file combo.c.
Referenced by START_TEST().
Definition at line 402 of file combo.c.
Referenced by START_TEST().
|
static |
Definition at line 797 of file combo.c.
|
static |
Definition at line 1045 of file combo.c.
Referenced by test_combo_editselection_focus(), and test_editselection_focus().
|
static |
Definition at line 53 of file combo.c.
Referenced by cleanup(), init(), parent_wnd_proc(), and test_combo_ctlcolor().
|
static |
Definition at line 1031 of file combo.c.
Referenced by combobox_subclass_proc(), test_combo_editselection_focus(), and test_editselection_focus().
|
static |
Definition at line 743 of file combo.c.
Referenced by parent_wnd_proc(), and test_selection().
|
static |
Definition at line 744 of file combo.c.
Referenced by parent_wnd_proc(), and test_selection().
|
static |
Definition at line 1033 of file combo.c.
Referenced by test_combo_editselection_focus(), test_editselection_focus(), and test_window_proc().
|
static |
Definition at line 1033 of file combo.c.
Referenced by test_combo_editselection_focus(), test_editselection_focus(), and test_window_proc().
|
static |
Definition at line 49 of file combo.c.
Referenced by cleanup(), createComboEx(), init(), and test_comboex_WM_LBUTTONDOWN().
|
static |
Definition at line 50 of file combo.c.
Referenced by createComboEx(), init(), and test_comboex_WM_LBUTTONDOWN().
|
static |
Definition at line 49 of file combo.c.
Referenced by build_combo(), cleanup(), create_combobox(), init(), START_TEST(), test_combo_ctlcolor(), test_combo_dropdown_size(), test_combo_editselection_focus(), test_combo_setfont(), test_combo_setitemheight(), test_editselection_focus(), test_listbox_size(), test_selection(), test_setfont(), test_setitemheight(), and test_WM_LBUTTONDOWN().
Definition at line 742 of file combo.c.
Referenced by editbox_subclass_proc(), and parent_wnd_proc().
|
static |
Definition at line 746 of file combo.c.
Referenced by parent_wnd_proc(), and test_combo_ctlcolor().
Definition at line 60 of file combo.c.
Referenced by ComboExTestOnNotify(), and test_comboex_WM_LBUTTONDOWN().
|
static |
Definition at line 745 of file combo.c.
Referenced by parent_wnd_proc(), and test_selection().
|
static |
Definition at line 47 of file combo.c.
Referenced by editbox_subclass_proc(), START_TEST(), and test_comboex_get_set_item().
|
static |
Definition at line 1032 of file combo.c.
Referenced by combobox_subclass_proc(), test_combo_editselection_focus(), and test_editselection_focus().
|
static |
Definition at line 1032 of file combo.c.
Referenced by combobox_subclass_proc(), test_combo_editselection_focus(), and test_editselection_focus().
Definition at line 567 of file combo.c.
Referenced by test_comboex_get_set_item().
Definition at line 58 of file combo.c.
Referenced by CDockSite::Exec(), getItem(), CDockSite::Initialize(), and test_comboex().
Definition at line 742 of file combo.c.
Referenced by editbox_subclass_proc(), and parent_wnd_proc().