Commit Graph

112 Commits

Author SHA1 Message Date
Józef Kucia 1707df3da2 comdlg32: Delay OleInitialize() until after file dialog window is created.
This fixes a problem exposed by commit
f65e04770d.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Nikolay Sivov 6c4aaf776f comdlg32: Always use original Open File dialog template.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:37:08 +01:00
Bruno Jesus 5809118892 comdlg32: Avoid crash when a path is passed into Open File Dialog.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-27 18:06:23 +02:00
Alistair Leslie-Hughes 326a9ea137 comdlg: Select all text when enter is pressed.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 20:20:53 +09:00
Alistair Leslie-Hughes b11d7f7482 comdlg32: Clear the filename text on OPEN_BROWSE.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-09 20:20:53 +09:00
Lauri Kenttä c851ecca2b comdlg32: Avoid repeated GlobalLock etc in filedlg.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 12:11:16 +09:00
Lauri Kenttä f99da3f3a1 comdlg32: Avoid generating filenames twice in filedlg.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 12:11:02 +09:00
Lauri Kenttä 86a993ea3c comdlg32: Init clipboard format only once in filedlg.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 12:10:20 +09:00
Pierre Schweitzer d288d8d333 comdlg32: Check for overflow before dereferencing.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:30:45 +09:00
Joachim Priesner c5ad37baf0 comdlg32: File dialog: Append multi-part extensions like .abc.def. 2015-06-05 14:32:47 +09:00
Francois Gouget 99f0f3a7e1 comdlg32: Remove unneeded NONAMELESSSTRUCT directives. 2015-03-09 22:06:24 +09:00
Michael Stefaniuc 0867e7fe78 comdlg32: Remove an always true if check (PVS-Studio). 2014-11-26 17:26:51 +01:00
Alexandre Julliard 2b40148e1e comdlg32: Use PathAddBackslash to avoid a compiler warning. 2014-10-28 14:33:17 +09:00
André Hentschel c4747f46cf comdlg32: Remove duplicate code (PVS-Studio). 2014-10-28 14:06:02 +09:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Frédéric Delanoy 3e3efd1e1b comdlg32: Use BOOL type where appropriate. 2013-10-23 11:21:15 +02:00
Frédéric Delanoy 8e7abd00a8 comdlg32: Use BOOL type where appropriate. 2013-10-11 11:05:04 +02:00
Alexandre Julliard 6a40d65ba8 comdlg32: Scale the shell folder list in the open dialog with the font size. 2013-05-29 18:09:00 +02:00
Daniel Jelinski 9c7a01c74b comdlg32: Load ComboBoxEx before creating dialogs that use it. 2013-05-06 11:39:15 +02:00
Andrew Talbot c8092a04ce comdlg32: Indentation fix. 2012-12-17 11:47:39 +01:00
Huw Davies 7a2d68abc8 comdlg32: Use a ComboBoxEx control for the filename if the structure size is not the nt40 version size. 2012-09-25 19:25:21 +02:00
Huw Davies 01a084383c comdlg32: Use the window handle to send messages to the filename control. 2012-09-25 18:11:21 +02:00
Huw Davies 4c47385ea5 comdlg32: Add structure size checks. 2012-09-21 17:08:13 +02:00
Huw Davies d26335497e comdlg32: Move all of the win 3.1 style functionality into the same file. 2012-09-19 13:06:35 +02:00
Michael Stefaniuc bdaf2e9881 comdlg32: Use a helper to detect the need for win16 looks. 2012-07-27 17:05:31 +02:00
Thomas Faber bbf2cce160 comdlg32: Do not modify dialog resource directly. 2012-07-20 14:02:31 +02:00
Bruno Jesus 8c5cf7e25f comdlg32: Fix NULL lpstrFile uses in FILEDLG95_OnOpen. 2012-06-19 22:03:21 +02:00
Alex Henrie f0b274bada comdlg32: Correctly handle filters with invalid extensions in Save As dialogs. 2012-01-25 11:53:44 +01:00
Alex Henrie 7a34094e6e comdlg32: Correctly handle filters with multiple file extensions in Save As dialogs. 2012-01-23 17:44:11 +01:00
Ken Thomases c2f3c1114f comdlg32: Fix a leak. 2011-12-20 10:14:28 +01:00
Alex Henrie 6e5bba1b60 comdlg32: Widen buffer to accomodate Catalan translation. 2011-12-16 12:07:44 +01:00
Alex Henrie b5b739d5f3 comdlg32: Correct title of "Save As" dialog. 2011-12-09 21:15:34 +01:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
David Hedberg d441d3b8ba comdlg32: Implement SetDefaultFilename. 2011-05-25 13:36:30 +02:00
David Hedberg 9c1f56f67e comdlg32: Factor out filename string splitting code. 2011-04-01 12:42:13 +02:00
David Hedberg 7f5ccd3262 comdlg32: Factor out some path validating code from FILEDLG95_OnOpen. 2011-04-01 12:42:08 +02:00
David Hedberg fcb169fe36 comdlg32: Factor out some path building code from FILEDLG95_OnOpen. 2011-04-01 12:42:02 +02:00
Marcus Meissner 0bd55f9df1 comdlg32: Removed useless NULL check (Coverity). 2011-03-15 17:14:07 +01:00
Wolfram Sang 5cb4c55335 comdlg32: Filedlg should not add extension if it contains a glob. 2011-01-31 13:01:07 +01:00
Eryk Wieliczko bd0fe7d26b comdlg32: GetSaveFileName: Don't append .* extension. 2010-11-02 14:09:05 +01:00
Marcus Meissner 5b09820d7c comdlg32: Fixed bad size to GetModuleFilenameW. 2010-10-25 12:41:42 +02:00
Damjan Jovanovic 7ccf6c28b3 comdlg32: Fix a stack overflow. 2010-10-08 11:56:45 +02:00
Andrew Eikum 4b93548df1 comdlg32: Store and use save/open dialogs' most-recently-used data. 2010-07-24 11:18:11 +02:00
Juan Lang 6f42f596e1 comdlg32: No and escape are equivalent. 2010-06-07 12:22:08 +02:00
Mikhail Maroukhine 48e71cb424 comdlg32: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:17 +02:00
Gerald Pfeifer 27b7f25968 comdlg32: Removed unused parameters from FILEDLG95_OnWMSize, FILEDLG95_OnWMCommand, and FD32_WMMeasureItem. 2010-03-15 13:41:10 +01:00
Gabriele Moabiti c65a3e81f7 comdlg32: Open should try to browse directory first. 2010-02-18 14:38:58 +01:00
Alexandre Julliard 82016c19ef comdlg32: Don't use the instance of the owner window for dialog boxes. 2009-12-28 12:27:16 +01:00
Alexandre Julliard 0e00a61a38 comdlg32: Get rid of the 16-bit callback support. 2009-12-28 12:27:16 +01:00
Alexandre Julliard 6cb6862806 comdlg32: Store the open file name A structure directly instead of using a private pointer. 2009-12-28 12:27:16 +01:00