Vitaliy Margolen
247ab64d38
Restore focus to the current control without selecting text.
2005-10-20 11:36:55 +00:00
Vitaliy Margolen
546bc6a681
Fix a number of tests failing on windows.
2005-10-19 19:06:35 +00:00
Markus Gömmel
c2d38ceee8
Misplacement of checkboxes with empty label fixed.
2005-10-19 18:30:14 +00:00
Krzysztof Foltman
73045050b3
Fix CB_GETLBTEXT ANSI-Unicode calls when return value is an error
...
code.
2005-10-19 18:29:36 +00:00
Vitaliy Margolen
cfbd78d659
Return 0 length line as 0 length line for EM_GETLINE.
2005-10-18 12:01:38 +00:00
Frank Richter
7686aa86e6
When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
...
obtain an exact length.
2005-10-18 10:45:18 +00:00
Vitaliy Margolen
40c3bd6f1b
Fix one test failing on all windows versions.
2005-10-17 09:23:11 +00:00
Stefan Leichter
18517ca56f
Make user test loadable on NT4.
2005-10-11 20:27:27 +00:00
Alexandre Julliard
8777c62d77
In DIALOG_FixChildrenOnChangeFocus make sure the button is a push
...
button before making it the default.
2005-10-08 10:36:10 +00:00
Vitaliy Margolen
e135a52294
Use GetSystemMetrics instead of hardcoding drag width & height.
2005-10-03 18:48:36 +00:00
Marcus Meissner
d3463d169b
ReleaseCapture should return TRUE.
2005-10-03 11:06:14 +00:00
Stefan Leichter
02dce5900e
Added stub for UnregisterDeviceNotification.
2005-10-03 10:17:05 +00:00
Jason Edmeades
8248d0ae87
Always return MA_ACTIVATE for WM_MOUSEACTIVATE in DefWindowProc.
2005-09-29 13:36:14 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Dmitry Timoshkov
6de4574fb0
Explicitly ignore WM_GETICON message in the message tests.
2005-09-28 18:11:10 +00:00
Dmitry Timoshkov
9c559cf385
Make DrawMenuBar and SetMenu tests pass under Wine.
2005-09-28 15:13:10 +00:00
Huw Davies
1d34b3a99c
EnumDisplayDevices and GetMonitorInfo should return the same device
...
name for the primary device.
Make both EnumDisplayDevicesA and GetMonitorInfoA call their unicode
counterparts.
Update prototype of EnumDisplayDevices.
Add some tests.
2005-09-28 10:17:13 +00:00
Alexandre Julliard
e96faaa4c8
Added a test to confirm the behavior of GetRandomRgn.
2005-09-26 16:46:31 +00:00
Alexander N. Sørnes
cd6e5bab8b
Added Norwegian translations.
2005-09-26 10:56:47 +00:00
Francois Gouget
baab789ce8
Replace the 'if (!cond) ; else code' construct with the standard 'do {
...
code } while (0)' construct combined with a regular 'if'.
2005-09-26 09:57:38 +00:00
Dmitry Timoshkov
6300ce1a99
Calling DdeUninitialize hangs DDE test on XP SP1, so remove that call,
...
and add a comment explaining it.
2005-09-26 09:55:25 +00:00
Alexandre Julliard
9f859692f9
Replace DPRINTF by TRACE in a few places.
2005-09-25 15:23:21 +00:00
Kimmo Myllyvirta
a7cdcfd995
Update Finnish resources.
2005-09-25 15:14:58 +00:00
Alexandre Julliard
0ec0f048e6
Removed unused debug channels.
2005-09-22 10:44:40 +00:00
Alexandre Julliard
9f1c6de1ef
We are no longer generating .spec.c files.
2005-09-21 14:42:52 +00:00
Alexandre Julliard
5cb97d833a
Generate 16-bit spec files as assembly code too.
2005-09-21 14:23:54 +00:00
Mike McCormack
c818a4e662
Fix "empty body in an if/else-statement" warnings.
2005-09-21 09:46:28 +00:00
Alexandre Julliard
c61f11eadf
Added a magic number to the WDML_CONV structure to fix some failing
...
tests.
2005-09-20 11:39:19 +00:00
Milko Krachounov
980f817737
Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
...
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Kimmo Myllyvirta
4d0f076092
If HKCU\Software\Wine does not yet exist, create it as non-volatile
...
key, instead of volatile.
2005-09-18 11:11:49 +00:00
Robert Shearman
4db3769e70
GetDesktopWindow can now potentially create a thread, so we shouldn't
...
call this function from DllMain otherwise it is possible to cause a
deadlock.
2005-09-17 14:28:44 +00:00
Alexandre Julliard
127127fd3b
Timeout 0 means infinite wait for SendMessageTimeout.
...
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Alexandre Julliard
ba41fe20bc
Fixed a few more pointer to integer typecast issues for 64-bit
...
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard
5a49e40149
SendMessageTimeout takes a DWORD_PTR not a DWORD.
2005-09-12 20:43:32 +00:00
Alexandre Julliard
5224f74be5
Make the non-client message handling functions return an LRESULT.
2005-09-12 20:30:12 +00:00
Alexandre Julliard
e1646dd215
Use MAKEINTRESOURCE instead of casts where appropriate.
2005-09-12 20:29:16 +00:00
Alexandre Julliard
556a129afa
Avoid truncating the item data to 32 bits in LB_SETITEMDATA.
2005-09-12 15:36:39 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
c6b005ac69
Fixed some more traces to use the right printf format and avoid
...
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard
5c37785881
Use Get/SetWindowLongPtr when accessing pointers in the window extra
...
bytes.
2005-09-12 12:20:38 +00:00
Alexandre Julliard
92167f6021
Use Get/SetClassLongPtr to access the module handle.
2005-09-12 12:06:26 +00:00
Alexandre Julliard
2c1b3c6a1d
The item user data has to be a ULONG_PTR.
2005-09-12 11:24:23 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Dmitry Timoshkov
7647cffbdf
Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
...
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard
e4b2a0bbbc
Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
...
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Francois Gouget
6415654f5f
If given the EWX_FORCE flag, ExitWindowsEx() should not send the
...
WM_{QUERY}ENDSESSION messages.
Add support for EWX_FORCEIFHUNG.
ExitWindowsEx() should return true if it succeeds, even if the user
cancels the shutdown.
2005-09-09 10:35:47 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
42744ff420
Don't fallback to LoadMenu16 when the window is created with a null
...
instance.
2005-09-07 09:28:08 +00:00
Alexandre Julliard
c3d87e7c69
Only access 16-bit stack if really necessary.
2005-09-07 09:26:39 +00:00
Michael Kaufmann
e1d7ff9588
- Fix text placement.
...
- Paint the border correctly if its size is bigger than 1 pixel.
- Don't paint text over the border.
- Fix the edit control placement tests: Put the edit box in a parent
window.
- Tidied up the edit control tests.
2005-09-06 11:40:01 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Jason Edmeades
34db84e1da
Listbox delete string handling should validate the range of the
...
index. Added some tests.
2005-08-27 09:24:14 +00:00
Vitaly Lipatov
a4590d2b23
- remove return: now break loop if can't change state during test
...
- add test for value returned by SwapMouseButton
- fix SwapMouseButton return value (it returns previous state)
2005-08-25 19:18:49 +00:00
Mike McCormack
f919b72769
Fix magic item handling and warnings.
2005-08-22 18:56:05 +00:00
Mike McCormack
79b29158e8
Fix gcc 4.0 warnings.
2005-08-22 10:19:34 +00:00
Mike McCormack
eafa666bee
Fix some gcc 4.0 warnings.
2005-08-22 09:26:53 +00:00
Jacek Caban
f4c4092fb5
Fix RegisterWindowMessage declaration and improve debug message.
2005-08-22 09:15:55 +00:00
Frank Richter
ad53767109
Fix wrong structure size check in GetScrollBarInfo().
...
GetScrollBarInfo() failed when SCROLL_GetScrollBarRect() returned
FALSE - however, this is the case if the scrollbar is horizontal, and
not an error indicator.
2005-08-19 13:58:22 +00:00
Mike McCormack
ad3a5ed5e4
Make sure a cursor is always returned if one exists.
2005-08-19 09:56:52 +00:00
Mike McCormack
177b237863
Fix uninitialized variable warnings emitted by gcc 4.0.
2005-08-18 10:51:22 +00:00
Frank Richter
f3491aa935
Change CB_GETCOMBOBOX to return STATE_SYSTEM_PRESSED in
...
COMBOBOXINFO.stateButton when really the button is pressed, not when
the combo is dropped down.
2005-08-16 15:57:02 +00:00
Vincent Béron
e9cac26182
Change some TRACEing formats to make more sense.
2005-08-15 09:44:34 +00:00
Alexandre Julliard
caf18a640e
Set remove to TRUE in accept_hardware_message for messages that should
...
go to a different thread. Simplify the code a bit.
2005-08-11 10:36:03 +00:00
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
Alexandre Julliard
628939d567
Use the proper WOW functions everywhere instead of the K32WOW variant.
2005-08-10 10:59:19 +00:00
Alexandre Julliard
1f90b5cff0
Make sure we don't call the graphics driver after process detach.
2005-08-10 09:56:23 +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
Alexandre Julliard
a02c5f8334
Call the USER driver directly to check for X events on RDW_UPDATENOW
...
instead of calling MsgWaitForMultipleObjects.
2005-08-03 19:16:01 +00:00
Lauri Tulmin
99889b846a
Add tests for repainting windows with CS_PARENTDC class style.
2005-08-02 09:56:25 +00:00
Alexandre Julliard
7be607f7c0
Added commented out stubs for a bunch of new functions.
2005-08-01 14:59:26 +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
Phil Krylov
a8f4b16bd0
Translate the whole wparam to/from Unicode.
2005-07-26 15:55:42 +00:00
Dmitry Timoshkov
bc07b2aca4
Take into account CS_NOCLOSE window class style and SC_CLOSE system
...
menu item state while adding MDI system menu buttons and generating
WM_SYSCOMMAND messages.
2005-07-25 11:08:59 +00:00
Alexandre Julliard
64329de2a6
Store the SysIP property using a string to avoid trouble with 16-bit
...
apps that don't expect an atom.
2005-07-22 18:40:21 +00:00
Alexandre Julliard
3ff8239dfe
Fixed get_window_properties to correctly specify the output buffer in
...
the server request (spotted by Marcus Meissner).
2005-07-22 18:31:43 +00:00
Alexandre Julliard
dac19768fa
Get rid of cursoricon.h.
2005-07-20 10:31:37 +00:00
Alexandre Julliard
98c315c7c0
Save the scope window for mouse events before overwriting it.
2005-07-19 19:14:32 +00:00
Alexandre Julliard
bf575f1f8f
Initialize the various menu global variables on demand instead of at
...
startup time.
2005-07-19 11:51:31 +00:00
Robert Shearman
7a9bacc45d
Replace calls to DIALOG_GetCharSize with code to do the equivalent
...
using GdiGetCharDimensions.
2005-07-18 18:05:33 +00:00
Alexandre Julliard
15ec968724
Load the USER driver on demand instead of at user32 load time.
...
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Alexandre Julliard
2997fc51a4
Fixed a few prototypes in the USER driver.
2005-07-18 13:20:18 +00:00
Alexandre Julliard
81008167c2
Load system metrics on demand instead of initializing everything at
...
user32 load time.
2005-07-18 09:20:07 +00:00
Felix Nawothnig
b08e77d9a3
Add stub for SetLayeredWindowAttributes.
2005-07-18 09:13:13 +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
Alexandre Julliard
b5cc0a79fb
Added a bunch of utility functions to factor out a lot of the repeated
...
code in SystemParametersInfoW.
2005-07-15 16:35:27 +00:00
Frank Richter
567b6facab
Add support for drawing gradient captions.
2005-07-15 16:31:55 +00:00
Mike McCormack
8c64ebc963
Clean up CURSORICON_Load.
2005-07-12 20:23:18 +00:00
Mike McCormack
8012754ee2
Remove CURSORICON_SimulateLoadingFromResourceW.
2005-07-12 19:18:31 +00:00
Mike McCormack
37a8e0d0c9
Modify CURSORICON_FindBestIcon/Cursor to use enumerator functions.
2005-07-12 18:11:54 +00:00
Robert Shearman
30ff940a68
Call SetLastError on errors.
2005-07-12 18:11:40 +00:00
Robert Shearman
ff93df6e0f
- Support right-aligned text in TabbedTextOut.
...
- Add documentation.
2005-07-12 18:11:26 +00:00
Robert Shearman
7dd1d21132
- Implement LB_SETLOCALE.
...
- Remove incorrect FIXMEs for LB_USETABSTOPS.
2005-07-12 17:55:35 +00:00
Robert Shearman
630c6ea6fd
The units passed into LB_SETTABSTOPS are dialog units, not logical
...
units.
2005-07-11 14:22:36 +00:00
Mike McCormack
3fe864dc81
Replace CURSORICON_CreateFromResource by CreateIconFromResourceEx.
2005-07-11 13:21:29 +00:00
Mike McCormack
61633efa93
Remove unused function args.
2005-07-11 10:56:13 +00:00
Felix Nawothnig
92f11aa780
Fix a typo.
2005-07-10 17:44:57 +00:00
Alexandre Julliard
8c518808b8
Put in place the basic infrastructure to allow supporting multiple
...
desktop windows.
2005-07-08 11:37:40 +00:00