Dmitry Timoshkov
5a622342d9
comdlg32: When FOS_PICKFOLDERS is specified item selection box should contain full path name.
...
Otherwise when selecting a folder using IFileOpenDialog interface
the caller instead of C:\Temp receives C:\Temp\Temp. This matches
both an old GetOpenFileName behaviour and what IFileOpenDialog returns
under Windows.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:45 +01:00
Zhiyi Zhang
616e5fa733
comdlg32: Check invalid options in IFileDialog::SetOptions.
...
Fix Steam chat unable to select files.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00
Nikolay Sivov
7514475c1c
comdlg32: Use ARRAY_SIZE macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:25 +01:00
Alexandre Julliard
908fa3eb8d
comdlg32: Correctly initialize the item dialog structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 15:40:36 +01:00
Huw Davies
5d9ab56d9e
comdlg32: Select the correct font before querying the extents.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 14:12:18 +02:00
Huw Davies
e77771c0bf
comdlg32: Set the radiobuttons' font if they're part of a visual group.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 14:12:18 +02:00
Huw Davies
00994524f5
comdlg32: Use pixel sizes throughout.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 14:12:18 +02:00
Huw Davies
6df0198a2b
comdlg32: Scale the control size limits with dpi.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 00:19:54 +02:00
Michael Stefaniuc
eff2ecc39a
comdlg32: Avoid some superfluous pointer casts.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:56:02 +01:00
Nikolay Sivov
384ece4d7e
comdlg32/itemdlg: Fix setting NULL file name (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:13 +09:00
Nikolay Sivov
2f6393bfa0
comdlg32: Don't use BOOL constants for regular integer type.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:15 +09:00
Vincent Povirk
d0fac61c6d
comdlg32: Initially focus filename text box.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 14:44:53 +09:00
Vincent Povirk
34d57e3621
comdlg32: Implement radio button lists in item dialog.
2015-09-14 16:47:51 +09:00
Vincent Povirk
9068f2d10c
comdlg32: Return success from IFileDialogCustomize::MakeProminent.
2015-09-14 16:21:26 +09:00
Vincent Povirk
4270a8a4dc
comdlg32: Return success from IFileDialog2::AddPlace.
2015-09-14 16:21:23 +09:00
Vincent Povirk
3fc57e7b49
comdlg32: Remove fixme from EnableOpenDropDown.
2015-09-14 16:21:21 +09:00
Vincent Povirk
bbe009778e
comdlg32: Fix ignored out parameter.
2015-09-14 16:21:18 +09:00
Vincent Povirk
6056a3f163
comdlg32: Show open dropdown menu on button press.
2015-08-28 21:24:37 +09:00
Vincent Povirk
bc0abc2369
comdlg32: Show and hide the open dropdown menu dynamically.
2015-08-28 21:24:15 +09:00
Vincent Povirk
c5c5163e61
comdlg32: Implement open dropdown menu.
2015-08-28 21:23:26 +09:00
Vincent Povirk
d3163241af
comdlg32: Partially implement IFileDialogCustomize::EnableOpenDropDown.
...
This builds a menu but cannot display it yet.
2015-08-19 20:19:56 +09:00
Vincent Povirk
8d8e75849f
comdlg32: Implement SetControlItemState for combo boxes.
2015-08-19 20:19:56 +09:00
Vincent Povirk
068a6c7a5f
comdlg32: Implement SetControlItemState for menu controls.
...
This required some rethinking because menus and combo boxes don't
provide a way to "hide" items, just remove them, and native always
shows items in the order they were added even when hidden and shown.
2015-08-19 20:19:56 +09:00
Vincent Povirk
b206287c91
comdlg32: Implement overwrite check in item dialog.
2015-08-17 14:47:05 +09:00
Nikolay Sivov
9da369b455
comdlg32: Remove some casts.
2015-08-03 10:57:55 +02:00
Nikolay Sivov
ae2794eac9
comdlg32: Remove browser border for common item dialog.
2015-08-03 10:57:50 +02:00
David Hedberg
2afbf9dbbc
comdlg32: Only attempt to update the layout if the dialog window exists.
2015-04-01 22:34:20 +09:00
Francois Gouget
99f0f3a7e1
comdlg32: Remove unneeded NONAMELESSSTRUCT directives.
2015-03-09 22:06:24 +09:00
David Hedberg
d495cc37a6
comdlg32: Expand the filetype combobox dropdown to fit the contents.
2014-09-04 13:45:05 +02:00
David Hedberg
dc7f17ee14
comdlg32: Set BS_MULTILINE also for check buttons.
2014-09-04 13:45:05 +02:00
David Hedberg
7b7f4c613f
comdlg32: ::SetFileTypeIndex and ::GetFileTypeIndex uses a one-based index.
2014-09-04 13:44:51 +02:00
David Hedberg
befe0f7b69
comdlg32: Implement calling IFileDialogEvents::OnTypeChange().
2014-09-03 21:21:58 +02:00
David Hedberg
aac6255d46
comdlg32: Implement IFileDialogCustomize::StartVisualGroup() and ::EndVisualGroup().
2014-08-25 15:55:29 +02:00
David Hedberg
3cf2fb3a9c
comdlg32: Support browsing for folders.
2014-08-04 14:32:59 +02:00
David Hedberg
7311a9fc6e
comdlg32: Populate psia_results before making any callbacks.
2014-07-22 14:28:21 +02:00
Nikolay Sivov
f92caf5ba7
comdlg32: Store client GUID with SetClientGuid().
2013-06-12 12:10:41 +02:00
Marcus Meissner
fd9becb907
comdlg32: Free files on errorpath (Coverity).
2013-02-06 10:08:55 +01:00
Detlef Riekenberg
1868fe651f
comdlg32/tests: Use win8 failure-code as default result.
2012-12-17 20:31:12 +01:00
André Hentschel
a07d1da924
comdlg32: Fix usage of constants.
2012-10-30 18:08:12 +01:00
André Hentschel
b302e1f2a5
comdlg32: Free tmp_files after it's used (coverity).
2012-10-26 11:47:50 +02:00
Jacek Caban
e5e2673984
comdlg32: Use proper helpers for iface calls.
2012-08-16 13:46:29 +02:00
Daniel Jelinski
51c77f56a7
comdlg32: Make tests pass with native comctl32.
2012-06-07 16:26:00 +02:00
Daniel Jelinski
aec1c9562d
comdlg32: Fixed support for deleting items other than the first.
2012-06-07 16:25:08 +02:00
Michael Stefaniuc
d63ae3658b
comdlg32: Print the debug string and not the pointer to it.
2012-03-26 18:15:23 +02:00
Andrew Talbot
f0465fb021
comdlg32: Remove unneeded address-of operator from array name.
2011-10-31 23:53:48 +01:00
Andrew Talbot
1e59ecf254
comdlg32: Add a break statement to mark a semantic separation.
2011-09-26 18:13:13 +02:00
Francois Gouget
7777d61ff4
comdlg32: Add a trailing '\n' to a TRACE() call.
2011-06-13 11:33:01 +02:00
Marcus Meissner
be47d06744
comdlg32: Mark one vtable as static.
2011-05-30 11:12:19 +02:00
David Hedberg
d5a1014ed5
comdlg32: Take linebreaks into account when resizing custom controls.
2011-05-27 17:53:37 +02:00
David Hedberg
2a863985e0
comdlg32: Add support for custom control events.
2011-05-27 17:53:37 +02:00