ReactOS
0.4.14-dev-608-gd495a4f
|
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | TEST_INPUT |
struct | menu_item_pair_s |
struct | menu_mouse_tests_s |
struct | menu_data |
Macros | |
#define | _WIN32_WINNT 0x0501 |
#define | OEMRESOURCE /* For OBM_MNARROW */ |
#define | MOD_SIZE 10 |
#define | MOD_NRMENUS 8 |
#define | TMII_INSMI(c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1, eret1) |
#define | TMII_GMII(c2, l2, d3, e3, f3, g3, h3, i3, j3, k3, l3, m3, expname, eret2, eret3) |
#define | TMII_DONE |
#define | TMII_MODM(flags, id, data) modify_menu( __LINE__, hmenu, ansi, flags, id, data ) |
#define | TMII_SMII(c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1) set_menu_item_info( __LINE__, hmenu, ansi, c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1 ) |
#define | OK 1 |
#define | ER 0 |
#define | create_menu(a) create_menu_from_data((a), ARRAY_SIZE(a)) |
#define | create_menuitem(a) create_menuitem_from_data((a), ARRAY_SIZE(a)) |
#define | compare_menu(h, a) compare_menu_data((h), (a), ARRAY_SIZE(a)) |
#define | NR_MENUS 100 |
Variables | |
static ATOM | atomMenuCheckClass |
static BOOL | bMenuVisible |
static INT | popmenu |
static BOOL | got_input |
static HMENU | hMenus [4] |
struct { | |
LPCSTR text | |
SIZE size | |
SIZE sc_size | |
} | MOD_txtsizes [] |
static unsigned int | MOD_maxid |
static RECT | MOD_rc [MOD_NRMENUS] |
static int | MOD_avec |
static int | MOD_hic |
static int | MOD_odheight |
static SIZE | MODsizes [MOD_NRMENUS] |
static BOOL | MOD_GotDrawItemMsg = FALSE |
static int | gflag_initmenupopup |
static int | gflag_entermenuloop |
static int | gflag_initmenu |
static int | gflag_enteridle |
static WPARAM | selectitem_wp |
static LPARAM | selectitem_lp |
static struct menu_mouse_tests_s | menu_tests [] |
static HMENU | g_hmenu |
static int | g_got_enteridle |
static HWND | g_hwndtosend |
#define compare_menu | ( | h, | |
a | |||
) | compare_menu_data((h), (a), ARRAY_SIZE(a)) |
#define create_menu | ( | a | ) | create_menu_from_data((a), ARRAY_SIZE(a)) |
#define create_menuitem | ( | a | ) | create_menuitem_from_data((a), ARRAY_SIZE(a)) |
#define NR_MENUS 100 |
#define OEMRESOURCE /* For OBM_MNARROW */ |
#define TMII_DONE |
#define TMII_SMII | ( | c1, | |
d1, | |||
e1, | |||
f1, | |||
g1, | |||
h1, | |||
i1, | |||
j1, | |||
k1, | |||
l1, | |||
m1 | |||
) | set_menu_item_info( __LINE__, hmenu, ansi, c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1 ) |
|
static |
Definition at line 1252 of file menu.c.
|
static |
Definition at line 2661 of file menu.c.
Referenced by test_AppendMenu(), and test_CheckMenuRadioItem().
Definition at line 2722 of file menu.c.
Referenced by test_CheckMenuRadioItem().
|
static |
Definition at line 2273 of file menu.c.
Referenced by test_menu_input_thread().
Definition at line 2930 of file menu.c.
Definition at line 2869 of file menu.c.
Definition at line 2891 of file menu.c.
Definition at line 3812 of file menu.c.
Referenced by test_AppendMenu().
|
static |
Definition at line 1222 of file menu.c.
|
static |
Definition at line 3461 of file menu.c.
Referenced by test_menu_cancelmode().
|
static |
Definition at line 42 of file menu.c.
Referenced by register_menu_check_class().
|
static |
Definition at line 3712 of file menu.c.
Referenced by test_emptypopup().
|
static |
Definition at line 107 of file menu.c.
Referenced by test_emptypopup(), test_menu_bmp_and_string(), test_menu_ownerdraw(), and test_menu_trackpopupmenu().
|
static |
Definition at line 3408 of file menu.c.
Referenced by test_menu_trackagain().
|
static |
Definition at line 1325 of file menu.c.
|
static |
Definition at line 3285 of file menu.c.
Referenced by test_menu_trackpopupmenu().
Definition at line 210 of file menu.c.
Referenced by START_TEST().
Definition at line 2263 of file menu.c.
Referenced by test_menu_input_thread().
|
static |
Definition at line 1335 of file menu.c.
|
static |
Definition at line 623 of file menu.c.
Referenced by test_subpopup_locked_by_menu().
Definition at line 3818 of file menu.c.
Referenced by START_TEST().
Definition at line 2734 of file menu.c.
Referenced by START_TEST().
Definition at line 3745 of file menu.c.
Referenced by START_TEST().
Definition at line 229 of file menu.c.
Referenced by START_TEST().
Definition at line 346 of file menu.c.
Referenced by START_TEST().
Definition at line 2975 of file menu.c.
Referenced by START_TEST().
|
static |
Definition at line 811 of file menu.c.
Referenced by test_menu_bmp_and_string().
Definition at line 1080 of file menu.c.