Dmitry Timoshkov
fdc295db0b
Add a prototype for MDI message tests.
2004-06-23 20:51:21 +00:00
Dmitry Timoshkov
cbbb887d35
Add tests for child activation by ShowWindow/SetWindowPos.
2004-06-18 19:33:55 +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
Dimitrie O. Paun
6d53c65048
Win 2000, XP, etc. fail the sysparams tests when run
...
non-interactively, so avoid running the tests in that case.
2004-06-04 19:36:43 +00:00
Mike Hearn
eff34efcf8
Ignore attempts to hide an already invisible window. Add a test case
...
for this behaviour, passes on Wine and Windows 2000.
2004-06-03 23:26:35 +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
5079a41ed8
Add dialog class name to the list of classes handled by hook, add hook
...
messages to the modal dialog message test.
2004-06-01 19:39:26 +00:00
Dmitry Timoshkov
cdeeb84822
Add a test for accessing classes from another thread.
...
Fix UnregisterClass behaviour with NULL hInstance.
2004-05-28 19:27:17 +00:00
Kevin Koltzau
0a5ad9eb0f
Remove part of test that crashes win95.
2004-05-27 01:56:04 +00:00
Dmitry Timoshkov
97ea6fffde
Add message test for DrawMenuBar.
2004-05-24 19:08:54 +00:00
Dmitry Timoshkov
9df137b84a
Add a test for focus change on ShowWindow(child, SW_HIDE).
2004-05-24 19:08:41 +00:00
Dmitry Timoshkov
e4dfaab29e
Add a test for window's hinstance.
2004-05-21 20:50:55 +00:00
Dmitry Timoshkov
d8e990c1e4
- Make new tests pass on win2k SP4 and win95 OSR2.
...
- Add logging of some useful messages in the parent window.
- Add logging of wparam for WM_IME_SETCONTEXT.
2004-05-20 01:17:28 +00:00
Alexandre Julliard
47a1df45b2
Added some optional messages to make all tests succeed on XP.
...
Added tests for EndDialog and a simple modal dialog.
2004-05-18 20:44:23 +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
683ea2f2b7
Add more ShowWindow/SetWindowPos tests.
2004-05-10 19:59:20 +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
900492a69c
A couple of changes to avoid some failures on XP.
2004-05-05 22:01:49 +00:00
Francois Gouget
bc8007fb1a
Add trailing '\n's to ok() calls.
2004-05-05 01:35:37 +00:00
Jakob Eriksson
9e19e3f81e
Prevent Windows 95 from blocking on linking issue.
2004-05-05 01:07:04 +00:00
Alexandre Julliard
319fa1c31e
Some more tests for focus behavior when hiding/showing windows.
2004-05-04 04:18:29 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Dmitry Timoshkov
c5524e1e6b
Replace wParam values for WM_PARENTNOTIFY message by appropriate
...
symbolic names.
2004-04-30 04:15:13 +00:00
Dmitry Timoshkov
9634233407
Add a test for creation of a maximized child window.
2004-04-29 20:00:40 +00:00
Alexandre Julliard
57b0cbff26
Added test for setting focus to an invisible window.
2004-04-28 03:52:27 +00:00
Dmitry Timoshkov
61daaf8bd3
Fix a bug in ShellExecute which called DdeCreateStringHandleW with a
...
wrong parameter. Revert previous erroneous fix.
2004-04-23 21:32:17 +00:00
Dmitry Timoshkov
f04b9d0b07
Add a message test for custom dialog initialization.
2004-04-20 04:02:50 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Dmitry Timoshkov
6ba0d27e45
Add a test for GW_HWNDLAST.
2004-04-13 21:15:51 +00:00
Dmitry Timoshkov
7104df5d0d
Add WM_QUERYNEWPALETTE in appropriate places of the message test.
2004-04-12 23:13:14 +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
b53f87865c
Add WM_SETREDRAW test.
2004-04-08 19:07:06 +00:00
Dmitry Timoshkov
a6b405d6f4
Make use of the 'defwinproc' flag in the message test.
2004-04-06 20:09:59 +00:00
Dmitry Timoshkov
2d91357831
Add new tests for various window creation/positioning behaviours.
2004-04-02 20:22:53 +00:00
Dmitry Timoshkov
c7d9f75eeb
Workaround a msvcrt.realloc bug under Win9x by using Win32 APIs instead.
...
Take into account that HeapRealloc may move the allocated memory block.
2004-03-27 20:41:43 +00:00
Dmitry Timoshkov
f38a07b205
Add a procedure for logging WM_PARENTNOTIFY messages.
2004-03-26 02:28:28 +00:00
Dmitry Timoshkov
d5a1e761ee
Make DestroyWindow() not mess with a window focus, this should be
...
taken care of by ShowWindow(SW_HIDE).
Add a test for DestroyWindow() on a focused child.
2004-03-26 01:06:15 +00:00
Dmitry Timoshkov
6a203fb885
Add 'hook' flag for messages. Add a test for CBT hook messages.
2004-03-26 00:18:20 +00:00
Dmitry Timoshkov
bb1df89a2f
Add 'optional' flag for messages, make the test run under win2k.
2004-03-25 23:35:52 +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
Justin Chevrier
7e997ef081
Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT,
...
SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES,
SPI{GET,SET}MENUSHOWDELAY.
2004-03-19 01:16:12 +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
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Huw Davies
14743a0f3b
SetMenu should always call SetWindowPos whether the window is visible
...
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Bill Medland
df0916b494
Added the automatic tabbing in IsDialogMessage.
...
Added corrections to GetNextTab/GroupItem.
Included tests.
2004-02-12 02:16:33 +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
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +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
30acf519b6
Add trailing '\n's to ok() calls.
2004-01-18 22:10:55 +00:00
Francois Gouget
83795a7530
The MSVC headers won't give a name to the nameless union of INPUT
...
despite our request (NONAMELESSUNION). So define our own type and use
it instead.
Remove useless NONAMELESSSTRUCT.
Fix signed/unsigned warning.
2004-01-16 02:02:38 +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
Ferenc Wagner
88bc174873
Pin down LoadStringA behaviour on different buffer lengths.
2004-01-09 00:36:51 +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
Alexandre Julliard
ca10d8a5bd
Added tests for class style and instance handling.
2003-12-10 04:25:48 +00:00
Martin Fuchs
76adb1ff0d
- Move shell window into the background.
...
- Add tests for Get/SetShellWindow().
2003-11-18 00:13:34 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Rein Klazes
7ee2ed5a39
Test WM_KEY* and WM_SYSKEY* messages generated by various keyboard
...
events.
2003-10-28 00:18:40 +00:00
Alexandre Julliard
b83789fdc3
Updated some of the generated tests.
2003-10-24 04:45:35 +00:00
Dmitry Timoshkov
88de9ef068
More tests for window creation parameters.
2003-10-24 04:22:24 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Dimitrie O. Paun
9eedca2b05
Move the message sequences documented in documentation/gui into a unit
...
test.
2003-10-02 04:32:56 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +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
Richard Cohen
92e0a05749
SystemParametersInfo returning a value for Wallpaper does not mean
...
that the registry key exists.
2003-08-07 02:57:15 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Dmitry Timoshkov
33cf3e0bfd
GetClassInfo returns class atom on success.
2003-05-19 23:10:54 +00:00
Ferenc Wagner
572b33b4d9
Added listbox test.
2003-04-26 02:09:43 +00:00
Alexandre Julliard
74a66ff99d
Avoid warning.
2003-04-08 00:56:32 +00:00
Marcus Meissner
4a46348a9c
Changed MONITORINFOEXA,W definition to the one in MSDN which does not
...
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +00:00
Francois Gouget
acc5e9bba1
Check for sysparams keys in either the Win9x or NT locations. This
...
makes the test succeed on Win9x and NT4 platforms.
Add a 'strict' mode which specifically makes sure that the NT location
is set. In strict mode the test succeeds on Windows XP and Wine.
2003-01-20 23:30:22 +00:00
Francois Gouget
a4c90cff02
Don't use old_spacing-1 if old_spacing already has the minimum value.
2003-01-16 00:19:24 +00:00
Francois Gouget
6fed1e3738
Update the registry keys of SPI_ICONHORIZONTALSPACING,
...
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Francois Gouget
ecf2c570d2
Fix signed/unsigned compilation warnings.
2003-01-05 01:02:57 +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
Francois Gouget
50c0cdef7e
wsprintfW is not supported on Win9x platforms.
...
wsprintf{A,W}Test should be void.
Improve error reporting.
Remove unnecessary #includes.
2002-12-18 20:51:14 +00:00
Francois Gouget
21d92f8c8a
Skip the Unicode tests (effectively all tests currently) on Win9x.
2002-12-12 02:15:28 +00:00
Patrik Stridvall
e1e063d788
Made tests compile on Windows.
2002-11-15 00:02:51 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Patrik Stridvall
74476416b0
Updated the generated tests.
2002-11-06 21:59:15 +00:00
Patrik Stridvall
df7ffb8017
Updated the generated tests.
2002-11-04 22:40:40 +00:00
Patrik Stridvall
fc832f0fcf
Fixed tests to compile with MS C on Windows.
2002-10-29 21:24:35 +00:00
Patrik Stridvall
7d226139e9
Updated the generated tests.
2002-10-29 21:24:09 +00:00
Patrik Stridvall
ab974c310c
Updated the generated tests.
2002-10-23 18:45:15 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +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
Patrik Stridvall
928ecb4891
Added some more autogenerated tests.
2002-10-02 19:58:27 +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
Francois Gouget
71f8fc27e5
IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
...
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Alexandre Julliard
edeee89c3e
Create separate makefiles for tests for more flexibility.
2002-08-09 01:22:40 +00:00
Philipp Wollermann
a32dc91711
Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER.
2002-06-28 23:27:37 +00:00
Alexandre Julliard
75de8fe16c
Added printf format checking to the ok() and trace() macros, and fixed
...
the resulting warnings.
2002-06-22 00:08:10 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Francois Gouget
4c314000b9
Make the tests compile with Visual C++.
2002-05-23 02:40:07 +00:00
Alexandre Julliard
cc2ee7636d
Renamed Winelib apps to .exe.so to follow the dll naming convention.
2002-05-21 19:42:29 +00:00
Francois Gouget
ea668d1be1
Make the 'error' string of a couple of checks consistent with the
...
others.
2002-05-19 22:22:06 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Bill Medland
61245b2867
First regression test for wsprintf.
2002-04-24 21:16:51 +00:00
Mike McCormack
0f7b48b890
Added a simple test set for window classes.
2002-04-21 22:05:42 +00:00
François Gouget
ffb6d763f4
Include wine/test.h before windows headers.
...
Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows.
Fix a check in the SPI_{GET,SET}BORDER test.
Fix bad copy/paste in the SPI_{GET,SET}BORDER test.
Use eq macro to print values when something goes wrong.
2002-04-02 00:44:51 +00:00
Francois Gouget
902540cf0b
Don't show the window.
2002-03-19 02:03:17 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk
812bc5298b
Added SystemParametersInfo unit test.
2002-02-27 21:32:18 +00:00