Commit Graph

256 Commits

Author SHA1 Message Date
Trent Waddington fc635fa827 server: Handle existing timer replacement when no window handle specified. 2007-08-30 19:08:16 +02:00
Mikolaj Zalewski 613cfc2870 user32: Static controls should have a clipping region set while sending the WM_CTLCOLORSTATIC. 2007-08-30 12:34:31 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Alexandre Julliard 2896540a34 server: Set the queue mask directly in get_message to avoid an extra server call. 2007-08-29 18:13:13 +02:00
Steven Edwards a725826ada user32: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:34 +02:00
Alexandre Julliard df13cee288 server: Store a separate flag for windows that need to be erased in WM_PAINT.
This avoids the need to invalidate the window after WM_ERASEBKGND.
2007-08-27 16:41:08 +02:00
Alexandre Julliard 5bd497f3ca server: Moving a window should only expose the immediate parent. 2007-08-27 15:21:19 +02:00
Alexandre Julliard a887a64c17 user32: SetWindowPos should erase the parent also for child moves. 2007-08-27 15:13:51 +02:00
Alexandre Julliard 8bbeadf565 user32: IsChild must not consider the desktop window. 2007-08-24 10:56:51 +02:00
Alexandre Julliard 149cbb1b60 server: Validate the parents every time we paint a window instead of only on RDW_UPDATENOW. 2007-08-23 20:22:30 +02:00
Alexandre Julliard 04a9f93f62 user32: Thread-local hooks need a module if they don't belong to the current process. 2007-08-22 12:19:00 +02:00
Alex Villacís Lasso 89939b5a2b user32: Fix change-drive in Win3.1-style file open dialog. 2007-08-20 22:24:40 +02:00
Alex Villacís Lasso 4d99a8182d user32: Fix crash while dir-navigating in Win3.1-style file open dialog. 2007-08-20 22:23:16 +02:00
Alexandre Julliard f48eb1581d winex11: Force a window to managed mode when it is activated. 2007-08-20 22:06:50 +02:00
Alexandre Julliard f09bcc3eef user32/tests: Allow WM_MOUSEACTIVATE in the mouse hover test for compatibility with X11 focus policy. 2007-08-20 22:03:06 +02:00
Alexandre Julliard 1b6533bc2c user32/tests: Use flush_events more consistently in the message tests. 2007-08-20 22:01:55 +02:00
Paul Vriens 5748f15826 user32/tests: Run tests on win95 again. 2007-08-16 11:08:13 +02:00
Peter Verthez 13b376df73 user32: LB_SETITEMDATA should return 1 on success, not 0. 2007-08-14 20:29:21 +02:00
Jason Edmeades 902a384b38 user32: Fix regression in alt, then right processing with eg wines notepad. 2007-08-13 12:00:36 +02:00
Jason Edmeades 76943c2a41 user32: Allow alt+space to highlight system menu. 2007-08-13 12:00:22 +02:00
Marcus Meissner f76de3d002 user32: Initialize MONITORINFO.cbSize. 2007-08-13 11:38:59 +02:00
Detlef Riekenberg 03cd537751 user32: Call a 16-Bit winproc again. 2007-08-13 11:37:40 +02:00
Mikołaj Zalewski 5e9ced90f7 user32: CallWindowProc[AW] for mismatched built-in winprocs should take into account if the window is Unicode. 2007-08-10 13:53:35 +02:00
Jason Edmeades 39d615eeed user32: Skip system menu entries when using keyboard. 2007-08-09 15:02:38 +02:00
Dmitry Timoshkov ce1ab638da user32: CBN_SELCHANGE notification should be sent before an edit update. 2007-08-09 14:40:59 +02:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Alexandre Julliard c7b1b4c68b user32: WM_IME_CHAR should result in posted, not sent, WM_CHAR messages. 2007-08-09 13:14:20 +02:00
Alexandre Julliard 2ce799c4f6 user32: Support for the magic WM_CHAR W->A conversion in Get/PeekMessage. 2007-08-09 13:13:00 +02:00
Alexandre Julliard b9540cf9e7 user32/tests: Added test cases for WM_CHAR conversions. 2007-08-08 18:25:57 +02:00
Alexandre Julliard 82964f5032 user32: Added support for the magic WM_CHAR A->W conversions in Send/Post/DispatchMessage. 2007-08-08 18:25:38 +02:00
Alexandre Julliard 334ede4099 user32: Factor out the calling of a window's winproc into a separate function. 2007-08-08 17:02:42 +02:00
Alexandre Julliard 01de889c0f user32: Factor out the various SendMessage functions into a common routine. 2007-08-08 16:23:23 +02:00
Alexandre Julliard d00d54ebeb user32: Get rid of winproc.h and move definitions in user_private.h. 2007-08-08 15:31:59 +02:00
Alexandre Julliard c4245a7fb6 user32: Fixed the return value of DispatchMessageA/W. 2007-08-07 17:45:10 +02:00
Alexandre Julliard 0bd1fc4633 user32: Store all builtin winprocs at the start of the array.
This allows checking for them in CallWindowProc and avoid message
translation in that case.
2007-08-02 17:08:48 +02:00
Alexandre Julliard ce7bfd6a3f user32: Erase parent window when child is hidden. From a patch by Clinton Stimpson. 2007-07-31 20:32:15 +02:00
Detlef Riekenberg b90c6e2792 user32: Add a stub for GetAppCompatFlags2. 2007-07-31 12:34:48 +02:00
Clinton Stimpson f4af6455a8 user32: Also test parent messages when hiding child window. 2007-07-30 15:27:18 +02:00
Alexandre Julliard 809d47839d user32/tests: Flush events more aggressively in mouse input test. 2007-07-25 13:46:42 +02:00
Jason Edmeades ca710edc34 user32: MDI tile and cascade should not resize non-resizable windows. 2007-07-24 11:27:55 +02:00
Jason Edmeades 1c07a97ffd user32: Correct trace to log calculated values rather than uninitialized ones. 2007-07-24 11:26:46 +02:00
Vitaliy Margolen dcdf7c55d6 server: Treat desktop as a top-level window. 2007-07-23 11:53:06 +02:00
Vitaliy Margolen 9380eb3127 user32: Add test for SetForegroundWindow(desktop). 2007-07-23 11:49:46 +02:00
Nigel Liang c52ce9bccc winex11.drv: Implement XIMPreEditCaretCallback. 2007-07-20 11:58:35 +02:00
Anatoly Lyutin e8606d5694 user32: Add comment to a function. 2007-07-20 11:44:47 +02:00
Mikołaj Zalewski 46a48c40ad user32/tests: Simplify a test. 2007-07-20 11:40:44 +02:00
Michael Stefaniuc 02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
Vitaliy Margolen 9c9174efac user32/test: Destroy no longer needed test dialog windows. 2007-07-19 11:53:58 +02:00
Aric Stewart 1afbc2c957 user32: Change SetDeskWallPaper spec. 2007-07-16 13:36:36 +02:00
Alexandre Julliard 4688389d74 user32: Allocate a dual A/W winproc for DefWindowProc. 2007-07-12 15:45:19 +02:00
Alexandre Julliard cc90b25aef user32: Check both A and W proc for previously allocated winprocs.
Some apps get a winproc as A and then set it again as W.
2007-07-12 15:45:00 +02:00
Alexandre Julliard ec5e295ef2 user32/tests: Flush messages more aggressively in a couple of tests. 2007-07-11 14:40:19 +02:00
Paul Vriens 24123e8603 user32/tests: Use skip. 2007-07-03 20:39:32 +02:00
Paul Vriens 918a2911bf user32/tests: Use skip. 2007-07-03 20:39:31 +02:00
Markus Gömmel ddb4be2bb0 user32: Center MessageBox dialogs to desktop, as Windows does. 2007-07-02 13:32:17 +02:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Paul Vriens 027afb495a user32/tests: Only do the GetProcAddress once. 2007-06-21 15:37:49 +02:00
Dmitry Timoshkov ea2613fe61 user32: Make MDI get_client_info checks more strict. 2007-06-20 15:10:58 +02:00
Dmitry Timoshkov 4d8f84cbdd user32: When inserting a menu item make sure that MDI system buttons stay on the right side. 2007-06-20 15:10:58 +02:00
Dmitry Timoshkov 79de98f982 user32: Insert menu item only after contents of the passed in menu item info have been verified. 2007-06-19 11:59:07 +02:00
Alexandre Julliard bd8a4e3aae user32/tests: Avoid strlen in trace. 2007-06-15 12:43:31 +02:00
Lei Zhang dd88237d3e user32: Remove a unused variable from ES_PASSWORD test. 2007-06-15 12:40:34 +02:00
Lei Zhang 7dd98bb993 user32: Improve cut/copy/paste behavior of password edit boxes. 2007-06-14 13:54:34 +02:00
Anatoly Lyutin c2bf60b004 user32: tests:msg Add test for switching MDI children. 2007-06-13 13:37:49 +02:00
Dmitry Timoshkov 7d482d8e7e user32: Do not hardcode cp1252 for an icon/title font. 2007-06-11 13:49:50 +02:00
Alexandre Julliard 6797f15a64 user32: Fix a printf format warning. 2007-06-01 13:42:37 +02:00
Vitaliy Margolen d4fc05a9b7 user32/test: Add few tests for messages sent from SetForegroundWindow(). 2007-06-01 12:51:10 +02:00
Dmitry Timoshkov 9a295e7f87 user32: Fix some compilation warnings in 64-bit mode. 2007-05-30 13:24:27 +02:00
Francois Gouget 1ecd90a222 user32/tests: SWP_STATECHANGED is an undocumented flag so define it ourselves. Fixes compilation with the PSDK. 2007-05-29 12:12:14 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 141673c222 user32/tests: Fix a problem revealed by compilation in 64-bit mode. 2007-05-24 11:36:31 +02:00
Andrew Talbot 93c5779458 user32: Exclude unused headers. 2007-05-21 13:36:18 +02:00
Andrew Talbot 6030e4d549 user32: Exclude unused headers. 2007-05-21 13:36:13 +02:00
Andrew Talbot eafdcd11f1 user32: Exclude unused headers. 2007-05-21 13:36:08 +02:00
Andrew Talbot 01e93cc2d1 user32: Exclude unused headers. 2007-05-21 13:36:02 +02:00
Francois Gouget a3c0d9a643 user32/tests: Fix compilation with gcc 2.95. 2007-05-21 12:38:55 +02:00
Michael Karcher 5058fabf1e user32: Reduce the PeekMessage timeout to zero for USER16_AlertableWait. 2007-05-18 20:04:53 +02:00
Dmitry Timoshkov 4de936e181 user32: Remove duplicated code. 2007-05-16 15:51:31 +02:00
Anatoly Lyutin 86aa0491d6 user32: mdi: Fix switch with wParam in WM_SYSCOMMAND processing. 2007-05-16 15:47:55 +02:00
Dmitry Timoshkov 34015b93a4 user32: Add a test for the menu resource loader, make it pass under Wine. 2007-05-15 12:28:17 +02:00
Dmitry Timoshkov 7f189eccb9 user32: Add a test for CheckMenuRadioItem and make it pass under Wine. 2007-05-15 12:28:03 +02:00
Dmitry Timoshkov 1eea906dad user32: Windows doesn't send the initialization messages to a dialog if a passed in dlgProc is NULL. 2007-05-08 13:26:01 +02:00
Mikołaj Zalewski 521cba2bc7 user32: Fix TabbedTextOut.
The TEXT_TabbedTextOut didn't set correctly the text starting point
(x0) for left-aligned tabs and was ignoring the last tab. I've also
changed GetTextMetricsA to W as this should be slightly faster.
2007-05-03 14:36:20 +02:00
Kevin Koltzau 069f5b90ae user32: Draw menu item bitmaps in the correct location when the scroll arrows are active. 2007-04-27 11:49:01 +02:00
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