Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
64f17bb3
Commit
64f17bb3
authored
Apr 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Use a smaller window for the menu test.
parent
fc01e11e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
menu.c
dlls/user/tests/menu.c
+6
-6
No files found.
dlls/user/tests/menu.c
View file @
64f17bb3
...
...
@@ -183,8 +183,8 @@ 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
,
NULL
,
NULL
,
NULL
,
NULL
);
WS_VISIBLE
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
hwnd
!=
NULL
,
"CreateWindowEx failed with error %ld
\n
"
,
GetLastError
());
hmenu
=
CreateMenu
();
ok
(
hmenu
!=
NULL
,
"CreateMenu failed with error %ld
\n
"
,
GetLastError
());
...
...
@@ -219,8 +219,8 @@ 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
,
NULL
,
NULL
,
NULL
,
NULL
);
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
;
SetWindowLongPtr
(
hwnd
,
GWLP_WNDPROC
,
(
LONG
)
menu_ownerdraw_wnd_proc
);
...
...
@@ -455,8 +455,8 @@ 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
,
NULL
,
NULL
,
NULL
,
NULL
);
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
);
arrowwidth
=
bm
.
bmWidth
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment