Ulrich Czekalla
e64b875311
Child windows with the WS_POPUP style are allowed to have a menu.
2005-03-25 20:47:32 +00:00
Rein Klazes
a807c5efce
ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
...
within the visible region, clipped to the clipping region if that
exists. Add the destination of pixels coming from the outside of this
region to the update region. With tests that depend on this.
2005-03-25 17:11:04 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
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
e842676194
If an MDI child becomes active restore previously maximized MDI
...
child.
2005-03-22 16:45:31 +00:00
C. Scott Ananian
aa6367400a
EDIT_EM_SetSel: Old/new selection range ordering code would break when
...
old_end < start < end < old_start.
Reset EF_UPDATE flag after we've sent the update.
2005-03-22 16:40:36 +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
Marcus Meissner
af54602c7a
Use 512 byte buffer for buffer of LB_GETTEXT and CB_GETLBTEXT.
...
Added testcase with > 256 byte string in listbox.
2005-03-10 17:17:22 +00:00
Alexandre Julliard
9bcdd7ca19
Authors: Justin Chevrier <jchevrier@nexicom.net>, Paul Vriens <Paul.Vriens@xs4all.nl>
...
- Consolidate error message handling.
- Add error checking to all initial SystemParametersInfoA calls in
each parameter test to make sure that if a given parameter isn't
supported or has failed in some other way that we return and don't
continue on with the test.
- SetLastError before calling test_error_msg.
- SPI_{GET,SET}ICONTITLEWRAP is supported on Win98.
2005-03-07 19:23:32 +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
Paul Vriens
ae5e9edef7
LastError is not set on failure for *MOUSEHOVER* on Win98.
2005-03-05 10:47:30 +00:00
Justin Chevrier
dd170db028
Expand conformance registry entry test to handle registry entries that
...
differ both in Key and Value from the norm.
Take advantage of expanded registry test to allow
SPI_{GET,SET}SCREENREADER and SPI_{GET,SET}KEYBOARDPREFERENCE to pass
on Win9x.
2005-03-04 12:31:09 +00:00
Paul Vriens
726df300ad
Better way of handling non-existent SystemParametersInfoW.
...
SetLastError if GetLastError is checked after a call.
2005-03-04 10:46:22 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Dmitry Timoshkov
8f0984c2a3
Protect SetParent from creating circular window dependencies.
...
Add a test case.
2005-03-02 10:11:06 +00:00
Justin Chevrier
74b36359f1
- Created SPI_{GET,SET}KEYBOARDPREF and SPI_{GET,SET}SCREENREADER unit
...
tests.
- Removed a trace that shouldn't have been there.
- Add return checking to SPI_{GET,SET}WHEELSCROLLLINES and
SPI_{GET,SET}MENUSHOWDELAY unit tests so they no longer run on
Windows 95 where they aren't supported.
- Changed minimum hovertime in SPI_{GET,SET}MOUSEHOVERTIME to 10 as
Windows XP defaults to 10 any value below that.
2005-03-01 11:46:11 +00:00
Alexandre Julliard
1aad2a50ce
Authors: Mike McCormack <mike@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
...
Release capture before sending WM_NCDESTROY message, do not send
WM_CAPTURECHANGED in that case. Add a test case for that behaviour.
2005-02-24 17:03:51 +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
Dmitry Timoshkov
16875ac3b2
- Pass original wParam to CallNextHookEx.
...
- Avoid playing games with focus in a newly created thread, that leads
to all kinds of misbehaviours and failures in window activation
under Windows.
2005-02-23 12:44:06 +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
Alexandre Julliard
9b0b45563b
Cosmetic fixes.
2005-02-22 16:02:58 +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
Stefan Leichter
2d133baa3b
Make user32_crosstest.exe loadable on NT 3.51.
2005-02-22 15:43:54 +00:00
Alexandre Julliard
fa5c982698
DispatchMessage needs to repaint the non-client area if the WM_PAINT
...
handler didn't do it.
2005-02-22 14:58:52 +00:00
Jason Edmeades
e4c2d6ba8c
Make RegisterClassExA check that reserved bytes is a valid value.
...
Tests to confirm this behaviour.
2005-02-22 14:56:28 +00:00
Justin Chevrier
564aceddca
- Implement SPI_{GET,SET}POWEROFFACTIVE and SPI_SETLOWPOWERACTIVE.
...
- Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI
value) to avoid an out of bounds condition.
- Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and
SPI_{GET,SET)SETLOWPOWERACTIVE.
2005-02-21 20:40:44 +00:00
Dmitry Timoshkov
600086372a
Take Shift key state into account while processing an accelerator.
...
Add a couple of test cases.
2005-02-21 18:33:27 +00:00
Dmitry Timoshkov
53ccd49c58
- Always unlink children before sending WM_NCDESTROY message.
...
- Fix order of WM_DESTROY messages for the children's recursion.
- DestroyWindow should hide only visible windows.
- Add a test case for the above fixes.
2005-02-18 20:01:41 +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
Francois Gouget
a370f3fc0b
ES_COMBO is not defined in the Windows headers. So define it if
...
necessary so the test can be compiled on Windows.
2005-02-14 11:02:06 +00:00
Rein Klazes
312f09b88a
ScrollWindowEx when called with the SW_ERASE flag does not send a
...
WM_ERASEBKGND message, it just sets the erase flag. With some tests
that show this behavior.
2005-02-08 14:27:39 +00:00
Paul Vriens
e3e89294d9
Extra tracing for SPI_GETICONTITLEWRAP.
2005-02-08 12:09:07 +00:00
Dmitry Timoshkov
6dba0a7718
Add support for winevent hooks.
2005-02-03 16:40:20 +00:00
Lauri Tulmin
31b894d07c
Add test for LB_SELITEMRANGE and make it pass.
2005-02-02 19:10:59 +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
Dmitry Timoshkov
ed04d36b5d
Add more tests for old style hooks and winevent hooks, make them pass
...
under Wine.
2005-01-27 11:14:19 +00:00
Paul Vriens
0cdfbd7669
Check for availability of SPI_GETICONTITLEWRAP.
2005-01-27 11:11:10 +00:00
Alexandre Julliard
0b39860580
Added a couple of SetWindowPos tests.
2005-01-25 11:31:52 +00:00
Rein Klazes
3ee5db6e17
Make ShowWindow(...,SW_SHOWNA) also work on already visible windows
...
with some conformance tests.
2005-01-25 11:21:20 +00:00
Alexandre Julliard
5ae51c47dd
Tweak SetWindowPos flags handling to make a few more of the messaging
...
tests pass.
2005-01-21 17:06:07 +00:00
Justin Chevrier
3582a175c5
- Implemented SPI_SETICONMETRICS.
...
- Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from
win.ini on first call and return a cached version in subsequent
calls.
- Created unit test for SPI_{GET,SET}ICONMETRICS.
2005-01-20 20:43:02 +00:00
Justin Chevrier
f44d0692f1
Created unit test for SPI_{GET,SET}MINIMIZEDMETRICS.
2005-01-14 16:49:33 +00:00
Dmitry Timoshkov
d2512860ac
Fix WmCreateCustomDialogSeq message sequence for 256 color mode.
2005-01-11 15:45:32 +00:00
Dmitry Timoshkov
b44b2cc880
Add more tests for keyboard/menu activation behaviour, make the tests
...
pass under Wine.
2005-01-11 10:38:31 +00:00
Lauri Tulmin
d3cc4dcd05
Fixes to the handling of LBS_EXTENDEDSEL style, with tests.
2005-01-10 16:22:33 +00:00
Dmitry Timoshkov
830b58c02b
Add a windows events hook to the message test.
2005-01-06 20:43:34 +00:00
Dimitrie O. Paun
d6cf14d7b6
Add test for the listbox item height.
2005-01-03 14:40:13 +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