Commit Graph

63 Commits

Author SHA1 Message Date
Nikolay Sivov 17987c589f user32: Handle invalid dialog handles in IsDialogMessage().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 11:53:41 +09:00
Michael Stefaniuc 07ada9a85b user32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Jacek Caban 36b64321b2 user32: Use the original owner used to create the dialog for WM_ENTERIDLE messages.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:30 +09:00
Jacek Caban fc4b906d78 user32: Don't enable owner in DIALOG_DoDialogBox.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:27 +09:00
Jacek Caban 2f8f9d20aa user32: Use GWLP_HWNDPARENT to find an owner in EndDialog.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:25 +09:00
Jacek Caban 9da0c00a68 user32: Use top level window as dialog parent for modal dialogs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-11 22:09:22 +09:00
Jacek Caban d75991d80e user32: Removed unused owner argument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:19:06 +09:00
Jacek Caban 0d7116b968 user32: Use proper window as dialog owner.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 14:18:16 +09:00
Jacek Caban 142133ae6c user32: Always enable owner window in EndDialog.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:34 +09:00
Piotr Caban 73ee2a8b4f user32: Select text control content while setting dialog focus.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:11 +09:00
Alex Henrie d9c8effbf3 user32: Avoid double initialization in IsDialogMessageW.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Alex Henrie 5b53c0b88b user32: Avoid double initialization.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Piotr Caban 6c5d4cb07e user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows. 2015-02-06 00:28:34 +09:00
Michael Stefaniuc 1e5328c77c user32: Remove superfluous function pointer casts. 2012-09-20 19:22:59 +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
Dmitry Timoshkov 2455b3815a user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 11:13:23 +01:00
Rico Schüller b83d322dba d3dx9: Implement D3DXSHAdd(). 2011-12-12 10:19:30 +01:00
Dmitry Timoshkov 1830739118 user32: Strip WS_CAPTION|WS_SYSMENU when a dialog has DS_CONTROL style set. 2011-12-12 10:19:26 +01:00
Dmitry Timoshkov 18576b36e4 user32: Add the tests for dialog window styles, make them pass under Wine. 2011-12-07 17:50:00 +01: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
Erich Hoover d202990851 user32: Prioritize focus for dialog owner on EndDialog. 2011-11-18 15:37:05 +01:00
Dmitry Timoshkov eb0576ba59 user32: Issue a warning when dialog control creation fails. 2011-11-17 11:37:41 +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
André Hentschel a355121414 user32: Fix for finding nested default buttons. 2011-07-28 19:54:46 +02:00
Alexandre Julliard ad32b28ac0 user32: Avoid accessing the dialog info of a destroyed window. 2011-04-06 13:01:20 +02:00
Dmitry Timoshkov bb411cfb65 user32: DefDlgProc on WM_QUIT should repost it and terminate the dialog message loop. 2011-04-05 13:36:56 +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
Michael Stefaniuc bf7241c125 user32: Avoid using long. 2010-05-21 14:37:53 +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
Henri Verbeet 6ee4a87ad6 user32: Also show dialogs right after a WM_TIMER message. 2010-03-02 14:29:21 +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
Alexandre Julliard a64765f673 user32: Don't overwrite the default button id when creating the dialog structure. 2010-02-17 11:43:34 +01:00
Dmitry Timoshkov 9e93906658 user32: In a DLGTEMPLATEEX resource dialog version goes before signature. 2010-02-09 17:13:36 +01:00
Michael Stefaniuc 0a22cd2b8f user32: Avoid using HIWORD() on atoms/resources. 2010-02-04 13:39:27 +01:00
Alexandre Julliard 2ea73fd709 user32: Remove the no longer needed WIN_ISDIALOG flag. 2009-12-23 21:13:58 +01:00
Alexandre Julliard 7f11441af9 user32: Duplicate DIALOG_Enable/DisableOwner implementation on the 16-bit side. 2009-12-23 19:33:26 +01:00
Alexandre Julliard b615656f00 user32: Get rid of the 16-bit dialog heap.
Edit controls don't allocate memory on the 16-bit heap anyway.
2009-12-22 15:35:15 +01:00
Alexandre Julliard ce05f49843 user32: Avoid including winuser16.h in 32-bit files. 2009-12-22 13:48:24 +01:00
Alexandre Julliard d081a7352c user32: Simplify window procedure allocation for the builtin classes. 2009-12-18 12:39:13 +01:00
Alexandre Julliard 0cbf191add user32: Pre-allocate the window procedure for the dialog class. 2009-12-17 13:09:50 +01:00
Sergey Khodych f1f1c50531 user32: Use IDOK as default identifier in a template. 2009-08-26 16:38:39 +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
Patrick Gauthier 9096368b6a user32: Handle magic font size 0x7fff in dialog templates correctly. 2009-04-10 11:33:46 +02:00
Michael Stefaniuc 214b40b109 user32: Remove superfluous pointer casts. 2009-03-02 12:11:38 +01:00
Michael Stefaniuc fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +01:00
Alexandre Julliard 782403085f user32: Treat the top-level message window as a desktop window. 2008-06-25 15:20:26 +02:00
Lei Zhang 95f323ed46 user32: Handle VK_TAB in EDIT_WM_KeyDown. 2008-04-10 10:00:03 +02:00
Lei Zhang 08a4d2afc2 user32: Dialog should ignore WM_KEYDOWN messages if it gets DLGC_WANTCHARS. 2008-04-03 11:27:14 +02:00
Alex Villacís Lasso 4612b15fff user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests. 2007-12-19 19:36:09 +01:00