Commit Graph

43 Commits

Author SHA1 Message Date
Piotr Caban 6c5d4cb07e user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows. 2015-02-06 00:28:34 +09:00
Piotr Caban 91eced0ce5 user32: Only store dialog focus when window is hidden or inactive. 2015-01-07 23:48:28 +01:00
Frédéric Delanoy bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Dmitry Timoshkov f237d5eef2 user32/tests: Fix dialog tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Alexandre Julliard 3369c53202 user32/tests: Define the required Windows version before including anything. 2013-02-18 14:51:05 +01:00
Alex Henrie 4b67e6c778 user32: Correct dialog focus behavior. 2012-08-16 11:59:23 +02:00
Dmitry Timoshkov 38387dcffe user32: IsDialogMessage should allow control ids other than IDOK when processing WM_KEYDOWN. 2012-03-29 20:49:19 +02:00
Alex Henrie 59c398b8ed user32: If a dialog has no tab-accessible controls, set focus to first control (with tests). 2011-12-05 20:12:14 +01:00
Michael Stefaniuc 8cd1d5839f user32/tests: Drop superfluous function pointer casts. 2011-11-21 11:51:12 +01:00
Dmitry Timoshkov 2429ef905c user32: Dialog creation code should force WS_CHILD style for dialog controls. 2011-11-15 19:37:33 +01:00
Dmitry Timoshkov 70caadbf34 user32: Add support for iPaddedBorderWidth in NONCLIENTMETRICS. 2011-10-08 19:47:35 +02:00
André Hentschel a355121414 user32: Fix for finding nested default buttons. 2011-07-28 19:54:46 +02:00
André Hentschel 54ca4034cf user32/tests: Fix two typos. 2011-07-22 12:57:20 +02:00
André Hentschel b3fbdfa908 user32/tests: Add test for nested default button in dialogs. 2011-07-18 16:23:30 +02:00
Marcus Meissner cfe4c7fde9 user32: Use left shift instead of right shift (Coverity). 2011-05-05 17:28:42 +02:00
Vladimir Panteleev 592d994f00 user32: Fix VK_RETURN handling in IsDialogMessage for dialogs without an IDOK. 2010-09-15 17:05:54 -05:00
André Hentschel 9c1149045f user32/tests: The dialog for that proc has no IDCANCEL. 2010-07-07 11:30:27 +02:00
André Hentschel f0e21b0e62 user32/tests: Test that GetDlgItem does not recurse. 2010-07-02 13:19:21 +02:00
Andrew Eikum 17789c1636 Revert "user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.".
This reverts commit 897f11d331.
2010-05-19 11:17:55 +02:00
Andrew Eikum 897f11d331 user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs. 2010-05-08 13:12:49 +02:00
Nikolay Sivov 0af447ce9f user32/tests: Add some GetDlgItem() tests regarding children windows Z-order. 2010-04-25 19:22:11 -05:00
Henri Verbeet 6ee4a87ad6 user32: Also show dialogs right after a WM_TIMER message. 2010-03-02 14:29:21 +01:00
Andrew Nguyen 416589a7c2 user32/tests: Fix a failure message trace. 2010-02-23 12:09:55 +01:00
Andrew Nguyen 0b23012867 user32: Ensure that WM_INITDIALOG passes the first tabstop control handle to the dialog procedure. 2010-02-23 12:09:50 +01:00
Nikolay Sivov ba51a6c9bc user32/tests: Forward test proc to default dialog procedure instead of window's one. 2010-01-08 17:04:00 +01:00
Sergey Khodych f1f1c50531 user32: Use IDOK as default identifier in a template. 2009-08-26 16:38:39 +02:00
Andrew Nguyen 918c9d5994 user32/tests: Fix a test failure on Win9x. 2009-08-24 15:17:32 +02:00
Andrew Eikum c1c22e25c2 user32/tests: Add tests for saving and restoring control focus. 2009-08-14 13:58:49 +02:00
Dmitry Timoshkov 96e44ddb78 user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles. 2009-08-12 12:53:25 +02:00
Andrew Nguyen e903872fd2 user32/tests: Fix some test failures on Windows. 2009-08-10 13:11:13 +02:00
Andrew Nguyen 797ec7a58e user32/tests: Test the behavior of DialogBoxParamA with dialog procedure window destruction. 2009-08-07 12:11:42 +02:00
Patrick Gauthier 9096368b6a user32: Handle magic font size 0x7fff in dialog templates correctly. 2009-04-10 11:33:46 +02:00
Patrick Gauthier 08c0ddec80 user32/tests: Check effect of magic font height value 0x7fff in dialog template. 2009-03-25 12:43:46 +01:00
Michael Stefaniuc e202baabd5 user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR. 2009-01-13 15:26:11 +01:00
Alexandre Julliard d852ac0b1f user32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:18:01 +01:00
Michael Stefaniuc fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +01:00
Alexandre Julliard ba644e9c31 user32/tests: Fix some tests on Win9x. 2008-07-30 13:50:00 +02:00
Paul Vriens 470a0a0cae user32/tests: Use A-call. 2008-03-10 11:22:38 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Lei Zhang 7c2263ddc4 user32: Do not send button click to dialog with disabled default button. 2007-10-25 13:52:09 +02:00
Peter Oberndorfer 1fce55410e user32/tests: Fix dialog proc prototypes. 2007-09-21 11:51:51 +02:00
Louis Lenders ba7207cbc0 user32: Fix error return values in DialogBoxParam + simple test. 2007-02-15 11:14:53 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00