Commit Graph

502 Commits

Author SHA1 Message Date
Andrew Talbot f394970edb user32: Constify some variables. 2007-11-26 12:27:14 +01:00
Andrew Talbot 7a8eb4c599 user32: Constify some variables. 2007-11-21 13:23:50 +01:00
Divan Burger 113f573b25 user32: Change the desktop colour and pattern to match win2k. 2007-11-21 13:22:18 +01:00
Divan Burger 91d2b609c3 user32: Fix colours to match exactly with Windows 2000. 2007-11-21 13:22:14 +01:00
Alexander Nicolaysen Sørnes 1f8ba96128 user32: Change to modern Windows colours. 2007-11-20 16:59:20 +01:00
Francois Gouget 5f1416ef2b user32/tests: Add the trailing '\n' to an ok() call. 2007-11-20 16:44:53 +01:00
Andrew Talbot 49c0bd5dd5 user32: Constify some variables. 2007-11-20 12:29:00 +01:00
Michael Stefaniuc 3e8970602c dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
Andrew Talbot 0a7513328f user32: Constify a variable. 2007-11-15 11:10:15 +01:00
Alex Villacís Lasso 00bba190aa user32: Conformance tests for DlgDirList and DlgDirSelectEx. 2007-11-15 11:09:49 +01:00
Alex Villacís Lasso bee9fbfd43 user32: DlgDirList converts path specification to uppercase. 2007-11-15 11:09:32 +01:00
Alex Villacís Lasso 56958984dd user32: Conformance tests for LB_DIR on listboxes. 2007-11-14 13:10:47 +01:00
Alex Villacís Lasso c4a77bd510 user32: DlgDirSelect tacks on a period on filenames without ext. 2007-11-14 13:10:39 +01:00
Alex Villacís Lasso 08d945dadd user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE. 2007-11-14 13:04:54 +01:00
Alex Villacís Lasso 873799df24 user32: Fix returned value of LB_DIR. 2007-11-14 13:04:44 +01:00
Andrew Talbot b673b984f2 user32: Constify a variable. 2007-11-14 11:51:19 +01:00
Francois Gouget b0afca5704 user32/tests/msg: Don't mess up lParam as it is passed on to DefWindowProcA(). 2007-11-13 23:28:06 +01:00
Dan Kegel aaa93200ad user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE. 2007-11-12 14:13:02 +01:00
Alexandre Julliard 6ff78347e2 user32: Remove a few traces that only duplicate the relay information. 2007-11-12 14:03:45 +01:00
Andrew Talbot 5f4f0fa04d user32: Constify some variables. 2007-11-12 11:41:32 +01:00
Alexandre Julliard 5fa4e85ad6 user32/tests: Fix access to an uninitialized variable. 2007-11-09 13:14:37 +01:00
Dmitry Timoshkov 5722660758 user32: Simplify some code. 2007-11-09 13:10:34 +01:00
Francois Gouget 2b6abd5f85 user32/tests: Skip some tests when DdeClientTransaction() returns NULL. This avoids some crashes on Win9x. 2007-11-09 13:06:43 +01:00
Andrew Talbot d98b83bed5 user32: Constify some variables. 2007-11-09 12:26:23 +01:00
Alex Villacís Lasso 188610e603 user32: Fix for failing tests of LB_GETTEXT on listbox on Win98. 2007-11-08 11:48:33 +01:00
Alex Villacís Lasso 5f603f823e user32: Fix LB_ITEMFROMPOINT tests for listbox control. 2007-11-08 11:48:26 +01:00
Alexandre Julliard 4f5c61ac7c user32: Removed unused NC_DrawGrayButton function. 2007-11-07 19:46:34 +01:00
Alexandre Julliard c57b5057db user32: Make all internal user32 functions and variables hidden. 2007-11-07 19:46:29 +01:00
Alexandre Julliard 2b77fed4cd user32: Fixed A<->W translations of CREATESTRUCTs that contain atoms. 2007-11-06 13:58:05 +01:00
Francois Gouget 7b00b60cf5 user32: Fix compilation on systems that don't support either nameless unions or nameless structs. 2007-11-05 15:06:31 +01:00
Alexandre Julliard a54a990b3b server: Allow to specify the class name instead of the atom to find a window. 2007-11-02 15:26:49 +01:00
Alexandre Julliard 1fc461f98b server: Allow to specify the class name instead of the atom to create a window. 2007-11-02 15:16:25 +01:00
Gerald Pfeifer c7adf5f4b2 user32: Don't check unsigned types for >= 0. 2007-11-02 12:36:55 +01:00
Alexandre Julliard 5c5e333284 user32/tests: Don't test the contents of uninitialized buffers. 2007-11-02 12:27:27 +01:00
Alexandre Julliard 8b42238b5b user32: Cache the window class name on the client side. 2007-11-02 11:57:35 +01:00
Alexandre Julliard 1ee62a8d72 user32: Properly handle integer atoms specified as strings in class names. 2007-11-02 11:42:53 +01:00
Alexandre Julliard b9b940fab9 server: Support using a name to destroy a window class too. 2007-11-01 15:28:30 +01:00
Alexandre Julliard 0762d98f7c server: Allow to send a name instead of an atom when creating a window class. 2007-11-01 13:02:01 +01:00
Alexandre Julliard bfe88a00f8 user32: Store the builtin class names in Unicode. 2007-11-01 12:55:00 +01:00
Dmitry Timoshkov 2712eb50b1 user32: Initialize more fields in the DEVMODE structure. 2007-11-01 12:41:30 +01:00
Alexandre Julliard c183a9e6e7 server: Added support for HWND_TOPMOST and HWND_NOTOPMOST. 2007-10-31 18:12:56 +01:00
Alexandre Julliard 86c8860d62 user32: SetParent should not make the window topmost. 2007-10-31 18:00:53 +01:00
Alexandre Julliard ebc6864953 user32: Don't allow changing the WS_EX_TOPMOST style with SetWindowLong. 2007-10-31 17:53:58 +01:00
Hwang YunSong(황윤성) 6aadc86297 user32: Updated Korean resource. 2007-10-31 14:09:25 +01:00
Alexandre Julliard e2b5227b65 user32: Fix a slightly incorrect assert. 2007-10-30 14:11:44 +01:00
Mikolaj Zalewski 585329ed13 user32: Better fix how to handle GetWindowLongPtr[AW](..., GWLP_WNDPROC) for builtin winprocs. 2007-10-30 14:08:50 +01:00
James Hawkins e6b658c4bf user32: Define WM_LBTRACKPOINT if it's not previously defined. 2007-10-26 14:03:47 +02:00
James Hawkins 0c22e54059 user32: Fix a test that now passes in Windows. 2007-10-26 14:03:47 +02:00
Lei Zhang 7c2263ddc4 user32: Do not send button click to dialog with disabled default button. 2007-10-25 13:52:09 +02:00
Alex Busenius ca625836de user32: Fix segfault when combobox contains a longer text than buffer_limit. 2007-10-22 16:30:53 +02:00
Alex Villacís Lasso c67d0122db user32: Tests for fix EM_SETLIMITTEXT with zeroed args. 2007-10-18 14:10:53 +02:00
Alex Villacís Lasso 48fd106ea1 user32: Fix EM_SETLIMITTEXT with zeroed args. 2007-10-18 14:10:47 +02:00
Dmitry Timoshkov 566ce8f5ed user32: Add more listbox message tests, make them pass under Wine. 2007-10-18 14:09:42 +02:00
Alexandre Julliard 07bf51efbd user32: Replace a pointer cast by FIELD_OFFSET. 2007-10-17 14:18:06 +02:00
James Hawkins 9fd2d443fe user32: Convert an HDDEDATA handle to a DDEPOKE structure for WM_DDE_POKE. 2007-10-15 22:23:11 +02:00
James Hawkins 88913f094b user32: Add tests for DdeCreateDataHandle. 2007-10-15 22:23:11 +02:00
James Hawkins 4fb3518e2a user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:11 +02:00
James Hawkins ccabbeed60 user32: Return DMLERR_MEMORY_ERROR instead of posting an ACK when fAckReq is returned by the server for WM_DDE_DATA. 2007-10-15 22:23:11 +02:00
James Hawkins 97dc032161 user32: Return DMLERR_INVALIDPARAMETER if hszItem is NULL. 2007-10-15 22:23:10 +02:00
James Hawkins dbad0ee626 user32: The server should release data sent with WM_DDE_POKE. 2007-10-15 22:23:10 +02:00
Alexandre Julliard 9f3f51bad7 user32: Fix message processing in dde test and go back to more reasonable timeouts. 2007-10-15 22:23:10 +02:00
James Hawkins 8725b39003 user32: Increase the message timeout. 2007-10-15 22:23:10 +02:00
Vincent Pelletier d62da81251 user32: Implement SPI_GETMOUSESPEED in SystemParametersInfoW. 2007-10-15 16:57:06 +02:00
Francois Gouget 1a75b5d49c user32: Fix the HRAWINPUT definition and the GetRawInputData() prototype. Update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:35 +02:00
Francois Gouget 6fc6b23287 user32/tests: Don't use nameless unions where they are not needed. 2007-10-11 19:52:36 +02:00
Karl Relton e764e61369 wineserver: Allow already peeked messages to merge. 2007-10-10 12:37:01 +02:00
James Hawkins 9cf7f8c3e2 user32: Test the ddeml server interface. 2007-10-09 20:19:42 +02:00
James Hawkins 3349afdbc0 user32: Move the test_ddeml_client function closer to the other ddeml client test functions. 2007-10-09 20:18:54 +02:00
James Hawkins c26a745444 user32: Set client_pid to zero before initializing dde. 2007-10-09 20:18:34 +02:00
Francois Gouget 81c4b91cb2 user32/tests: Remove an unneeded cast. 2007-10-09 12:31:28 +02:00
James Hawkins 58639cc814 user32: Test the ddeml client interface. 2007-10-04 12:03:36 +02:00
Rémi Assailly 06b3967978 user32: Renamed and moved SetDeskPattern. 2007-10-03 11:02:34 +02:00
Rémi Assailly 6e9fea22f8 user32: Moved some 16-bit functions. 2007-10-03 11:02:28 +02:00
Alexandre Julliard 5bd4038f6e user32/tests: Replace GWL_WNDPROC by GWLP_WNDPROC. 2007-10-02 15:01:29 +02:00
Dmitry Timoshkov 5a218e97af user32: Add a message test for ownerdrawn listbox, make it pass under Wine. 2007-10-02 13:31:46 +02:00
Alexandre Julliard 78af9e6d01 user32/tests: Compare against ASCII string first since it may not be a valid Unicode string in that case. 2007-10-01 18:08:21 +02:00
Stefan Leichter 6706a1b3fd user32: Define WINE_FILEVERSION in version resource of user.exe. 2007-10-01 14:17:48 +02:00
Rob Shearman dbfb6b0414 user32: Add tests for DefWindowProc processing the undocumented 0x3B message. 2007-10-01 12:44:10 +02:00
Dmitry Timoshkov 4830966498 user32: WM_IME_SETCONTEXT messages are optional. 2007-10-01 12:25:50 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Dmitry Timoshkov d4193a94e4 user32: Make message test pass cleanly under XP SP2. 2007-09-25 14:28:33 +02:00
L. Rahyen 43601c282b user32: Implement initial stubs for all raw input functions. 2007-09-25 14:18:40 +02:00
Anatoly Lyutin 6858ce73b6 user32/tests: Fix test for switch maximized MDI children. 2007-09-24 13:45:07 +02:00
Peter Oberndorfer 1fce55410e user32/tests: Fix dialog proc prototypes. 2007-09-21 11:51:51 +02:00
James Hawkins c8fb8c0201 user32: Add a test that shows ddeml string handles use local atoms. 2007-09-20 14:27:13 +02:00
Alexandre Julliard 2018b18638 user32/tests: We can now store binary files in the repository. 2007-09-17 16:12:03 +02:00
Alexandre Julliard 2371db52e0 user32: We can now store binary files in the repository. 2007-09-17 15:46:18 +02:00
Alexandre Julliard 9c27ed21a2 user32/tests: Properly flush events in the update rect tests. 2007-09-17 14:13:37 +02:00
James Hawkins 72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins 40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
James Hawkins 2cd2f12256 user32: Set uiLo and uiHi to zero on error. 2007-09-17 13:28:23 +02:00
James Hawkins 1eaeb3e0cd user32: Add tests for the DDE pack functions. 2007-09-17 13:28:19 +02:00
Lei Zhang 5079d20ffe user32: Edit control should respond to ctrl + z. 2007-09-13 13:36:23 +02:00
Vitaliy Margolen 2d572ec394 user32: Don't exit when double-clicking with right button held. 2007-09-11 11:49:03 +02:00
Dmitry Timoshkov 3de83dcb34 user32: Add more tests for GetUpdateRect. 2007-09-10 15:29:46 +02:00
Mikolaj Zalewski 71d77d98e2 user32: combo: CB_SETITEMHEIGHT should make the edit area 2px higher than the item (with testcase). 2007-08-31 13:24:13 +02:00
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
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
Aric Stewart ea60a508b1 user32: We are calculating the height for the drop down based on
number of items however the if statement used nIHeight (just the
height of 1 item) and not nHeight (the height all the items).
2007-02-07 20:43:58 +01:00
Clinton Stimpson f3bcc0c4f8 user32: WM_SETFONT on button doesn't repaint directly. 2007-02-06 20:23:33 +01:00
Andrew Talbot b9b2fef0a1 user32: Remove unused function. 2007-02-06 13:19:30 +01:00
Andrew Talbot 9bf24d6af7 user32: Remove unused variables. 2007-02-06 13:19:18 +01:00
Dmitry Timoshkov 65681a0e18 user32: Add the tests for minimize/restore MDI child sequence, fix some failures. 2007-02-05 21:04:20 +01:00
Dmitry Timoshkov 0fcc10fc3c user32: Although Windows sends WM_GETMINMAXINFO at the window creation time, it doesn't use returned values to set window size. 2007-02-05 14:01:49 +01:00
Andrew Talbot 29c66df45b user32: Declare some functions static. 2007-02-05 12:32:37 +01:00
Dmitry Timoshkov 8ec3423e76 user32: Dump contents of CREATESTRUCT in WM_[NC]CREATE of the message spy. 2007-02-05 12:24:59 +01:00
Dmitry Timoshkov 7670d76690 user32: Do not use DIB APIs for bitmap bits in a device dependent format. 2007-01-24 11:57:08 +01:00
Dmitry Timoshkov 81a294f76d user32: Using DIB APIs to convert a DDB to monochrome is wrong, do it differently. 2007-01-24 11:57:02 +01:00
Peter Oberndorfer 127512c938 user32: Only try to remove the MDI document icon from the frame menu when needed. 2007-01-23 11:38:03 +01:00
Louis Lenders 2a42f7ae2d user32: Define RealChildWindowFromPoint as a real stub. 2007-01-22 13:28:41 +01:00
Dmitry Timoshkov 64f1d97a54 user32: Some apps pass a color bitmap as a mask to CreateIconIndirect, convert it to b/w. 2007-01-19 12:28:57 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Mike McCormack 95fdf165cd user32: Add a test showing WM_GETTEXT doesn't crash with bad pointers. 2007-01-18 11:59:17 +01:00
Mike McCormack ce21d918d8 user32: Add an exception handler around the WM_GETTEXT handler. 2007-01-18 11:59:14 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Dmitry Timoshkov 499c26ce66 user32: Remove redundant visibility checks of a maximized MDI child, add an explanation why we do that. 2007-01-15 12:44:49 +01:00
Dmitry Timoshkov f6d5368da7 user32: Simplify some maximized MDI child checks. 2007-01-15 12:44:35 +01:00
Dmitry Timoshkov d63fd7911f user32: Remove MDI_AugmentFrameMenu call from WM_MDICREATE handler. 2007-01-15 12:44:28 +01:00