Marcus Meissner
a91b0e4544
user32: Remove side effect code out of asserts() (Coverity).
2011-02-23 18:24:20 +01:00
Austin English
f956a472c0
user32/tests: Make sure return values are used (LLVM/Clang).
2011-02-14 13:33:32 +01:00
Joris Huizer
26f753aec8
user32/tests: Don't test function directly when reporting GetLastError().
2011-02-07 10:04:37 -06:00
Greg Geldorp
2b0d8ed7c3
user32/tests: Fix menu test failures on East-Asian machines.
2011-01-13 15:22:00 +01:00
Nikolay Sivov
e9bae2cfaf
user32: Block TrackPopupMenu if menu is already active.
2010-04-09 11:42:01 +02:00
Kusanagi Kouichi
56416b09a6
user32: F10 key deactivates menu.
2010-01-18 14:38:29 +01:00
Alexandre Julliard
ffe9ace917
user32/tests: Fix some last error checks for WoW64.
2009-12-23 14:27:31 +01:00
Rein Klazes
b94f63ef38
user32: Handle MN_GETHMENU in PopupMenuWndProc.
2009-10-16 17:49:40 +02:00
Francois Gouget
e74efb5487
Assorted spelling fixes.
2009-08-11 12:35:38 +02:00
Rein Klazes
c18cd1b46f
user32: When all items in a menu have either a bitmap or text but not both, then texts should be aligned with the bitmaps.
2009-08-03 17:39:22 +02:00
Rein Klazes
38dbe067c3
user32: Fail if inserting a submenu would create a loop in the menu hierarchy.
2009-07-24 13:11:10 +02:00
Rein Klazes
da86ab71fa
user32/tests: Fix for a test failure on win98/NT4.
2009-07-21 15:59:24 +02:00
Rein Klazes
c2ada64097
user32: Ignore the MFT_BITMAP flag when testing menu items for 'magic' bitmap handles.
2009-07-20 14:19:46 +02:00
Rein Klazes
5b4b1e6a67
user32/tests: Show that Windows avoids creating loops in a menu tree, probably by limiting the depth of such tree.
2009-07-17 13:34:40 +02:00
Alexandre Julliard
83cb24f9b4
user32/tests: Fix some pointer conversion warnings on 64-bit.
2009-05-28 15:24:31 +02:00
Francois Gouget
5ef481922f
Assorted spelling fixes.
2009-04-20 15:25:26 +02:00
Rein Klazes
e861d8be43
user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test.
2009-04-03 13:25:31 +02:00
Rein Klazes
5396fbf97d
user32/tests: Show that a submenu is still functional after calling DestroyMenu().
2009-03-27 15:51:25 +01:00
Rein Klazes
366334c2fa
user32: Check for invalid menu handle passed to TrackPopupMenu and TrackPopupMenuEx.
2009-03-06 12:49:04 +01:00
Alexandre Julliard
6eccf2a3fa
user32/tests: Skip menu test if sending input failed. Use VK_MENU instead of VK_LMENU.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
e256e988c5
user32/tests: Fix a couple of failing menu tests.
2009-03-03 13:20:34 +01:00
Rein Klazes
5c130c813a
user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test.
2009-03-02 15:06:57 +01:00
Paul Vriens
66bd3d428f
user32/tests: Fix some test failures on Win98/WinME.
2009-03-02 14:51:50 +01:00
Rein Klazes
471e949cff
user32: In SetMenuInfo() implement the MIM_APPLYTOSUBMENUS. Also set last error if called with invalid parameters with tests.
2009-02-27 14:16:23 +01:00
Rein Klazes
bdb770e10e
user32: Refine the size calculations for menu items with HBMMENU_POPUP magic bitmaps with some conformance tests.
2009-02-25 12:36:51 +01:00
Francois Gouget
8b28508d2b
user32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:21 +01:00
Michael Stefaniuc
e89386a59e
user32/tests: Remove superfluous pointer casts.
...
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Alexandre Julliard
41e6d71757
user32/tests: Comment out the menu size tests, there's no consistent behavior to test for.
2009-01-13 17:33:08 +01:00
Michael Stefaniuc
e202baabd5
user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR.
2009-01-13 15:26:11 +01:00
Alexandre Julliard
c72546153b
user32/tests: Fix most of the macro abuse in the menu test.
2009-01-08 12:15:25 +01:00
Alexandre Julliard
d97b398767
user32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:16:16 +01:00
Paul Vriens
4f5460ffcf
user32/tests: Skip GetMenuItemInfo tests on NT4 and below.
2008-11-07 13:34:24 +01:00
Aric Stewart
a7e48d7d98
user32/tests: GetMenuItemCount returns INT so check for -1 (Coverity 542).
2008-10-02 10:30:42 -05:00
Aric Stewart
6aa6fc8a46
user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
2008-10-02 10:30:33 -05:00
Vincent Povirk
3c4f44d1af
user32: Use the correct bitmap location for MNS_CHECKORBMP.
2008-09-08 12:49:12 +02:00
Paul Vriens
3f6e4adf9d
user32/tests: Win9x needs a threadid for CreateThread.
2008-09-08 12:49:12 +02:00
Vincent Povirk
491e44d425
user32/tests: Don't check menu items when testing MNS_CHECKORBMP.
...
If the MNS_CHECKORBMP style is set on a menu, and the menu is checked,
the bitmap is not drawn. For the menu tests, that means we get no
WM_DRAWITEM message for an owner-drawn bitmap, and the bounding box of
the bitmap is not tested. We should leave the menu item unchecked in
this case so we can test it.
2008-09-04 12:44:13 +02:00
Huw Davies
80fe2faeb6
user32: Don't send the menu clicks if we can't retrieve the item rect.
2008-07-22 12:31:11 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Reece Dunn
56b2ab241e
user32: Fixed the HiliteMenuItem tests to pass on Windows 9x.
2008-03-22 11:14:07 +01:00
Reece Dunn
2cab7ff2c7
user32: Improve the HiliteMenuItem tests so they reflect actual behaviour on Windows.
2008-03-18 11:44:09 +01:00
Reece H. Dunn
efd0b9ae7a
user32: HiliteMenuItem fails if an invalid window handle is passed to it.
2008-03-17 14:53:12 +01:00
Francois Gouget
c099b40509
user32/tests: Don't use 0x55 to avoid any confusion when running with +heap.
2008-03-05 12:18:11 +01:00
Paul Vriens
5748f15826
user32/tests: Run tests on win95 again.
2007-08-16 11:08:13 +02:00
Dmitry Timoshkov
4d8f84cbdd
user32: When inserting a menu item make sure that MDI system buttons stay on the right side.
2007-06-20 15:10:58 +02:00
Alexandre Julliard
6797f15a64
user32: Fix a printf format warning.
2007-06-01 13:42:37 +02:00
Francois Gouget
a3c0d9a643
user32/tests: Fix compilation with gcc 2.95.
2007-05-21 12:38:55 +02:00
Dmitry Timoshkov
34015b93a4
user32: Add a test for the menu resource loader, make it pass under Wine.
2007-05-15 12:28:17 +02:00
Dmitry Timoshkov
7f189eccb9
user32: Add a test for CheckMenuRadioItem and make it pass under Wine.
2007-05-15 12:28:03 +02:00
Paul Vriens
9707a2de58
user32/tests: Don't run unicode tests if not supported.
2007-04-05 11:56:24 +02:00