Commit Graph

694 Commits

Author SHA1 Message Date
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
Vincent Povirk 3ec84397c9 comdlg32: Add test for IFileDialogEvents::OnOverwrite. 2015-08-17 14:47:01 +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
Nikolay Sivov da8fd05251 comdlg32/tests: Test that different IFileDialogCustomize IIDs return same pointer. 2015-08-03 10:57:30 +02:00
Joachim Priesner c5ad37baf0 comdlg32: File dialog: Append multi-part extensions like .abc.def. 2015-06-05 14:32:47 +09:00
Alex Henrie e4e78b0a83 comdlg32: Remove unused string resource "Borders". 2015-04-29 15:46:13 +09: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
Michael Stefaniuc 74007d4405 comdlg32: Remove unused variable assigments (PVS-Studio). 2015-01-13 19:54:02 +01:00
Michael Stefaniuc 51d0345ebd comdlg32: RT_DIALOG is already an INTRESOURCE (PVS-Studio). 2014-11-27 11:43:28 +01:00
Michael Stefaniuc 0867e7fe78 comdlg32: Remove an always true if check (PVS-Studio). 2014-11-26 17:26:51 +01:00
Ralf Habacker 2b9d337f6d comdlg32: Update dmFormName when changing paper size in print UI. 2014-11-20 23:40:39 +09:00
Qian Hong 0380ee031c comdlg32/tests: Fixed memory leak (Valgrind). 2014-11-20 22:33:45 +09:00
Michael Stefaniuc b4b58a82e3 comdlg32: Simplify check for an empty string (PVS-Studio). 2014-11-18 22:11:14 +09:00
Michael Stefaniuc 50a877d69f comdlg32: Use the proper macro to create an int atom (PVS-Studio). 2014-10-31 10:49:29 +09: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
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02: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
Francois Gouget e9e76d823f comdlg32/tests: Add a trailing '\n' to an ok() call. 2014-09-04 13:37:21 +02:00
David Hedberg befe0f7b69 comdlg32: Implement calling IFileDialogEvents::OnTypeChange(). 2014-09-03 21:21:58 +02:00
David Hedberg 5f50864811 comdlg32/tests: Add some IFileDialogEvents tests. 2014-09-03 21:21:57 +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
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Stefan Leichter 73a2408f27 comdlg32: Update version resource to values reported from XP. 2014-03-04 11:49:50 +01:00
Frédéric Delanoy ce1175149b comdlg32/tests: Use BOOL type where appropriate. 2014-02-25 14:21:50 -06:00
Frédéric Delanoy a5f20b3173 comdlg32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:24 +01:00
Andrey Gusev be367393c9 Assorted typos fixes. 2014-01-13 17:37:42 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Frédéric Delanoy e5d954096b comdlg32/tests: Use BOOL type where appropriate. 2013-10-23 11:22:25 +02:00
Frédéric Delanoy 3e3efd1e1b comdlg32: Use BOOL type where appropriate. 2013-10-23 11:21:15 +02:00
Nikolay Sivov e011d0e3c7 comdlg32/tests: Compile with -D__WINESRC__. 2013-10-15 17:43:41 +02:00
Frédéric Delanoy 8e7abd00a8 comdlg32: Use BOOL type where appropriate. 2013-10-11 11:05:04 +02:00
Frédéric Delanoy 2bbe7a330c comdlg32/tests: Use BOOL type where appropriate. 2013-10-07 13:32:06 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Detlef Riekenberg 8e56b8332e comdlg32/tests: Handle result from broken drivers. 2013-08-27 21:30:03 +02:00
Detlef Riekenberg 9a7d510ccb comdlg32/tests: Limit the number of copies to avoid a test hang. 2013-08-26 17:05:32 +02:00
Huw Davies ec37a87e95 comdlg32: Don't call the callback if it's not set. 2013-06-25 18:12:11 +02:00
Alexandre Julliard 90ca8eb21e comdlg32: Add support for the CF_NOVERTFONTS flag. 2013-06-25 12:38:52 +02:00
Nikolay Sivov f92caf5ba7 comdlg32: Store client GUID with SetClientGuid(). 2013-06-12 12:10:41 +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
Alexandre Julliard 60b5ae785a comdlg32: Scale the listboxes in the font dialog with the font size. 2013-05-29 18:09:00 +02:00
Alexandre Julliard a7d4b2711c comdlg32: Don't bother to free thread local storage at process exit. 2013-05-16 12:51:07 +02:00
Nikolay Sivov 3dea8a69ec comdlg32: Simplify more internal helpers. 2013-05-14 17:28:34 +02:00
Nikolay Sivov 489707f9e3 comdlg32: Simplify some internal helpers. 2013-05-13 11:44:17 +02:00
Nikolay Sivov 1616eb6fca comdlg32: Pass full colorref to RGB -> HSL conversion function. 2013-05-13 11:44:12 +02:00
Nikolay Sivov 31351376d1 comdlg32: Return combined color from HSL -> RGB transform. 2013-05-13 11:44:00 +02:00
Nikolay Sivov adbb96fb5c comdlg32: Add controls codes defines for color choosing dialog. 2013-05-13 11:43:51 +02:00
Francois Gouget fb9d76816a comdlg32/tests: Fix compilation on systems that don't support nameless structs or unions. 2013-05-13 11:07:28 +02:00
Dmitry Timoshkov afb8e0296f comdlg32: Add a test for nCopies/dmCopies returned by PrintDlg. 2013-05-08 12:53:27 +02:00
Dmitry Timoshkov 4986ba35c3 include/commdlg.h: Fix definition of LPPRINTHOOKPROC and LPSETUPHOOKPROC. 2013-05-08 12:45:42 +02:00
Daniel Jelinski 9c7a01c74b comdlg32: Load ComboBoxEx before creating dialogs that use it. 2013-05-06 11:39:15 +02:00
Dmitry Timoshkov b73323d4e2 comdlg32: Add an interactive PrintDlgEx test. 2013-04-09 11:59:47 +02:00
Dmitry Timoshkov e0b4b9f63f comdlg32: Add a simple PrintDlgEx implementation which wraps around the PrintDlg one. 2013-04-09 11:59:46 +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
Andrew Talbot c8092a04ce comdlg32: Indentation fix. 2012-12-17 11:47:39 +01:00
Andrew Talbot 309654f058 comdlg32: Indentation fix. 2012-12-11 12:03:41 +01:00
Aurimas Fišeras ed42609f54 comdlg32: Move and resize controls of the Find dialog to better fit translations. 2012-12-03 18:24:49 +01:00
Michael Stefaniuc 098fd25009 comdlg32/tests: Fix the prototype of callback functions. 2012-11-20 19:47:03 +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
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 9db8e593bf comdlg32: Copy additional structure members if present. 2012-09-21 17:08:07 +02:00
Huw Davies 37975ba776 comdlg32/tests: Explicitly set the structure size to the nt40 version size. 2012-09-21 17:07:47 +02:00
Huw Davies 914353d3dc comdlg32: Make the unicode copy the same size as the ansi version. 2012-09-21 17:07:39 +02:00
Huw Davies bdbc45fddd comdlg32: Only copy the valid portion of the structure. 2012-09-21 17:07:32 +02:00
Francois Gouget bfd9cd1c42 comdlg32: Make FD31_GetFldrHeight() static. 2012-09-20 19:22:44 +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 c34baac0cb comdlg32: Remove gratuitous "stub" from a TRACE message. 2012-09-11 18:06:57 +02:00
Jacek Caban e5e2673984 comdlg32: Use proper helpers for iface calls. 2012-08-16 13:46:29 +02:00
Michael Stefaniuc df158e4379 comdlg32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:13 +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
Aric Stewart aefd9b5533 comdlg32: Do not use GetDlgItemText to get combo box text during an CBN_SELCHANGE notification. 2012-07-11 10:12:52 -05:00
Bruno Jesus 8c5cf7e25f comdlg32: Fix NULL lpstrFile uses in FILEDLG95_OnOpen. 2012-06-19 22:03:21 +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
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget 8184ef074f comdlg32: An English (United States) spelling fix. 2012-05-04 18:07:55 +02:00
Detlef Riekenberg f726e0c00f comdlg32: Remove an unused 16-bit macro. 2012-04-02 12:40:47 +02:00
Detlef Riekenberg ed41673306 comdlg32/tests: Add HDC tests for PrintDlgEx. 2012-03-27 12:04:40 +02:00
Detlef Riekenberg 24047e902f comdlg32: Return a device context when requested. 2012-03-27 12:04:30 +02:00
Detlef Riekenberg ecd6f40acb comdlg32: Use a helper to update the devmode handle. 2012-03-27 12:04:01 +02:00
Detlef Riekenberg ce9f046388 comdlg32: Use a helper to get the printer driver info. 2012-03-27 12:02:05 +02:00