Francois Gouget
56dac9118e
Define DCX_USESTYLE if it is not defined already. Fixes the
...
compilation with the PSDK.
2005-08-10 15:00:44 +00:00
Dmitry Timoshkov
4ffc11ad0e
Make CreateWindow with invalid menu handle test pass on Wine.
2005-08-09 10:22:45 +00:00
Francois Gouget
dbd7ee3c1f
CreateWindow(parent=NULL, ctlid!=0) should fail.
2005-08-08 12:13:08 +00:00
Francois Gouget
ae7a646f8e
The listbox test shows that the control id must be stored in WPARAM
...
for the WM_DRAWITEM message.
Fix the listbox test so CreateWindow() does not fail on Windows.
2005-08-08 11:02:54 +00:00
Lauri Tulmin
99889b846a
Add tests for repainting windows with CS_PARENTDC class style.
2005-08-02 09:56:25 +00:00
Dmitry Timoshkov
c2fe2f0f5b
- Add an ownerdrawn listbox test, which confirms that on WM_DRAWITEM
...
parent receives a clipbox equal to a listbox's client area.
- WM_DRAWITEM message contains 0 in wparam (at least on win2k).
2005-07-29 14:42:19 +00:00
Paul Vriens
dcb67841d2
Don't run tests on platforms that don't support WindowStation calls.
2005-07-18 09:08:58 +00:00
Dmitry Timoshkov
87458a5ccf
Add DDE transaction test, make it pass under Wine.
2005-07-08 11:33:09 +00:00
Dmitry Timoshkov
ede2c34343
Add a MsgWaitForMultipleObjects test.
2005-07-07 17:20:44 +00:00
Mike McCormack
d7b9a23afd
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-06 19:08:05 +00:00
Alexandre Julliard
5020529591
Restore the clip region after GetDCEx in send_erase as if it had been
...
a BeginPaint.
2005-07-06 15:51:29 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Vitaliy Margolen
d30f1fd738
Fix some failing tests.
2005-07-05 14:04:25 +00:00
Dmitry Timoshkov
ea632a581a
Add a test case for IsWindowUnicode.
2005-07-05 10:59:46 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Robert Shearman
ccb0a03d1f
GetDlgItemText should always try to NULL terminate the string.
2005-07-01 15:38:39 +00:00
Alexandre Julliard
a2b2456b99
Revert SPI_SETMOUSEBUTTONSWAP changes.
2005-06-30 18:14:14 +00:00
Alexandre Julliard
92fec7b67a
Keep track of the windows and hooks used by a thread to properly
...
refuse to change the thread desktop when it's in use.
2005-06-28 19:37:52 +00:00
Stefan Huehner
ffe53258aa
Fix some -Wstrict-prototypes warnings.
2005-06-27 09:57:28 +00:00
Michael Kaufmann
41a9757654
- Remove the old margins from the format rectangle before adding the
...
new margins.
- Adjust the format rectangle and repaint the control after the
margins have been set.
- New tests.
2005-06-25 18:32:07 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Vitaly Lipatov
0624e17e7e
Fix returned value for SPI_SETMOUSEBUTTONSWAP.
2005-06-20 15:36:17 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Rein Klazes
75d88907ff
Owner drawn menu item size calculation fixes:
...
- Correct width calculation of owner drawn menu items;
- Set the height value in the MEASUREITEM struct to the same value as
Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig);
- Add tests for the fixes above;
- Also add tests for menu bars with owner drawn items.
2005-06-20 14:12:39 +00:00
Vitaliy Margolen
fb99124f94
Deactivate active window in ShowWindow(,SW_HIDE).
2005-06-17 21:05:16 +00:00
Stefan Huehner
03cc8c4181
Remove some -Wstrict-prototypes warnings.
2005-06-17 10:11:37 +00:00
Dmitry Timoshkov
f85535c6f4
Add a test case for WM_[L|R|M|X]BUTTONDBLCLK generation behaviour.
2005-06-15 18:07:33 +00:00
Mike McCormack
f674f1f71b
Fix declarations.
2005-06-15 10:20:53 +00:00
Lauri Tulmin
f124878918
- EM_CHARFROMPOS should return the closest char (clicking on the first
...
half of a character should return current char and clicking on the
second half should return next char)
- EM_POSFROMCHAR should return -1 if character index is greater or
equal to text length
2005-06-14 12:24:48 +00:00
Lauri Tulmin
c40562307c
Add more tests for text placement in single and multiline edit
...
controls. Some of the tests are marked as todo.
2005-06-09 20:32:32 +00:00
Alexandre Julliard
b9b1ea9c9f
Added a close_handle method to the object operations, and use it to
...
implement registry notifications and the strange behavior of
CloseHandle on winstation/desktop handles.
2005-06-09 15:39:52 +00:00
Alexandre Julliard
78a3e63377
The desktop of a new thread should be set from the process initial
...
desktop, not from the parent thread.
Fixed a couple of bugs in the desktop name handling.
2005-06-09 12:07:12 +00:00
Dmitry Timoshkov
17408ba751
Added a couple of CloseHandle calls.
2005-06-09 09:46:06 +00:00
Alexandre Julliard
1bf96e09a9
Beginnings of support for window stations and desktops.
2005-06-08 18:44:50 +00:00
Dmitry Timoshkov
ef53e7a2f1
Add a test for window state when a window receives WM_ENABLE message.
2005-06-07 20:29:09 +00:00
Lauri Tulmin
a810802235
Don't truncate text on WM_SETTEXT and send EN_MAXTEXT.
2005-06-05 19:19:11 +00:00
Jason Edmeades
ca52392bf1
Added test case for infinite loops on RDW_REDRAWNOW.
2005-05-31 13:39:24 +00:00
Richard Cohen
fbb3ba488f
Fix off-by-one in menu height calculation (& therefore
...
AdjustWindowRect) + test.
2005-05-24 09:51:20 +00:00
Paul Vriens
4cc3b97ec1
Check for a NULL pointer in GetWindowTextA/W.
2005-05-14 18:49:19 +00:00
Rein Klazes
1c5671df07
Multi column popup menus have 4 pixel space between the columns. With
...
conformance test.
2005-05-10 13:17:33 +00:00
Ulrich Czekalla
a800dfe52e
SetParent should not remove menu from non-child windows.
2005-04-26 08:16:17 +00:00
Francois Gouget
3b36eee083
Add trailing '\n's to ok() calls.
2005-04-19 09:48:44 +00:00
Robert Shearman
95ebdc63c6
Add a test for a menu problem I found.
2005-04-14 13:57:27 +00:00
Rein Klazes
8db7b53359
In ScrollWindowEx, if the window already has an update region then add
...
this to hrgnUpdate. With a conformance test.
2005-04-11 12:47:01 +00:00
Rein Klazes
7308f16b32
Fix some incorrect uses of the ok macro where the result depends on
...
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Rein Klazes
7c342b4ce3
If ScrollWindowEx do not use the DCX_USESTYLE to get a DC. Instead
...
calculate DCX_CLIPSIBLINGS, DCX_PARENTCLIP and DCX_CLIPCHILDREN. The
DCX_CLIPCHILDREN is not used when ScrollWindowEx is called with a
SW_SCROLLCHILDREN flag. With a couple of regression tests.
2005-03-31 15:30:25 +00:00
Paul Vriens
b6ab64e44d
Use textlen instead of len.
...
Use textheight as the return value of DrawTextA.
2005-03-31 10:07:26 +00:00
Dmitry Timoshkov
9640918917
- Make GetSystemMenu respect CS_NOCLOSE.
...
- EnableMenuItem should not generate WM_WINDOWPOSCHANGING message.
- Make nonclient code check for presence of SC_CLOSE, not CS_NOCLOSE
window class style.
- Add a test case.
2005-03-30 18:59:27 +00:00
Alexandre Julliard
eea706948a
The update region passed in WM_NCPAINT and the clipping region passed
...
to GetDCEx have to be in screen coordinates.
2005-03-30 17:11:46 +00:00
Alexandre Julliard
d99df2b757
Only reset the clip region in GetDC() if a new region is specified.
...
Don't release the clip region for window DCs in ReleaseDC(), except
when called from EndPaint().
Added a bunch of tests.
2005-03-30 10:28:58 +00:00