Ulrich Czekalla
7df337514b
Implement ES_CENTER and ES_RIGHT alignment styles.
2005-02-16 16:28:34 +00:00
Dmitry Timoshkov
39f960bdfa
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
...
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Mike McCormack
0fba748f2a
Add some more SPI values.
2005-02-15 15:43:43 +00:00
Dmitry Timoshkov
ca7b25ca7b
Make DDE implementation always work internally in Unicode.
2005-02-14 11:53:15 +00:00
Lauri Tulmin
caa43fe7df
Update scroll info on WM_SETTEXT.
2005-02-14 11:51:52 +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
Alexandre Julliard
e204874728
Removed the no longer used WIN_SetExStyle function.
2005-02-01 18:54:51 +00:00
Alexandre Julliard
d7726c3a73
Store the "managed" flag as a window property instead of the
...
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Dmitry Timoshkov
7266da3e82
Handle CBR_BLOCK in EXECUTE and ADVISE DDE transactions.
2005-02-01 18:47:55 +00:00
Justin Chevrier
7c14a9d493
- SPI_GETWORKAREA: Read work area information from system metrics
...
initially only and not from a WINE specific registry entry.
- SPI_SETWORKAREA: Don't save work area information to registry.
2005-02-01 18:47:05 +00:00
Alexandre Julliard
932a65dddc
WIN_ListParents no longer needs to be exported, make it static.
2005-01-31 16:46:47 +00:00
Alexandre Julliard
6db71654d3
Fixed bug that caused the whole window to be repainted by RedrawWindow
...
when the passed region was empty.
2005-01-28 17:23:25 +00:00
Tony Lambregts
ffc17dbe0d
Fix bug in CharPrevExA().
2005-01-28 11:29:37 +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
Robert Shearman
935549f5d8
Add a summary line for several scrollbar functions.
2005-01-25 10:57:41 +00:00
Bernd Fuhrmann
b6572eaa53
Added fixme macros in SystemParametersInfoW for several action numbers
...
that are yet unimplemented.
2005-01-24 12:41:39 +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
Alexandre Julliard
f936428601
Make WIN_SetStyle more thread-safe by specifying the bits to change
...
instead of the new value.
2005-01-21 10:32:13 +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
Alexandre Julliard
6382ffae2a
Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr.
2005-01-20 20:07:42 +00:00
Tanabe Hiroshi
f3ec7726c6
Added stubs for SendIMEMessageEx[A,W].
2005-01-20 19:57:58 +00:00
Lauri Tulmin
78e76cf977
Reposition caret after window resize.
2005-01-19 20:53:38 +00:00
Lauri Tulmin
7b9fb6fff3
Don't recalculate line indexes if number of lines doesn't change.
2005-01-19 19:08:25 +00:00
Alexandre Julliard
b4a64382ee
Moved DefWindowProc16 to msg16.c and cleaned up a few related things.
2005-01-18 11:45:17 +00:00
Alexandre Julliard
6758db9a0c
Get rid of nonclient.h and of the corresponding exported functions in
...
user32.spec.
2005-01-17 20:27:11 +00:00
Lauri Tulmin
8ba0ef86dc
Make long lines behave nicely.
2005-01-17 19:31:48 +00:00
Alexandre Julliard
b819f4cd5c
Removed a couple of unnecessary calls to WIN_SuspendWndsLock.
2005-01-17 15:49:02 +00:00
Alexandre Julliard
d820437b19
Removed unused ForceWindowRaise function.
2005-01-17 13:46:57 +00:00
Justin Chevrier
f44d0692f1
Created unit test for SPI_{GET,SET}MINIMIZEDMETRICS.
2005-01-14 16:49:33 +00:00
Justin Chevrier
acb223ee21
- Implemented SPI_GETMINIMIZEDMETRICS calculated from values returned
...
by GetSystemMetrics.
- Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set
here are valid for the current session only and will not persist
across reboots.
2005-01-14 16:49:12 +00:00
Justin Chevrier
a33c7d89db
- Revert previous change of border metric to reference the
...
registry. Testing on Win98/WinXP showed that regardless of the
"BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
to make it match Windows.
2005-01-12 19:28:16 +00:00
Dmitry Timoshkov
61b5e90d34
Make Alt press/release test actually pass for not managed windows.
2005-01-11 15:47:13 +00:00
Dmitry Timoshkov
d2512860ac
Fix WmCreateCustomDialogSeq message sequence for 256 color mode.
2005-01-11 15:45:32 +00:00
Alexandre Julliard
56206376b8
Desktop window is repainted on WM_ERASEBKGND, it must never get a
...
WM_PAINT.
2005-01-11 15:15:11 +00:00
Andreas Mohr
5b1fbcf778
Read/write completion functions get Windows error codes, not NT status
...
codes.
2005-01-11 15:12:28 +00:00
Jacek Caban
7e2a7c949d
Get rid of W->A calls.
2005-01-11 15:10:56 +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
Vitaly Lipatov
386cf457c9
Added handling of SBM_GETSCROLLBARINFO message.
2005-01-09 16:35:41 +00:00
Huw D M Davies
45cf31b7ac
Revert GetScrollBarInfo spec entry back to a stub to fix compilation
...
failure.
2005-01-08 08:57:08 +00:00
Diego Pettenò
6febc8a7f8
Added stub implementation for WINNLS* functions.
2005-01-07 17:15:30 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Dmitry Timoshkov
830b58c02b
Add a windows events hook to the message test.
2005-01-06 20:43:34 +00:00
Justin Chevrier
01e2bdbf16
- Obtain border size of windows from registry if available.
...
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
it with all currently supported metrics (that are setup to read from
the registry).
2005-01-06 19:39:52 +00:00
Alexandre Julliard
aef0d18d97
Use the DC origin to map coordinates in ExcludeUpdateRgn instead of
...
calling an internal DCE function.
2005-01-04 12:11:09 +00:00
Robert Shearman
5bded56016
Fix colours used for SS_*RECT, SS_*FRAME.
2005-01-04 11:51:14 +00:00
Alexandre Julliard
75f87dd43f
Get rid of the ThunkData stubs, these are not functions.
2005-01-03 20:47:48 +00:00
Hans Leidekker
c730eec6e1
Stub implementations for GetAltTabInfo{A,W}.
...
Forward GetAltTabInfo to GetAltTabInfoA.
2005-01-03 17:02:34 +00:00
Justin Chevrier
e603d1a0dd
Converted system metrics to Unicode.
2005-01-03 16:59:41 +00:00
Jacek Caban
dfa192ae28
Get rid of HEAP_strdupWtoA calls.
2005-01-03 16:07:37 +00:00
Dimitrie O. Paun
d6cf14d7b6
Add test for the listbox item height.
2005-01-03 14:40:13 +00:00
Dimitrie O. Paun
08025d7db9
SS_CENTERIMAGE has been implemented.
2005-01-03 14:36:25 +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
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Mike McCormack
6533efb6a0
Dump known but unimplemented SystemParameterInfo actions.
2004-12-23 11:24:25 +00:00
Ulrich Czekalla
5415686935
If a dialog with the DS_CONTROL style is not visible then ignore
...
default focus assignment.
2004-12-21 16:01:50 +00:00
Rein Klazes
c0b189b3b6
You can make an invisible window the active window.
2004-12-21 14:36:32 +00:00
Jon Griffiths
32454a81a5
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-20 19:00:11 +00:00
Rein Klazes
b681cd1818
- make sure that tests marked as todo_wine and actually succeed under
...
wine will be counted as failures
- remove todo_wine from a bunch of tests
- log the line numbers of the actual tests, not those of a helper
function.
2004-12-20 16:59:26 +00:00
Robert Shearman
6b85523c59
Implement SS_CENTERIMAGE for static control.
2004-12-17 18:53:32 +00:00
Dmitry Timoshkov
99fda0a1de
Add a mouse input test case, make the test pass under Wine.
2004-12-17 18:49:24 +00:00
Francois Gouget
eb3f078c75
Add trailing '\n's to ok() calls.
2004-12-14 11:41:24 +00:00
Alexandre Julliard
25b6493aee
Added some sanity checks on window dimensions.
2004-12-09 16:58:00 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Alexandre Julliard
4a9b22b2c3
Merged system metrics support into sysparams.c, and moved that file to
...
the dlls/user directory.
2004-12-09 13:48:56 +00:00
Rein Klazes
bcb3490d3c
GetUpdateRect can be called with a NULL rect.
2004-12-08 19:43:45 +00:00
Mike McCormack
42d55786b9
Stub implementation for GetLastInputInfo.
2004-12-08 19:41:36 +00:00
Alexandre Julliard
6a78c16aac
Moved private USER definitions to a new user_private.h header, and
...
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard
d646c7ed32
Moved some more 16-bit USER functions to the corresponding 16-bit
...
files.
2004-12-08 14:15:24 +00:00
Alexandre Julliard
56ef1fec30
Moved palette functions to user_main.c and removed
...
windows/painting.c.
2004-12-08 14:12:09 +00:00
Dmitry Timoshkov
a6429d6065
Indicate that support for HCBT_SYSCOMMAND hooks is implemented.
2004-12-08 13:38:25 +00:00
Alexandre Julliard
4bfeb2840a
Added a bunch of tests for various behaviors of RedrawWindow.
2004-12-07 17:34:19 +00:00
Alexandre Julliard
5defa49979
Moved update region handling to the server.
2004-12-07 17:31:53 +00:00
Dmitry Timoshkov
12f49fb9b1
ShowWindow activates only a being maximized child window, add a couple
...
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Robert Shearman
cba8763c33
Remove unnecessary WNDPROC casts.
2004-12-06 11:51:29 +00:00
Bill Medland
22da469b20
If the buffer is no longer static the names should reflect that.
...
Also minimise the use of the constant.
2004-12-01 15:29:04 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Dmitry Timoshkov
ba0ee349e6
DrawTextEx should allocate text buffer on stack for thread safeness.
2004-11-30 17:21:16 +00:00
Mike McCormack
174ae13752
Added some tests for timer functions.
2004-11-29 18:21:14 +00:00
Alexandre Julliard
e0db46c4aa
Get rid of the client-side window timer structures.
2004-11-29 18:18:02 +00:00
Eric Kohl
6199da3955
F4 key flips the listbox in default (not extended UI) mode.
2004-11-29 17:51:23 +00:00
Alexandre Julliard
7469973023
Take advantage of the new winproc handling to move some more functions
...
to 16-bit files.
TIMER_IsTimerValid is no longer necessary now that winprocs are never
freed.
2004-11-28 15:10:28 +00:00
Ge van Geldorp
c33c2da87d
- Fix vertical position of text in single-line edit controls.
...
- Add tests for this.
2004-11-28 14:55:42 +00:00
Alexandre Julliard
648994c3ef
Changed winproc allocation to be based only on the procedure address,
...
to avoid the need to keep track of winprocs for each window and class.
2004-11-24 18:43:18 +00:00
Alexandre Julliard
c329cc4f9c
Fixed handling of NULL pointer in PeekMessageW, with test (reported by
...
Eric Frias).
2004-11-23 17:39:13 +00:00
Eric Frias
f81b6517b8
Accelerator resource struct fix for sparc.
2004-11-21 15:41:38 +00:00
Alexandre Julliard
fc92ecb2f8
Fix conflicting structure tag.
2004-11-19 18:26:20 +00:00
William Poetra Yoga H
a8b5d29f5f
Give the first menu item of a popup menu a distance of 1 pixel to the
...
top border.
2004-11-08 22:12:42 +00:00
Vitaliy Margolen
d1e44d0763
- return "want all keys" for WM_GETDLGCODE when multi-line
...
- single-line edit control does not want all messages
- additional style combinations are possible for both multi-line and
single-line edit controls
- tests to confirm it
2004-11-08 22:10:05 +00:00
William Poetra Yoga H
cb2595932c
Fix the button edge color, by using the BF_SOFT border style for
...
buttons.
2004-11-08 20:24:26 +00:00
Alexandre Julliard
bcb1f8fe05
Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
...
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Ivan Leo Puoti
bc5ffc212b
Remove DS_SYSMODAL from msgbox resource.
2004-10-30 02:11:50 +00:00
Dmitry Timoshkov
dd138e3176
Clean up user32/input.c test, remove the wrong assumption that a
...
window always receives input focus upon creation.
2004-10-29 21:27:04 +00:00
Dmitry Timoshkov
1945e6b7ba
Flush pending messages before testing painting message sequences.
2004-10-27 21:18:01 +00:00
Dimitrie O. Paun
e89adaa84c
Move the hwnd self into the listbox LB_DESCR struct.
...
Use proper types/names in all cases.
Fix some bad indentation.
2004-10-26 22:03:00 +00:00
Dmitry Timoshkov
e898c53f2c
Make button return exactly the same dialog codes as Windows does.
...
Add a test case.
2004-10-26 21:18:10 +00:00
Dimitrie O. Paun
438ac9d56f
Use proper types/names in all cases. Fix some indentation.
2004-10-25 21:49:30 +00:00
Alexandre Julliard
d3c0cb77d9
VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
...
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Dmitry Timoshkov
b1267aec5e
Make TranslateAcceleratorA handle national characters.
2004-10-19 21:10:17 +00:00
Dmitry Timoshkov
5736111c83
Protect USER32 against early graphics driver unloading.
2004-10-18 21:25:26 +00:00
Dimitrie O. Paun
134560e9e5
Implement LBS_COMBOBOX, and make use of it.
...
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
Marcus Meissner
77ad4cebbc
Stub function for OpenInputDesktop.
2004-10-18 19:38:01 +00:00
Dmitry Timoshkov
c3cecc5d57
- WM_MDISETMENU handler should update new frame menu only if an active
...
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dimitrie O. Paun
d0c950c808
Audit the listbox control.
...
Fix some indentation problems.
2004-10-11 19:51:16 +00:00
Dmitry Timoshkov
132470a2b1
Properly handle the case when last MDI child is being destroyed.
2004-10-08 23:36:18 +00:00
Dimitrie O. Paun
861f6240a2
Audit the scroll control.
...
Reorganize the documentation in a more readable format.
2004-10-08 20:51:05 +00:00
Dimitrie O. Paun
91e7437aab
Audit the edit control.
2004-10-08 20:50:52 +00:00
Alexandre Julliard
998863bf63
Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
...
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov
0c48fbc624
Skip interthread message test under win9x, it causes a crash there.
2004-10-06 18:51:27 +00:00
Steven Edwards
1e23cb7d33
Remove useless FIXME in comment.
2004-10-06 00:05:07 +00:00
Dmitry Timoshkov
b0c45123e5
Add a test case for accelerators, make the test pass on Wine.
2004-10-05 23:45:35 +00:00
Dmitry Timoshkov
7c7693f8d0
Added a test case for inter-thread DispatchMessage.
2004-10-05 22:35:00 +00:00
Jon Griffiths
7a9e800566
Draw background of the empty selected item in empty lists.
...
Don't draw a focus rect if we dont have the focus.
Don't select items on key up/down in multi-select lists.
Handle LBS_NOSEL correctly, fix remaining todo_wine tests.
2004-10-05 22:31:00 +00:00
Dimitrie O. Paun
7e8d5cebb7
Audit combo control code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:39:35 +00:00
Dimitrie O. Paun
0c202b7483
Audit the static control code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:11:29 +00:00
Dimitrie O. Paun
4c90609067
Audit and document button code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
Change WM_GETDLGCODE as per the MSDN documentation.
2004-10-05 04:11:13 +00:00
Dmitry Timoshkov
01a88ff01e
If there no MDI child to activate set hwndActiveChild to 0 in
...
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Dmitry Timoshkov
11d550dfa8
Add more message conversion tests, make the tests pass under Wine.
2004-10-04 20:39:00 +00:00
Robert Shearman
85a707e378
Add tests for conversion of message parameters.
2004-10-04 19:10:37 +00:00
James Hawkins
336d84583c
Limit scrolling of the edit control to the last line of text.
2004-09-29 21:04:18 +00:00
Richard Cohen
52373b2df3
MenuItemFromPoint shouldn't crash if there's no menu.
2004-09-24 00:22:13 +00:00
Dmitry Timoshkov
64d69b60c9
- Skip shell window test on Win9x and restore its functionality on NT
...
platforms.
- Use keybd_event instead of SendInput in order to perform keyboard
input test on Win95 as well.
2004-09-23 22:52:26 +00:00
Robert Shearman
bbdac5e475
GetWindowLong -> GetWindowLongPtr.
2004-09-22 19:14:08 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Dmitry Timoshkov
a1ccb921bd
Make message flow for MDI creation/activation/destruction more like in
...
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Dmitry Timoshkov
2abf2c7aa5
Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
...
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Ulrich Czekalla
4543c27822
Handle painting the border if WS_EX_CLIENTEDGE is not set.
2004-09-16 20:28:10 +00:00
Dmitry Timoshkov
9c2dcb255e
Add a test case for WM_KEY* to WM_SYSKEY* message conversion.
2004-09-16 19:09:44 +00:00
Dmitry Timoshkov
30db053f2a
Accept WM_SYSCHAR message for processsing in TranslateAcceleratorW.
2004-09-16 19:09:30 +00:00
Dimitrie O. Paun
630dc0f5a9
Use the W version of the function were we can.
2004-09-15 18:04:07 +00:00
Steven Edwards
4d563e0195
Added stub for SwitchDesktop.
2004-09-14 19:29:11 +00:00
Alexandre Julliard
9f53add86c
Stop testing a sequence upon the first expected error, to avoid
...
spurious errors later on.
2004-09-14 00:46:03 +00:00
Dmitry Timoshkov
914231e87b
Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND
...
in the message test.
2004-09-13 19:32:59 +00:00
Dmitry Timoshkov
18651f778e
Add a bunch of new MDI tests.
2004-09-13 19:16:31 +00:00
Dmitry Timoshkov
d304e4f80d
Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make
...
the tests pass on Win95/Win98/Win2000, fix some test failures under
Wine.
2004-09-13 18:03:09 +00:00
Michael Kaufmann
53374683c8
Make the menus of Delphi applications work.
2004-09-10 22:29:32 +00:00
Zach Gorman
9358f3e9a1
The initial dialog focus should be established by the default handler
...
for SetFocus(), not in the dialog creation code.
2004-09-10 22:29:02 +00:00
Zach Gorman
5c8ceb497e
Modal dialogs should not be shown via ShowWindow until the message
...
queue first runs empty. This allows all initialization to complete
before a default focus is assigned.
2004-09-10 21:27:02 +00:00
Zach Gorman
9b5c0ff375
Added tests for default focus assignment in dialogs.
2004-09-10 21:14:43 +00:00
Ulrich Czekalla
322cd5de80
Allow copying selection when control is read only.
2004-09-09 19:18:40 +00:00
Alexandre Julliard
92acc58af6
Get rid of the WIN_SetRectangles export from user32.
2004-09-09 00:30:29 +00:00
Alexandre Julliard
371662faca
Fixed some message sequences to succeed on XP.
...
Added some tests for showing/hiding a child window with an invisible
parent.
2004-09-08 22:02:23 +00:00
Dmitry Timoshkov
5344d70c16
Reset BUTTON_HASFOCUS state in WM_KILLFOCUS handler before calling
...
ReleaseCapture.
2004-09-07 19:33:11 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Alexandre Julliard
28a8cacaf5
GetUpdateRect should return TRUE even if only the non-client area is
...
invalid (reported by Rein Klazes).
2004-09-02 20:13:19 +00:00
Francois Gouget
6825ed811d
Added missing trailing '\n's to ok() calls.
2004-09-02 20:09:37 +00:00
Alexandre Julliard
80bba3bd61
Moved keyboard.c to dlls/user/kbd16.c.
...
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Alexandre Julliard
f56c6fb9b2
Moved some window painting functions to uitools.c.
2004-09-01 18:26:40 +00:00
Alexandre Julliard
2ceb42dd43
Moved all files from the controls/ directory to dlls/user.
2004-08-31 01:10:08 +00:00
Alexandre Julliard
3c39a9912e
Get rid of the non-standard CONV_POINT and CONV_RECT functions.
2004-08-31 00:02:02 +00:00
Alexandre Julliard
97f4e4ef7d
Removed struct32.[ch].
2004-08-30 19:32:08 +00:00
Alexandre Julliard
c158550998
Moved a couple of 16-bit functions to user16.c.
2004-08-30 18:42:17 +00:00
Mike McCormack
9386cb2228
Use Heap functions instead of malloc/free.
2004-08-30 18:40:47 +00:00
Dmitry Timoshkov
58fe866d01
Button should do ReleaseCapture() on WM_KILLFOCUS if it's in a pressed
...
state.
Add a comprehensive test case for capture behaviour.
2004-08-26 18:33:40 +00:00
Dmitry Timoshkov
93dd39a37c
Button should send BM_SETSTATE message after it has changed its
...
internal state.
2004-08-26 18:31:56 +00:00
Dmitry Timoshkov
58e93d5e14
Fix msg test failures when run under win2k.
2004-08-26 18:21:56 +00:00
Alexandre Julliard
009ae91f34
Added some tests for paint messages and update regions.
2004-08-26 00:49:06 +00:00
Alexandre Julliard
0ba0d7a119
GetUpdateRgn should clip the returned region to the client area.
...
Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
Moved these 3 functions to dlls/user/painting.c.
2004-08-26 00:46:11 +00:00
Alexandre Julliard
f466c651ae
Allow enabling or disabling todo_wine for each message sequence so
...
that we can properly test the sequences that are already correct.
2004-08-25 17:35:06 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies
174e6a5d28
Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif.
2004-08-24 18:33:01 +00:00
Ferenc Wagner
1b53ecba89
The desktop process is not automatically restarted under Win95, so
...
stop killing it.
2004-08-16 23:19:02 +00:00
Francois Gouget
e69f38551e
Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
...
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Alexandre Julliard
87115b23c2
WM_NEXTDLGCTL should not change the default button ID (based on a
...
patch by Krishna Murthy).
2004-08-14 00:44:08 +00:00
Alexandre Julliard
b459952144
Avoid some non-portable makefile constructs, and get rid of the
...
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Francois Gouget
9806c99033
Define _WIN32_WINNT otherwise we are missing some definitions with the
...
Windows headers.
2004-08-11 18:50:40 +00:00
Dmitry Timoshkov
d134ca1ea8
Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case.
2004-08-09 23:38:40 +00:00
Hans Leidekker
dbb3e14748
Fix signed/unsigned comparison warnings.
2004-08-09 18:52:18 +00:00
Henning Gerhardt
68ade3b7ac
Minor fixes and updates to the German resource files.
2004-07-22 20:35:07 +00:00
Zach Gorman
4bb95f3915
Add test to demonstrate DrawText() with DT_CALCRECT incorrect behavior
...
in MM_HIENGLISH mapping mode.
2004-07-20 22:09:14 +00:00
Krishna Murthy
d84de2c4a1
Added regression test for WM_NEXTDLGCTL and default button ID
...
behavior.
2004-07-16 23:22:49 +00:00
Eric Frias
0b072cb67a
Fixed memory allocation bug.
2004-07-14 21:46:25 +00:00
Sami Aario
00f1b61c82
Added tests for registering a dialog box created by using the CLASS
...
directive in a resource file, then creating the dialog using
CreateDialogParam.
2004-07-14 00:52:55 +00:00
Alexandre Julliard
218c478d24
Allocate the dialog info in DIALOG_CreateIndirect if this wasn't
...
already done by the dialog procedure.
2004-07-14 00:49:40 +00:00
Alexandre Julliard
503ffff9a5
Allow specifying multiple graphics drivers and use the first one that
...
loads successfully.
2004-07-13 03:53:55 +00:00
Mike McCormack
194450d8ff
Add a regression test for accelerators.
2004-07-12 23:27:09 +00:00
Mike McCormack
e983f757a3
- Windows always strips the high bit (0x80) of the fVirt member in the
...
accelerator structure.
- If the FVIRTKEY bit of fVirt is set, the value of the key field is
limited to the range of one byte.
- Remove annoying fixmes about accelerator table checking. Windows
appears to do no more checking than the above.
2004-07-12 23:26:05 +00:00
Mike McCormack
9243c96e01
- CopyAcceleratorTable can cause a buffer overflow because it uses an
...
incorrect comparison between the number of accelerator entries
available and the number of accelerator entries in the output buffer.
- My tests show that CopyAcceleratorTable always strips the high bit
of the fVirt member of the accel struct.
- Calling DestroyAcceleratorTable with a NULL accelerator should
return FALSE.
2004-07-12 20:42:30 +00:00
Mike McCormack
126884f030
Stop PrivateExtractIcons from crashing given an invalid icon index.
2004-07-12 19:53:36 +00:00
Dmitry Timoshkov
a98beddcce
Add a test case for scroll APIs, fix a few bugs spotted by it.
2004-07-09 19:25:26 +00:00
Dmitry Timoshkov
81fa85cdb8
Add more MDI message tests.
2004-06-30 18:16:08 +00:00
Dmitry Timoshkov
b3569e7015
Add a test case for clipboard functionality and fix some bugs revealed
...
by it.
2004-06-25 02:55:37 +00:00
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
Ulrich Czekalla
06a60621ab
ScrollDC should take into account overlapped windows. With this change
...
ScrollWindowEx can be moved out of X11drv.
2004-06-15 17:04:02 +00:00
Huw Davies
e937e469b1
Fix 'pointers are not permitted as case values' compile error.
2004-06-14 19:35:14 +00:00
Dmitry Timoshkov
752de682c9
Set last DDE error in XTYP_EXECUTE handler according to the value
...
returned by an application.
2004-06-14 16:58:19 +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