Thomas Kho
b833860579
user: Fix behavior when selecting disabled menu items.
2006-05-08 15:15:19 +02:00
Thomas Kho
76104e1ccc
user: Allow menu WndProc to recognize VK_[LR]MENU.
2006-05-08 15:12:33 +02:00
Thomas Kho
bde9ca2b63
user: Extend menu conformance test.
2006-05-08 15:10:41 +02:00
Michael Kaufmann
01bf37d810
user: Find popup menus by ID.
...
- Find menus by ID: Proper fallback to popup menus.
- Use the menu ID, not the handle for the fallback.
- Save the fallback menu's position.
2006-04-19 12:56:27 +02:00
Alexandre Julliard
64f17bb3ef
user: Use a smaller window for the menu test.
2006-04-10 20:21:19 +02:00
Rein Klazes
cc5b5cea96
user32: Fix handling of '\b' right flush character in menus.
...
- do not add extra space; modify the tests to confirm this;
- right flush to the menu tab stop, not to the menu border;
- small fixes to the menu tab stop calculation.
2006-03-01 20:40:17 +01:00
Francois Gouget
4aa6418d51
Assorted spelling fixes.
2006-02-24 21:10:03 +01:00
Rein Klazes
1d0ec411d4
user: Add conformance tests for menu item drawing.
2006-02-20 12:00:39 +01:00
Francois Gouget
379b62c04e
Assorted spelling fixes.
2006-02-06 20:58:36 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Dmitry Timoshkov
9b1ea63bf9
user32: Make GetMenuItemInfo tests pass under Wine.
...
- Change menu item search algorithm to recurse into a submenu first.
- Fallback to a found submenu if nothing else was found.
2006-01-23 11:59:21 +01:00
Jason Edmeades
14889a618d
user: Tests for when the menu is incorrect because of duplication of a
...
menu id and an hMenu.
2006-01-19 11:56:20 +01:00
Rein Klazes
079912c679
user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
...
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Rein Klazes
b34868dffa
user32: Separate menu bitmaps and strings.
...
Store bitmaps and bitmaps always in separate fields in the internal
menu structure. Get rid of a lot of assumptions in the code that the
menu can have strings only when it is not some other type and that
bitmaps come in two flavors.
Add a lot of conformance tests, including some submitted by Jason
Edmeades.
2006-01-03 13:23:28 +01:00
Dmitry Timoshkov
b9212e2aba
set_menu_item_text handles converting an empty menu item to a
...
separator on its own, give it a chance to do its work in the
MIIM_FTYPE case.
2005-11-28 11:53:20 +01:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Mike McCormack
d2232bf88c
Add a currently failing test case for menus.
2005-10-27 10:19:01 +00:00
Alexandre Julliard
e4b2a0bbbc
Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
...
appropriate.
2005-09-09 15:20:04 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Stefan Huehner
ffe53258aa
Fix some -Wstrict-prototypes warnings.
2005-06-27 09:57:28 +00:00
Rein Klazes
75d88907ff
Owner drawn menu item size calculation fixes:
...
- Correct width calculation of owner drawn menu items;
- Set the height value in the MEASUREITEM struct to the same value as
Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig);
- Add tests for the fixes above;
- Also add tests for menu bars with owner drawn items.
2005-06-20 14:12:39 +00:00
Rein Klazes
1c5671df07
Multi column popup menus have 4 pixel space between the columns. With
...
conformance test.
2005-05-10 13:17:33 +00:00
Robert Shearman
95ebdc63c6
Add a test for a menu problem I found.
2005-04-14 13:57:27 +00:00