Commit Graph

697 Commits

Author SHA1 Message Date
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