Commit Graph

20 Commits

Author SHA1 Message Date
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
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Francois Gouget 3988c3dc8f user32/tests: Remove unneeded NONAMELESS* macros. 2006-11-24 11:49:25 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00