Commit graph

122 commits

Author SHA1 Message Date
Dmitry Timoshkov
8723b12f98 user32: Windows doesn't redraw a window if it is being just moved. 2007-04-26 16:57:46 +02:00
Huw Davies
6a94516cc4 user32: Cache the text buffer length to avoid excessive calls to strlenW. 2007-04-20 13:05:05 +02:00
Huw Davies
a0dbcb2595 user32: Add a function to return the length of the text buffer. 2007-04-20 13:04:57 +02:00
Huw Davies
c79ce3cdbe user32: Keep track of whether the app has asked for the text buffer handle. 2007-04-20 13:04:53 +02:00
Alexandre Julliard
aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Jan Zerebecki
d553159eac user32: Fix to succeed reliably in test where it works by accident. 2007-04-16 13:51:53 +02:00
Andrew Talbot
b0418622c8 user32: Make function definitions and declarations agree. 2007-04-16 12:25:26 +02:00
Louis Lenders
2ca1ddd8f0 user32: Add RealChildWindowFromPoint. 2007-04-12 16:33:52 +02:00
Lei Zhang
c569ab2a67 user32: WM_ACTIVATEAPP on minimize message test. 2007-04-12 16:18:27 +02:00
Dmitry Timoshkov
56852a5eac user32: Windows uses ptMaxTrackSize to set an initial window size not ptMaxSize. 2007-04-06 12:37:53 +02:00
Paul Vriens
9707a2de58 user32/tests: Don't run unicode tests if not supported. 2007-04-05 11:56:24 +02:00
Alexandre Julliard
072698c953 winex11.drv: Store the display file descriptor directly in the server message queue.
Get rid of a few WaitForMultipleObjectsEx hacks.
2007-04-04 18:02:53 +02:00
Marcin Grześkowiak
b5ee7aee23 user32: Use charset of currently selected font in DrawTextExA. 2007-03-28 13:15:26 +02:00
Francois Gouget
d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Mikołaj Zalewski
4043b007fe user32: combobox: The text area height should be font_height+4.
The tests shows that CBGetTextAreaHeight was using a bad formula.
2007-03-27 12:31:31 +02:00
Dmitry Timoshkov
b9eb76dea0 user32: WM_GETTEXT message converters have to 0-terminate output buffer if there is enough space even if there is no text to convert. 2007-03-22 15:47:14 +01:00
Dmitry Timoshkov
6e5b36d4dc user32: Avoid compiler specific code in the DefWindowProc test. 2007-03-20 13:00:20 +01:00
Mikołaj Zalewski
4893b157e2 user32: tests: Using DefWindowProcA with RegisterClassW works under Windows. 2007-03-19 13:07:26 +01:00
Andrew Talbot
48d740855e user32: Replace inline static with static inline. 2007-03-17 20:04:08 +01:00
Huw Davies
7a43e79087 user32: Use a window's icon in preference to its class icon. 2007-03-17 19:50:56 +01:00
Dmitry Timoshkov
cecd205f13 user32: Restore erroneously removed chunk of code. 2007-03-16 11:18:23 +01:00
Rob Shearman
c3b30e5351 user32: Add several more MsgWaitForMultipleObjects tests and split them out from the main message tests. 2007-03-14 18:49:55 +01:00
Stefan Huehner
4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Juan Lang
8d31aebc5c user32: Fix a comment. 2007-03-13 12:08:30 +01:00
Aric Stewart
e499a84416 user32: Don't delete hrgnClip until we are done using it.
Thanks to Peter Oberndorfer for noticing this.
2007-03-07 12:09:23 +01:00
Andrew Talbot
3ad92b0c25 user32: Replace const pointer parameters with correct pointers to const. 2007-03-06 22:26:46 +01:00
Dmitry Timoshkov
7f7d858596 user32: Make the excessive scroll test pass under Windows. 2007-03-06 12:25:15 +01:00
Alexandre Julliard
1767b4558a server: Expose areas revealed by changes to the window region. 2007-03-05 16:43:27 +01:00
Dmitry Timoshkov
6f7a212ce3 user32: win2k and XP return broken border info in GetWindowInfo most of the time, so there is no point in testing it. 2007-03-05 12:07:50 +01:00
Dmitry Timoshkov
47661ce088 user32: Fix most of test failures when running message test under win2k and XP. 2007-03-05 12:07:35 +01:00
Clinton Stimpson
b878ad24c4 user32: Add another test for GetUpdateRect(). 2007-03-02 11:47:19 +01:00
Dmitry Timoshkov
2d87a7bb7b user32: Fix a test failure when running under Windows 2003. 2007-02-28 14:40:10 +01:00
Dmitry Timoshkov
b5186e17dd user32: Simplify height calculation. 2007-02-27 12:26:36 +01:00
Rob Shearman
3a66a787bc user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar. 2007-02-27 12:26:07 +01:00
Fabian Bieler
311423242b user32: Do not call NULL message callback. 2007-02-26 13:39:48 +01:00
Francois Gouget
3bf42961a8 user32/tests: Fix the ChangeDisplaySettingsEx() test so it succeeds on NT4. 2007-02-23 11:24:19 +01:00
Alexandre Julliard
89faee0194 server: Added support for the PM_QS_* flags in PeekMessage. 2007-02-21 15:21:05 +01:00
Dmitry Timoshkov
1936fd99ee user32: Add a CreateIcon test, make it pass under Wine. 2007-02-21 10:55:06 +01:00
Dmitry Timoshkov
e35db3408b user32: Add traces to the cursor APIs. 2007-02-21 10:55:01 +01:00
Dmitry Timoshkov
8c5d169a20 user32: Add a test for DefDlgProc(WM_SETFOCUS), make the test pass under Wine. 2007-02-20 12:24:09 +01:00
Louis Lenders
ba7207cbc0 user32: Fix error return values in DialogBoxParam + simple test. 2007-02-15 11:14:53 +01:00
Aric Stewart
1b6d127aee user32: Scroll window fix.
Fix the case where the scrolling amount exceeds the window but still
falls within the clipping rect. This generates an additional update
region that needs to be invalidated.
2007-02-14 21:45:36 +01:00
Dmitry Timoshkov
f407e9a05d user32: Avoid sending unwanted DM_GETDEFID/DM_SETDEFID messages. 2007-02-14 14:06:27 +01:00
Kirill K. Smirnov
5ccc6380fc user32/tests: Add tests for WM_SETICON. 2007-02-13 17:33:36 +01:00
Kirill K. Smirnov
828cb4f4f8 user32: Handle WM_SETICON message similarly to WM_SETTEXT. 2007-02-13 17:33:29 +01:00
Dmitry Timoshkov
474a8f5357 user32: Activate an MDI child on WM_SETFOCUS as well as on WM_CHILDACTIVATE. 2007-02-13 12:08:38 +01:00
Paul Vriens
7100dd4b33 user32/listbox: Remove deadcode (Coverity). 2007-02-09 12:05:26 +01:00
Vitaly Lipatov
c8bcbdb90d Some fixes in russian resources. 2007-02-09 11:48:28 +01:00
Louis Lenders
0679dee775 user32: Don't crash if a WM_NCCREATE message is sent with lParam=0. 2007-02-08 11:55:16 +01:00
Clinton Stimpson
7432a715ed user32: Add test cases for update rects affected by ShowWindow. 2007-02-07 20:44:03 +01:00