Commit Graph

50 Commits

Author SHA1 Message Date
Robert Shearman caec6026e7 - Window styles passed to CreateWindowEx must the same as passed in
CREATESTRUCT for WM_CREATE/WM_NCCREATE.
- Fix cases where WS_EX_WINDOWEDGE style is applied.
- Tests for the above.
2005-03-23 10:26:15 +00:00
Dmitry Timoshkov 12bbaa7baf Actually print dwExStyle in case of a mismatch. 2005-03-16 11:30:51 +00:00
Dmitry Timoshkov 72a4df9459 Do not release capture before sending WM_NCDESTROY message, update the
tests to reflect that.
2005-03-14 17:15:33 +00:00
Dmitry Timoshkov a2e24748b1 Fix some msg.c and win.c failures running on NT4 and XP. 2005-03-14 10:05:50 +00:00
Dmitry Timoshkov 16ba0255e7 - Call SetCursorPos for an injected mouse message only if we really
need to move mouse pointer.
- Add a test case for mouse click handling.
2005-03-07 17:13:07 +00:00
Dmitry Timoshkov 8f0984c2a3 Protect SetParent from creating circular window dependencies.
Add a test case.
2005-03-02 10:11:06 +00:00
Dmitry Timoshkov d4fd584082 GetWindowRect and GetClientRect do not change RECT contents if the
passed window handle is invalid.
2005-02-24 17:03:01 +00:00
Alexandre Julliard 548c973457 Allow the client rectangle to be of arbitrary size and dimensions,
regardless of the window rectangle.
2005-02-22 19:41:43 +00:00
Rein Klazes dfa4354134 DefWindowProc's WM_NCCALC handler must not subtract space for
scrollbars if there is not enough space for it anyway. With tests to
confirm the behavior.
2005-02-22 15:46:36 +00:00
Rein Klazes 8417d41a24 Calling ValidateRect or ValidateRgn on a windows also validates the
children. Add a test to show the behavior.
2005-02-16 17:52:01 +00:00
Dmitry Timoshkov 032d6aa234 Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT
when creating MDI children. Add a test case for the desired
behaviour.
2005-02-02 09:33:58 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Rein Klazes c0b189b3b6 You can make an invisible window the active window. 2004-12-21 14:36:32 +00:00
Dmitry Timoshkov 99fda0a1de Add a mouse input test case, make the test pass under Wine. 2004-12-17 18:49:24 +00:00
Dmitry Timoshkov c3cecc5d57 - WM_MDISETMENU handler should update new frame menu only if an active
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dmitry Timoshkov 64d69b60c9 - Skip shell window test on Win9x and restore its functionality on NT
platforms.
- Use keybd_event instead of SendInput in order to perform keyboard
  input test on Win95 as well.
2004-09-23 22:52:26 +00:00
Dmitry Timoshkov 9c2dcb255e Add a test case for WM_KEY* to WM_SYSKEY* message conversion. 2004-09-16 19:09:44 +00:00
Dmitry Timoshkov 58fe866d01 Button should do ReleaseCapture() on WM_KILLFOCUS if it's in a pressed
state.
Add a comprehensive test case for capture behaviour.
2004-08-26 18:33:40 +00:00
Ferenc Wagner 1b53ecba89 The desktop process is not automatically restarted under Win95, so
stop killing it.
2004-08-16 23:19:02 +00:00
Hans Leidekker dbb3e14748 Fix signed/unsigned comparison warnings. 2004-08-09 18:52:18 +00:00
Dmitry Timoshkov 4000d1d268 Make user/tests/win.c tests pass under Windows98. 2004-06-17 23:00:40 +00:00
Dmitry Timoshkov 4ad5ccfb58 Add a test for client/nonclient window dimensions calculation. 2004-06-15 18:27:06 +00:00
Ulrich Czekalla e32e1f0598 EnableWindow should not remove the focus of child windows. 2004-06-03 00:08:55 +00:00
Dmitry Timoshkov 4f9ebc471f Test whether we can destroy a menu assigned to a window. 2004-06-01 19:46:23 +00:00
Dmitry Timoshkov 9df137b84a Add a test for focus change on ShowWindow(child, SW_HIDE). 2004-05-24 19:08:41 +00:00
Alexandre Julliard 447e647716 Added a couple of tests for SetActiveWindow. 2004-05-18 00:48:09 +00:00
Dmitry Timoshkov f74516843f - Add a test for GetWindowInfo, it should not check cbSize member of
the WINDOWINFO structure.
- Add tests for window state at the time the system calls
  HCBT_CREATEWND (failing under Wine at the moment).
2004-05-11 22:17:19 +00:00
Dmitry Timoshkov 80422fb830 Make WM_GETMINMAXINFO default behaviour more like the Windows one. 2004-05-07 00:41:32 +00:00
Alexandre Julliard 319fa1c31e Some more tests for focus behavior when hiding/showing windows. 2004-05-04 04:18:29 +00:00
Alexandre Julliard 57b0cbff26 Added test for setting focus to an invisible window. 2004-04-28 03:52:27 +00:00
Dmitry Timoshkov 6ba0d27e45 Add a test for GW_HWNDLAST. 2004-04-13 21:15:51 +00:00
Dmitry Timoshkov e1d413da84 Add a test case for children Z ordering at window creation time. 2004-04-12 22:05:53 +00:00
Dmitry Timoshkov 946cd3c117 Add a test case which confirms that SetMenu implementation in Wine is
correct.
2004-03-19 19:14:45 +00:00
Dmitry Timoshkov 4edbbbd8ea Windows truncates windows coordinates at 16 bits when moving or
resizing a window.
2004-03-11 03:51:46 +00:00
Dmitry Timoshkov 9b24af8acb Add a test case and a fix for the window styles state at the window
creation time.
2004-02-06 05:18:56 +00:00
Francois Gouget 47e116225a Add trailing '\n's to ok() calls. 2004-01-23 20:50:35 +00:00
Dmitry Timoshkov dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Francois Gouget 79495fe5a9 We need to set _WIN32_WINNT to 0x501 to get CS_DROPSHADOW and
ICON_SMALL2.
2004-01-16 02:02:19 +00:00
Alexandre Julliard 446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Dmitry Timoshkov 1a620f29d2 Add MDI child creation tests. 2003-12-30 21:54:54 +00:00
Martin Fuchs 76adb1ff0d - Move shell window into the background.
- Add tests for Get/SetShellWindow().
2003-11-18 00:13:34 +00:00
Dmitry Timoshkov 88de9ef068 More tests for window creation parameters. 2003-10-24 04:22:24 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget f947a58006 Win9x does not support {Get,Set}WindowLongW. Use the Ansi version
instead since it won't impact _these_ tests anyway.
2003-01-03 19:09:23 +00:00
Patrik Stridvall e1e063d788 Made tests compile on Windows. 2002-11-15 00:02:51 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Alexandre Julliard a5e995ae12 Fixed printf formats for -DSTRICT handles. 2002-10-04 00:56:05 +00:00
Alexandre Julliard a593d3d95e Build tests with -DSTRICT. 2002-10-03 19:42:45 +00:00
Alexandre Julliard 7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00