user: Use a smaller window for the menu test.
This commit is contained in:
parent
fc01e11eac
commit
64f17bb3ef
|
@ -183,7 +183,7 @@ static void test_menu_locked_by_window(void)
|
|||
BOOL ret;
|
||||
HMENU hmenu;
|
||||
HWND hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200,
|
||||
NULL, NULL, NULL, NULL);
|
||||
ok(hwnd != NULL, "CreateWindowEx failed with error %ld\n", GetLastError());
|
||||
hmenu = CreateMenu();
|
||||
|
@ -219,7 +219,7 @@ static void test_menu_ownerdraw(void)
|
|||
HMENU hmenu;
|
||||
LONG leftcol;
|
||||
HWND hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200,
|
||||
NULL, NULL, NULL, NULL);
|
||||
ok(hwnd != NULL, "CreateWindowEx failed with error %ld\n", GetLastError());
|
||||
if( !hwnd) return;
|
||||
|
@ -455,7 +455,7 @@ static void test_menu_bmp_and_string(void)
|
|||
|
||||
memset( bmfill, 0x55, sizeof( bmfill));
|
||||
hwnd = CreateWindowEx(0, MAKEINTATOM(atomMenuCheckClass), NULL,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200,
|
||||
NULL, NULL, NULL, NULL);
|
||||
hbm_arrow=LoadBitmap( 0, (CHAR*)OBM_MNARROW);
|
||||
GetObject( hbm_arrow, sizeof(bm), &bm);
|
||||
|
|
Loading…
Reference in New Issue