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
Ulrich Czekalla
209820c428
user32: Don't scale draw text margin params by character width units.
...
Values passed in DRAWTEXTPARAMS are already in average character width
units.
2009-02-03 12:39:59 +01:00
Alexandre Julliard
7c1e8a9c52
user32/tests: Add a few optional messages for Win2K3.
2009-01-29 22:09:11 +01:00
Alasdair Sinclair
c2c564db9d
user32/tests: Fix missing void in empty parameter list.
2009-01-29 12:19:51 +01:00
Michael Stefaniuc
56b3341f8e
user32: Fix bogus "if (!x & y)" code.
...
The dde.c tests succeed on Windows and the DDE callback registered is
set to trigger on all messages it gets. Thus it looks like Windows
doesn't calls the callback in that case.
2009-01-27 16:05:04 +01:00
Florian Köberle
640d2e029a
user32: Unify handling of child and normal windows in getMinMaxInfo.
...
The code for the child windows works now for the standalone windows as well.
2009-01-27 15:20:01 +01:00
Florian Köberle
8afc5fe6d5
user32: Fix maximized child windows.
2009-01-27 15:18:56 +01:00
Florian Köberle
4cfb1e6952
user32/tests: Improved an error message.
2009-01-27 15:18:28 +01:00
Florian Köberle
a50deff4be
user32: Fix thick child minTrack and size.
2009-01-27 15:18:10 +01:00
Florian Köberle
ce119daf3e
user32: Fix maxPosition of thick child windows.
2009-01-27 15:18:00 +01:00
Florian Köberle
dc1a7113b5
user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition.
2009-01-27 15:17:51 +01:00
Alexandre Julliard
e55a691ded
user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail.
2009-01-27 14:38:23 +01:00
Alexandre Julliard
7d657ed8f4
user32: Make sure the submenu is valid in MENU_HideSubPopups.
2009-01-26 15:09:07 +01:00
Alexandre Julliard
f12c5bfca3
user32: Use a finally handler to make sure capture is always released when exiting the menu loop.
2009-01-26 15:08:49 +01:00
Jeff Latimer
c743f9d0bd
user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread.
2009-01-26 14:29:44 +01:00
Jeff Latimer
77e0e9cccc
user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
...
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same
way. If an invalid instance Id is passed then lastError is set for all
instances of that thread.
2009-01-26 14:29:39 +01:00
Paul Vriens
fd3c7be0e0
user32: Allocate buffer on heap.
2009-01-26 14:24:29 +01:00
Alexandre Julliard
7cbe285416
user32/tests: Make the traces less verbose in the window test.
2009-01-25 17:29:32 +01:00
Alexandre Julliard
4909fe493b
user32/tests: Ignore some more messages.
2009-01-25 17:29:05 +01:00
Alexandre Julliard
4bec383d9f
user32/tests: Fix various failures in the monitor test.
2009-01-25 17:28:39 +01:00
Florian Köberle
4487f85e58
user32: Removed code without effect.
2009-01-23 15:39:44 +01:00
Florian Köberle
8784702d1f
user32: Fixed max size of child with exStyle WS_EX_DGLMODALFRAME.
2009-01-23 15:39:39 +01:00
Florian Köberle
aaddefff53
user32: Refactor of WINPOS_GetMinMaxInfo.
...
Moved and duplicated the code below the "if child" statement into the
if and else block.
2009-01-23 15:38:52 +01:00
Alexandre Julliard
c83b4e230c
user32/tests: Don't try to do hook tests if we can't set hooks.
2009-01-23 13:14:05 +01:00
Alexandre Julliard
00b851d864
user32/tests: Make the DC test window top-most. Ignore an extra WM_MOUSEMOVE.
2009-01-23 13:13:54 +01:00
Jeff Latimer
c5bc4b2c9a
user32: Check the instance id on DdeCreateDataHandle and retire a couple of todos.
2009-01-22 15:28:24 +01:00
Alexandre Julliard
e280bf6644
user32/tests: Don't display window info for hooks that don't contain a window.
...
Ignore some more registered messages.
Fix some other failures on Win2k.
2009-01-22 15:28:05 +01:00
Alexandre Julliard
d3078e0bac
user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the mouse isn't where we want.
2009-01-22 13:11:38 +01:00
Florian Köberle
72e6fe9431
user32/tests: Extended test about thick child windows.
2009-01-21 13:27:08 +01:00
Florian Köberle
7b8b17dd42
user32/tests: Fixed error message.
2009-01-21 13:27:05 +01:00
Jeff Latimer
be14da009a
user32: Pass pConv to WDML_Global2DataHandle so that it can be correcly passed to DdeCreateDataHandle.
2009-01-21 13:04:45 +01:00
Ge van Geldorp
33a6e66bef
user32/tests: Prevent buffer overflow.
2009-01-21 10:24:39 +01:00
Alexandre Julliard
d8375e2137
user32/tests: Fix some more message test failures on Windows.
2009-01-20 14:02:02 +01:00
Alexandre Julliard
7d585678be
user32/tests: Fix some more msg test failures and improve message sequence tracing.
2009-01-19 13:36:25 +01:00
Jeff Latimer
be027eeb28
user32/tests: Resend: Fix test to work on Vista.
2009-01-19 13:36:24 +01:00
Ge van Geldorp
df0168d8eb
user32/tests: Save iSmCaptionWidth for later testing.
2009-01-19 13:36:24 +01:00
Jeff Latimer
f4ca7d2d1a
user32/tests: Clarify the msgs to differentiate Unicode and ASCII in tests.
2009-01-16 13:25:32 +01:00
Alexandre Julliard
7551797bc4
user32/tests: Fix some more failures in the message test.
2009-01-16 12:33:07 +01:00
Alexandre Julliard
1608cb99b5
user32/tests: Add support for testing only some bits of wparam or lparam. Make some more messages optional.
2009-01-15 15:43:58 +01:00
Alexandre Julliard
078689adb0
user32/tests: Print the failure position in the message sequence.
2009-01-15 14:45:53 +01:00
Alexandre Julliard
0ffd26ab17
user32: Use the message_data_t union when receiving a message.
2009-01-15 12:50:59 +01:00
Jeff Latimer
1f5b2f7e0c
user32/tests: Add tests for DdeGetData Ascii interface.
2009-01-14 15:22:51 +01:00
Jeff Latimer
56784f60c1
user32: Check for NULL pData in DdeClientTransAction expecting to be passed a handle.
2009-01-14 14:59:34 +01:00
Alexandre Julliard
c6144893b6
user32/tests: Fix the layered window tests for some Vista versions.
2009-01-13 17:33:08 +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
Ge van Geldorp
444f4a7fbc
user32/tests: keybd_event can send HCBT_KEYSKIPPED notifications.
2009-01-13 16:39:37 +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
7d9b745391
user32/tests: Only display failing message sequences instead of every single message.
2009-01-12 21:51:01 +01:00
Alexandre Julliard
a26857da31
user32/tests: Centralize the tracing of the received messages in the msg.c test.
2009-01-12 21:03:57 +01:00
Rob Shearman
ea00dc4b49
user32: Free allocated memory in USER_unload_driver.
2009-01-12 13:07:07 +01:00