Commit Graph

656 Commits

Author SHA1 Message Date
Marcus Meissner 0bd55f9df1 comdlg32: Removed useless NULL check (Coverity). 2011-03-15 17:14:07 +01:00
Austin English 5c9d341c69 comdlg32/tests: Remove win9x hacks. 2011-02-28 13:11:09 +01:00
Amine Khaldi e9ab576c73 comdlg32: Add missing break (Coverity). 2011-02-23 18:24:28 +01:00
Wolfram Sang 5cb4c55335 comdlg32: Filedlg should not add extension if it contains a glob. 2011-01-31 13:01:07 +01:00
Greg Geldorp 4d7e73397d comdlg32/tests: Fix expected height computation. 2011-01-17 13:22:05 +01:00
Alexandre Julliard 7294f7d80f comdlg32: Convert string tables resources to po files. 2011-01-14 18:26:11 +01:00
Michael Stefaniuc 65892b5be4 comdlg32: Use ifaces instead of vtbl pointers in IShellBrowserImpl. 2010-12-31 11:48:08 +01:00
Michael Stefaniuc 8e999df0c1 comdlg32: Pass an object instead of an iface to a helper function. 2010-12-31 11:48:00 +01:00
André Hentschel a608fe9328 comdlg32/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:30 +01:00
Hwang YunSong caf742bdcf comdlg32: Update Korean resource. 2010-12-20 12:47:37 +01:00
Cheer Xiao 9b17796772 comdlg32: Update Simplified Chinese translation. 2010-11-15 14:53:46 +01:00
Eryk Wieliczko 4bbde8fdd7 comdlg32/tests: Add GetSaveFileName .* extension test. 2010-11-02 14:12:01 +01:00
Eryk Wieliczko bd0fe7d26b comdlg32: GetSaveFileName: Don't append .* extension. 2010-11-02 14:09:05 +01:00
Austin Lund 5f98620c05 comdlg32/tests: Fixed up handling of temporary file in printdlg tests. 2010-10-28 18:18:07 +02:00
Carl Raffaele 2484b73151 comdlg32: Removed 16 bit dependency. 2010-10-27 11:43:33 +02:00
Marcus Meissner 5b09820d7c comdlg32: Fixed bad size to GetModuleFilenameW. 2010-10-25 12:41:42 +02:00
Amine Khaldi f0ea473b2a comdlg32: Fix translations. 2010-10-25 12:14:38 +02:00
Yaron Shahrabani bf948338ae comdlg32: Added Hebrew translation. 2010-10-25 12:14:34 +02:00
Paul Vriens b8b66a5387 comdlg32: Add the Serbian (Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-10-22 12:35:25 +02:00
Paul Vriens b88deb5eb7 comdlg32: Fix Serbian (Latin) translations.
Translation by Đorđe Vasiljević.
2010-10-22 12:35:16 +02:00
Damjan Jovanovic 7ccf6c28b3 comdlg32: Fix a stack overflow. 2010-10-08 11:56:45 +02:00
Laura Leinonen e66b73e5d1 comdlg32: Update Finnish translation. 2010-10-05 15:56:34 +02:00
Alexandre Julliard 6d5bfce3ee comdlg32: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:04:15 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Vitaly Perov dcef05b6f1 comdlg32: Add basic implementation of PrintDlgExA. 2010-09-27 15:01:34 +02:00
Lauri Kenttä 488e2bbcaf comdlg32: Update Finnish translation. 2010-09-27 12:09:19 +02:00
Luca Bennati 91b0518b7a comdlg32: Update Italian translation. 2010-09-21 17:53:54 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Francois Gouget b520cc1aed comdlg32: Make FD31_FreeOfnW() and FD31_MapOfnStructA() static. 2010-08-31 14:23:47 +02:00
Detlef Riekenberg 387c320981 comdlg32/tests: Mark a failure on w2k as broken. 2010-08-30 15:39:19 +02:00
Nikolay Sivov 66c9a73db5 comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters. 2010-08-20 13:46:49 +02:00
Andrew Talbot dc06444314 comdlg32: Constify a variable. 2010-08-16 13:46:28 +02:00
André Hentschel ae01727f36 comdlg32: Fix German shortcut conflict. 2010-08-03 18:02:15 +02:00
André Hentschel bd38bb122d comdlg32: Fix German font dialog. 2010-08-03 18:02:12 +02:00
Andrew Nguyen 10356abd8a comdlg32: Avoid a NULL dereference when changing the file type selection of a Unicode Win3.1-style dialog. 2010-07-30 14:59:41 +02:00
Igor Paliychuk f0de2d9d25 comdlg32: Fixed Ukrainian standard dialog sizes. 2010-07-29 17:33:34 +02:00
Andrew Eikum 1b7a3dae6e comdlg32/tests: Use GetOpenFileNameA instead of GetOpenFileNameW. 2010-07-29 10:22:08 +02:00
Igor Paliychuk a6b595918c comdlg32: Fixed Russian standard dialog sizes. 2010-07-28 16:28:20 +02:00
Igor Paliychuk 433df65d85 comdlg32: Ukrainian translation update. 2010-07-28 12:23:07 +02:00
Andrew Eikum 4b93548df1 comdlg32: Store and use save/open dialogs' most-recently-used data. 2010-07-24 11:18:11 +02:00
Andrew Eikum 93f9b4e144 comdlg32/tests: Untie ok_testcases from test_ok(). 2010-07-23 13:05:32 +02:00
Michael Stefaniuc 545322999d comdlg32: Remove the ignored common resource attributes. 2010-07-22 11:41:31 +02:00
Paul Vriens 03a4c64457 comdlg32: Add the Serbian (Latin) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-22 10:24:02 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Dylan Smith e5a476c66d comdlg32: Test and fix Find/ReplaceText parameter checking code. 2010-07-21 13:23:56 +02:00
Dylan Smith 51ba036f6c comdlg32: Zero length replace buffer is valid for ReplaceText. 2010-07-21 13:23:56 +02:00
Dylan Smith f89b14020f comdlg32: Check for valid replace parameters on ReplaceTextW.
COMDLG32_FR_CheckPartial is called with the second parameter of TRUE to
indicate that it is checking for a replace dialog, which includes checking
for a non-NULL replace buffer. This was called correctly on ReplaceTextA
but not for ReplaceTextW.
2010-07-21 13:23:56 +02:00
Cheer Xiao 1641df97ec comdlg32: Update simplified Chinese translation. 2010-07-13 16:28:02 +02:00
Michael Stefaniuc e66bcfcd32 comdlg32: Fix an error in a Catalan resource. 2010-07-13 16:28:01 +02:00
Paul Vriens 902cce122a comdlg32: Prevent a NULL pointer dereference (Coverity). 2010-07-08 20:22:09 +02:00
Igor Paliychuk 1c52d52f1e comdlg32: Ukrainian translation update. 2010-07-08 17:33:38 +02:00
Gustavo Henrique Milaré 994263e784 comdlg32: Fix Portuguese translation. 2010-07-08 11:13:28 +02:00
Frédéric Delanoy b4e20b2ebf comdlg32: Ensure French print dialogs sizes match English ones. 2010-07-05 11:54:43 +02:00
Dmitry Timoshkov 542be258b3 comdlg32: Not all messages depend on initialized custom choose font dialog data. 2010-07-01 16:44:33 +02:00
Igor Paliychuk 4ab5328934 comdlg32: Ukrainian translation update. 2010-07-01 13:44:10 +02:00
Kovács András 2da7f54657 comdlg32: Hungarian translation update and conversion to UTF-8. 2010-06-29 10:52:02 +02:00
Akihiro Sagawa 47e7703079 comdlg32: Update Japanese translation. 2010-06-21 11:46:27 +02:00
Vitaly Lipatov b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Paul Vriens a2b21781e3 comdlg32: Update the Danish translation and convert to UTF-8.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-09 20:20:54 +02:00
André Hentschel 31b9fefe0e comdlg32: Correctly report the filter. 2010-06-07 15:30:00 +02:00
Sven Baars 3d6ce9cf94 comdlg32: Fix Dutch translation. 2010-06-07 13:41:39 +02:00
Juan Lang 6f42f596e1 comdlg32: No and escape are equivalent. 2010-06-07 12:22:08 +02:00
Luca Bennati 7e264e5b50 comdlg32: Fix Italian Translation. 2010-05-31 14:12:37 +02:00
Frédéric Delanoy f2d5fa26c5 comdlg32: Fix French translation. 2010-05-31 12:14:27 +02:00
Nikolay Sivov 3f1f5edd52 Fix unneeded capitalization in user prompts. 2010-05-28 16:22:24 +02:00
Michael Stefaniuc 1f13973e85 comdlg32: The Dutch translation uses UTF-8. 2010-05-17 12:42:31 +02:00
Sven Baars e660381102 comdlg32: Fix Dutch translation. 2010-05-14 18:03:03 +02:00
Sven Baars 6b21d0c663 comdlg32: Fix some alignment issues in the Dutch translation. 2010-05-05 17:49:13 +02:00
Sven Baars 99389954d5 comdlg32: Update Dutch translation. 2010-05-04 13:15:00 +02:00
Joel Holdsworth 57b55f3660 comdlg32: Replaced pd32_portrait.ico and pd32_landscape.ico with Tango compliant icons. 2010-04-25 19:19:30 -05:00
Joel Holdsworth 6d467bb434 comdlg32: Replaced collate icons with Tango compliant icons. 2010-04-21 11:57:32 +02:00
Mikhail Maroukhine 48e71cb424 comdlg32: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:12:17 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Gerald Pfeifer 3ecea9f826 comdlg32: Remove unused parameters from CFn_WMMeasureItem and CFn_WMDrawItem. 2010-03-15 13:41:17 +01:00
Gerald Pfeifer 27b7f25968 comdlg32: Removed unused parameters from FILEDLG95_OnWMSize, FILEDLG95_OnWMCommand, and FD32_WMMeasureItem. 2010-03-15 13:41:10 +01:00
Gerald Pfeifer 4b25c6e6ad comdlg32: Removed unused parameters from PRINTDLG_WMInitDialogW and PRINTDLG_WMInitDialogA. 2010-03-15 13:41:03 +01:00
Gerald Pfeifer 297e559af4 comdlg32: Shed unused parameters from CFn_WMInitDialog and CFn_WMDestroy. 2010-03-01 11:33:33 +01:00
Gerald Pfeifer f7e292a51e comdlg32: Remove unused wParam parameters from PRINTDLG_WMInitDialog and PRINTDLG_WMInitDialogW. 2010-03-01 11:33:27 +01:00
Vincent Povirk a19536587b comdlg32: Always use screen dpi in the font dialog, even with a printer dc. 2010-02-22 12:36:15 +01:00
Vincent Povirk 9bb6932e4b comdlg32: Add a test showing the font dialog ignores printer dpi. 2010-02-22 12:36:10 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Vincent Povirk 38c6628911 comdlg32/tests: Font sizes are influenced by the display dpi. 2010-02-19 11:29:14 +01:00
Gabriele Moabiti c65a3e81f7 comdlg32: Open should try to browse directory first. 2010-02-18 14:38:58 +01:00
Vincent Povirk 3f3101138a comdlg32/tests: Rely on the Symbol font instead of Tahoma. 2010-02-17 09:42:06 +01:00
Vincent Povirk f45b648634 comdlg32: Add a minimal test for the font dialog. 2010-02-16 10:44:54 +01:00
Alexandre Julliard 88cdfb9d92 comdlg32/tests: Remove some AbortProc checks that fail on various Windows versions. 2010-02-05 11:29:27 +01:00
Michael Stefaniuc 5b389bacc5 comdlg32: Use IS_INTRESOURCE instead of HIWORD to check a resource. 2010-01-27 18:46:09 +01:00
Detlef Riekenberg aa389201e5 comdlg32: Remove unused code for the Button psh1. 2010-01-07 17:59:57 +01:00
Nikolay Sivov d7b7f783ab comdlg32/tests: Free global blocks after PrintDlg() with PD_RETURNDEFAULT. 2010-01-04 11:41:28 +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
Michael Stefaniuc db4fab9fc0 comdlg32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Nikolay Sivov c8f1e9668a comdlg32/filedlg: Fix a find file handle leak. 2009-12-10 12:00:17 +01:00
Nikolay Sivov c0456e2ca7 comdlg32/filedlg: Fix a lookin combo data leak. 2009-12-10 11:56:51 +01:00
Gerald Pfeifer 5e3f66c211 comdlg32: Simplify CC_WMPaint, CC_WMLButtonUp and CC_WMLButtonDown by shedding unused parameters. 2009-11-21 14:31:45 +01:00
Paul Vriens 50592566d3 comdlg32/tests: Fix some test failures on Win7. 2009-11-20 14:49:19 +01:00
Alexandre Julliard 910f331f8a comdlg32: Make commdlg.dll into a stand-alone 16-bit module. 2009-11-12 23:04:42 +01:00
Alexandre Julliard c8deafdfaa comdlg32: Create a 32-bit dialog for find/replace. 2009-11-12 23:02:45 +01:00
Alexandre Julliard 424472c20d comdlg32: Reimplement the 16-bit file dialog on top of the 32-bit one.
Stub out the functionality that cannot be supported that way.
2009-11-12 20:56:26 +01:00
Alexandre Julliard 024a0683eb comdlg32: Reimplement the 16-bit color dialog on top of the 32-bit one.
Stub out the functionality that cannot be supported that way.
2009-11-12 20:33:49 +01:00
Alexandre Julliard 9e643967ab comdlg32: Reimplement the 16-bit print dialog on top of the 32-bit one.
Stub out the functionality that cannot be supported that way.
2009-11-12 20:15:49 +01:00
Alexandre Julliard e5a09cffeb comdlg32: Reimplement the 16-bit font dialog on top of the 32-bit one.
Stub out the functionality that cannot be supported that way.
2009-11-12 19:32:56 +01:00
Rein Klazes 3e76f88d27 comdlg32: Make explorer type file dialogs without custom template or hook proc resizable. 2009-10-07 12:28:21 +02:00
Joel Holdsworth ee09534c27 comdlg32: Replaced file dialog house icon with the shell icon for desktop. 2009-10-05 15:17:09 +02:00
Alexandre Julliard a6414c260c comdlg32: Fix icon drawing in the 3.1 file dialog. 2009-09-30 14:31:30 +02:00
Paul Vriens 6a3c56a589 comdlg32/tests: Test the correct path length for CDM_GETFOLDERPATH. 2009-09-16 13:00:21 -05:00
Paul Vriens e997909ba7 comdlg32: Return the correct path length for CDM_GETFOLDERPATH. 2009-09-16 13:00:10 -05:00
Paul Vriens e848a6f6e4 comdlg32/tests: Fix a test failure on Vista/W2K. 2009-09-16 13:00:03 -05:00
Vitaly Perov eb20cc1d01 comdlg32: Fix some Russian resources. 2009-09-16 12:59:50 -05:00
Ge van Geldorp 5d38ddc208 comdlg32/tests: Fix test on Win7. 2009-08-31 12:41:05 +02:00
Andrew Nguyen a1fb872e76 comdlg32: Fix the copyright year for the Esperanto translation. 2009-08-31 12:19:19 +02:00
André Hentschel 0b9ba054f6 comdlg32: Update German translation. 2009-08-13 16:41:25 +02:00
Rein Klazes b7a852b1df comdlg32/tests: Fix some test failures on Win95 and NT4.
Reported by Paul Vriens.
2009-08-10 13:11:21 +02:00
Rein Klazes 1b740dd14a comdlg32: In the file dialog change the position of the file browser when the application changes that of the invisible listbox control. 2009-08-10 13:10:22 +02:00
Rein Klazes 229d9a6e03 comdlg32: Fix problems in calculation of the size of a file dialog. 2009-08-06 17:26:32 +02:00
Nicolas Le Cam b0dcfa7a23 comdlg32/tests: Fix a failing test on Win2k and below. 2009-08-04 13:04:47 +02:00
Nicolas Le Cam 9089c3e1d2 comdlg32/tests: Hardcode expected values when possible. 2009-08-04 13:04:39 +02:00
Rein Klazes 1f825a3631 comdlg32: Set MAXTEXTROWS of the toolbar in the file dialog to zero. 2009-08-03 14:57:42 +02:00
Vladimir Pankratov 743225914f comdlg32: Convert the Russian resources to UTF-8. 2009-07-24 13:11:33 +02:00
Rein Klazes 36d5265aee comdlg32/tests: Remove file dialog resize tests that rely on CDN_SELCHANGE notifications.
These notifications are not always sent on some (but not all) win2k3/vista/win2k8 machines.
2009-07-13 10:26:14 +02:00
Rein Klazes 1b41bafa07 comdlg32: Memorize and restore the size of the file dialog between calls.
Includes some fine tuning to fix a couple of todo's in the tests.
2009-07-10 12:12:58 +02:00
Frédéric Delanoy 37dba9f2d9 comdlg32: Fix left-right margins inversion in French page setup UI. 2009-07-10 12:11:38 +02:00
Michael Stefaniuc 8edb9eaf58 comdlg32: Convert the German resources to UTF-8. 2009-07-09 15:23:57 +02:00
Frédéric Delanoy d9a121c3e2 comdlg32: Fix French translation & UI display. 2009-07-09 14:51:56 +02:00
Rein Klazes a73175fd11 comdlg32: Fix a problem with resizing a customized file dialog. 2009-07-09 11:37:08 +02:00
Rein Klazes c23ccc03d9 comdlg32: Rearrange some more controls when resizing a file dialog. 2009-07-07 11:01:14 +02:00
Ricardo Filipe 003c8dadf2 comdlg32: Update Portuguese translation and convert to UTF8. 2009-07-07 11:00:56 +02:00
Paul Vriens 8ce06b1484 comdlg32: Fixed size of Dutch control. 2009-07-06 14:35:26 +02:00
Aurimas Fišeras 4e1af57b5f Various spelling fixes for Lithuanian translation. 2009-07-06 14:35:26 +02:00
Rein Klazes b46f8b1b32 comdlg32/tests: fix a few test failures on Vista and higher. 2009-07-03 13:06:17 +02:00
Michael Stefaniuc a15c263237 comdlg32: Build language resource files separately.
Do not include them from an other rc file.
2009-07-03 11:28:36 +02:00
Rein Klazes f9c8e7e38a comdlg32: Don't call ShowWindow for the custom dialog until all rearrangements of the file dialog have been done. 2009-07-02 14:25:58 +02:00
Frédéric Delanoy a9f3bd06fd comdlg32: Improve French translation. 2009-07-02 11:30:19 +02:00
Aurimas Fišeras 892214aec3 comdlg32: Improve Lithuanian translation. 2009-07-01 11:38:32 +02:00
Rein Klazes 163914380e comdlg32: Fix resizing of the file dialog browser that keeps returning to its original size. 2009-07-01 11:38:16 +02:00
Rein Klazes ce85668416 comdlg32: Fix a problem with the returned value of a CDN_FILEOK notification. 2009-06-30 12:34:06 +02:00
Paul Vriens 5d898e3ebe comdlg32/tests: Fix some typos. 2009-06-17 17:23:21 +02:00
Rein Klazes 8526eee472 comdlg32/tests: Fix file dialog resize failures on NT4 and with tiny desktops. 2009-06-17 12:05:04 +02:00
Rein Klazes b498fe7544 comdlg32: Delay setting the initial size of resizable file dialog until the CDN_INITDONE notification has been processed. 2009-06-16 13:29:48 +02:00
Andrew Talbot 764974e59d comdlg32: Constify some variables. 2009-06-10 11:47:58 +02:00
André Hentschel b7fbe1d527 comdlg32: Improve the German Find and FindReplace dialogs. 2009-05-26 14:27:27 +02:00
Huw Davies 7ac3fe280f comdlg32/tests: PrintDlgExW returns E_NOTIMPL on some versions of winME. 2009-05-25 11:21:15 +02:00
Michael Stefaniuc 4fd3d633cb Fix typo in Romanian translation basă => bază.
Thanks to Dimitriu Petru for spotting this.
2009-05-19 11:58:53 +02:00
Paul Vriens a478d765d3 comdlg32: Improve the Dutch find and replace dialogs. 2009-05-12 11:21:48 +02:00
Ricardo Filipe abadf9a37a commdlg: Implemented notifications are only sent with OFN_EXPLORER flag set. 2009-05-06 13:16:08 +02:00
Rein Klazes dd16b91a87 comdlg32: Implement OFN_ENABLESIZING flag for GetOpenFileName and friends. 2009-05-01 14:51:25 +02:00
Rein Klazes 17e9174076 comdlg32: Fix a crash in LookIn combo box WM_COMMAND message handler. 2009-04-23 12:57:01 +02:00
Michael Stefaniuc 3a88ed1236 comdlg32: Fix the Slovak translation. 2009-04-21 13:16:15 +02:00
Ricardo Filipe 13f1988720 comdlg32: Send CDN_INCLUDEITEM notification for each object in an Open/Save dialog. 2009-03-25 12:18:47 +01:00
Aurimas Fischer ffeb09d062 comdlg32: Improve Lithuanian translation. 2009-03-11 15:56:51 +01:00
Andrew Talbot 7b1c326016 comdlg32: Fix a typo. 2009-03-04 12:07:03 +01:00
Francois Gouget e7800f2a52 comctl32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:51 +01:00
Francois Gouget ef5178af21 comdlg32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:50:11 +01:00
Aurimas Fischer cfe25a4cde comdlg32: Fix another inconsistency in Lithuanian translation. 2009-02-23 12:19:44 +01:00
Huw Davies 466b50cf7d comdlg32/tests: Vista can return a failure from StartDoc when using the XPS driver - don't fail the test in this case. 2009-02-19 15:57:47 +01:00
Aurimas Fischer 525cce9e8b comdlg32: Unify/fix some Lithuanian translated strings. 2009-02-19 12:53:21 +01:00
Huw Davies ecffb8038a comdlg32/tests: Skip remaining tests if StartDoc fails. 2009-02-18 14:48:08 +01:00
Aurimas Fischer 6ddf8760ff comdlg32: Add Lithuanian translation. 2009-02-16 11:51:15 +01:00
Ricardo Filipe d904d1359a include: Fix commdlg hook procedures return type. 2009-02-09 17:17:09 +01:00
Andre Wisplinghoff 6c96347121 comdlg32: Update German and French translation. 2009-02-06 13:04:44 +01:00
Anders Jonsson 100df7378d comdlg32: Update Swedish translation. 2009-01-29 12:19:00 +01:00
Huw Davies 0806d811ed comdlg32: Set the correct error code if there is no default printer. 2009-01-26 15:13:32 +01:00
Huw Davies f63d950df7 comdlg32: Move the unicode version to the common implementation. 2009-01-23 16:48:17 +01:00
Huw Davies 8d09315b52 comdlg32: Add a placeholder for the unicode dialog struct. Update helper functions to work in the unicode case. 2009-01-23 16:48:14 +01:00
Huw Davies 69959801d6 comdlg32: Move the initialization code into a common function. 2009-01-23 16:48:11 +01:00
Detlef Riekenberg 29bdfed9f8 comdlg32: Fix return type of COMDLG32_StrRetToStrNW. 2009-01-23 13:43:53 +01:00
Huw Davies 2409e33f08 comdlg32: Add a helper to return the dialog struct. 2009-01-23 13:27:17 +01:00
Huw Davies 5084327088 comdlg32: Add a function to access the hooks. 2009-01-23 13:27:12 +01:00
Huw Davies 6ce6194f6c comdlg32: Remove ugly macro. 2009-01-23 13:27:07 +01:00
Huw Davies e2f81f1b33 comdlg32: Simplify the DEVNAMES access functions are unify the release. 2009-01-23 13:27:02 +01:00
Huw Davies 2e2a0774b4 comdlg32: Fix incorrect scaling. 2009-01-23 13:26:56 +01:00
Huw Davies 2bd53e2786 comdlg32: Add a helper to access the margin rect. 2009-01-23 13:26:43 +01:00
Huw Davies 30aa997b69 comdlg32: Add a helper function to access the PAGESETUPDLG's ptPaperSize element. 2009-01-23 13:26:36 +01:00
Huw Davies de7be5885c comdlg32: Use a helper function to retrieve pagesetup flags. 2009-01-23 13:26:30 +01:00
Detlef Riekenberg cbaa2e5bd7 comdlg32: Remove dead code (GetModuleHandleA can't fail). 2009-01-23 13:12:17 +01:00
Huw Davies 10dfcfb9a0 comdlg32: Rename pagesetup data type to reflect upcoming unicode/ansi merge. 2009-01-22 15:28:24 +01:00
Huw Davies 4126e8bfa5 comdlg32: Simplify the preview change function a little. 2009-01-22 15:28:22 +01:00
Huw Davies 048b57d102 comdlg32: Rewrite the 1000ths inch conversion function to use the is_metric helper. 2009-01-22 15:28:22 +01:00
Huw Davies 53149c5413 comdlg32: Rewrite the 10ths mm conversion function to use the is_metric helper. 2009-01-22 15:28:22 +01:00
Huw Davies bfa384504a comdlg32: Move handling of the 'Properties' button to a separate function. 2009-01-22 15:28:22 +01:00
Francois Gouget 21ca20b7a8 comdlg32: Remove a space before a '\n'. 2009-01-22 12:04:07 +01:00
Huw Davies b2258d8324 comdlg32: Move invocation of the Printer... dialog to a separate function. 2009-01-21 13:06:30 +01:00
Huw Davies 26f11704d4 comdlg32: Use unicode APIs to react to the change printer combo. 2009-01-21 13:06:24 +01:00
Huw Davies c2cd6f6efe comdlg32: Use unicode APIs in pagesetup_update_papersize. 2009-01-21 13:05:57 +01:00
Huw Davies 11d389e3d4 comdlg32: Use unicode APIs to access the paper combos. 2009-01-21 13:05:50 +01:00
Huw Davies 75829a9509 comdlg32: Initialize the paper comboboxes using unicode. 2009-01-21 13:05:46 +01:00
Huw Davies bb9494ba82 comdlg32: Initialize the printer combobox using unicode strings. 2009-01-21 13:05:36 +01:00
Huw Davies 7d996fb739 comdlg32: Rename PRINTDLG_PS_ChangePrinterA to better reflect its function. 2009-01-21 13:05:27 +01:00
Huw Davies 3a35271960 comdlg32: Add a function to update the orientation buttons. 2009-01-20 12:44:04 +01:00
Huw Davies b6ed969ee5 comdlg32: Add a helper for setting the defaultsource. 2009-01-20 12:44:02 +01:00
Huw Davies 562dd4ab65 comdlg32: Add helpers for getting and setting the devmode papersize. 2009-01-20 12:43:55 +01:00
Huw Davies c1209a68c3 comdlg32: Add a helper for getting the orientation. 2009-01-20 12:43:51 +01:00
Huw Davies 6b6adccc8c comdlg32: Add a helper for setting the orientation. 2009-01-20 12:43:47 +01:00
Huw Davies e75b7ad745 comdlg32: Let pagesetup_update_papersize take care of landscape mode. 2009-01-20 12:43:42 +01:00
Huw Davies 276434caa9 comdlg32: Switch to using a locale dependent decimal separator. 2009-01-20 12:43:35 +01:00
Huw Davies 5f15c1c12e comdlg32: Fix parsing of the margin edit controls. 2009-01-20 12:43:07 +01:00
Huw Davies 11e028be8e comdlg32: Give update_margin_edits the ability to update just one edit control if required. 2009-01-20 12:42:56 +01:00
Mario Kacmar 972741983d comdlg32: Update Slovak translation. 2009-01-20 12:31:15 +01:00
Huw Davies 2a0f86afc5 comdlg32: We need to be able to type the decimal separator into the margin edit controls so ES_NUMBER is no use. Subclass them and filter WM_CHAR instead. 2009-01-19 12:15:03 +01:00
Huw Davies fd9d79ab5d comdlg32: Display the fractional part of the margins. 2009-01-19 12:14:52 +01:00
Huw Davies 6ca8b91f39 comdlg32: Set the margins groupbox title to reflect whether we are using metric or imperial measurements. 2009-01-19 12:14:46 +01:00
Huw Davies ef4588a08e comdlg32: Fix spelling of millimeter. 2009-01-19 12:14:41 +01:00
Huw Davies 3288c72057 comdlg32: Add an is_metric() helper function. 2009-01-16 13:58:14 +01:00
Huw Davies 8149f2a645 comdlg32: Correctly rotate the margins when the paper orientation is changed. 2009-01-16 13:58:09 +01:00
Huw Davies 358ab47023 comdlg32: Remove a couple of obsolete WARN()s. 2009-01-15 12:44:06 +01:00
Huw Davies ef5daf38e7 comdlg32: Set the margin edit controls using unicode functions. 2009-01-15 12:44:01 +01:00
Huw Davies 680e5112e3 comdlg32: Simplify the margin initialization. 2009-01-15 12:43:56 +01:00
Huw Davies 40bed9c504 comdlg32: If a measurement system isn't specified use the default one and update the Flags field to reflect this. 2009-01-15 12:43:50 +01:00
Huw Davies 8b10dd2a8d comdlg32: We no longer need to update the dialog struct on exit as all of the information is up to date. 2009-01-14 15:56:06 +01:00
Huw Davies 3e43528a99 comdlg32: Use a unicode dialog. 2009-01-14 15:55:59 +01:00
Huw Davies 90651c049a comdlg32: Keep the DEVMODE's papersize member up to date. 2009-01-14 15:55:01 +01:00
Huw Davies 34c771bd9a comdlg32: Keep the DEVMODE's orientation member up to date. 2009-01-14 15:54:59 +01:00
Michael Stefaniuc a04ed94580 comdlg32: Remove superfluous pointer casts. 2009-01-14 12:20:58 +01:00
Michael Stefaniuc fe794a36b1 comdlg32: Fix typo in #pragma line in cdlg_Ro.rc. 2009-01-14 12:20:38 +01:00
Huw Davies c458f41aec comdlg32: Use the DEVMODE and DEVNAMES directly from the PAGESETUPDLG structure. 2009-01-13 15:53:56 +01:00
Huw Davies 00e5840eb0 comdlg32: Update the original dialog structure rather than a temporary copy. 2009-01-13 15:53:49 +01:00
Andrew Talbot 8a1a2a9511 comdlg32: Declare a function static. 2009-01-02 14:28:02 +01:00
Andrew Talbot 0c587dc373 comdlg32: Unreachable code fix. 2009-01-02 11:53:16 +01:00
Huw Davies c50a368e46 comdlg32: Use [G|S]etPropW instead of [G|S]etPropA. 2008-12-27 20:23:01 +01:00
Rico Schüller 2381f23787 comdlg32: Fix German translation. 2008-12-18 14:19:40 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Francois Gouget 23e6e7be8e Make sure we have a space before the ellipses in Slovenian resources. 2008-12-04 12:06:06 +01:00
Alexandre Julliard 1a882843bf comdlg32: Make some functions static. 2008-12-03 12:12:52 +01:00
Huw Davies 31fd0d5d7a comdlg32: GetPrinterW and GetPrinterDriverW return the size in bytes so don't multiply by sizeof(WCHAR). 2008-11-26 12:10:28 +01:00
Ricardo Filipe 25f7ad44e5 comdlg32: Removed dead assignments (llvm/clang). 2008-11-25 13:09:53 +01:00
Francois Gouget 9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Francois Gouget 7e4aa49387 comdlg32: Remove WINAPI on static functions where not needed. 2008-11-24 14:18:42 +01:00
Paul Vriens cac3cb9036 comdlg32/tests 2/2: Fix a test failure on Win9x. 2008-11-21 10:02:20 +01:00
Paul Vriens c9b8260056 comdlg32/tests 1/2: Fix a test failure on XP and W2K3. 2008-11-21 10:02:13 +01:00
Michael Stefaniuc 2d27d82909 comdlg32: Remove superfluous casts of void pointers to other pointer types. 2008-11-06 11:09:59 +01:00
Michael Stefaniuc 48960eef2c comdlg32: Don't cast the return value of GetProp() as it is a HANLE aka void pointer. 2008-10-31 12:57:53 +01:00
Alistair Leslie-Hughes 9e4d6e6110 comdlg32: Fix test under win98. 2008-10-28 12:45:55 +01:00
Francois Gouget fc967b45e8 comdlg32/tests: Remove unneeded casts. 2008-10-24 14:25:00 +02:00
Aric Stewart 45a352a773 comdlg32: Some applications expect the filter combo to be filled before the CustomDlg is created. 2008-10-22 13:54:53 +02:00
Aric Stewart faa956f537 comdlg32/tests: Add a test for GetOpenFileName with a dialog template. 2008-10-22 13:54:53 +02:00
Kai Blin 4ff3d9954e comdlg32: Avoid possible NULL pointer dereference (Coverity). 2008-10-15 16:44:05 +02:00
Henri Verbeet 17096364e2 comdlg32: Add a basic test for IShellView2_CreateViewWindow2. 2008-10-14 13:41:56 +02:00
Muneyuki Noguchi b2a8627dbd comdlg32: Convert Japanese resource to UTF-8. 2008-10-13 11:40:54 +02:00
Henri Verbeet d19bb78329 comdlg32: Add a test for AbortProc handling. 2008-10-08 12:16:26 +02:00
Andrew Talbot 4f1fabf335 comdlg32: Sign-compare warnings fix. 2008-09-22 11:52:10 +02:00
Muneyuki Noguchi 2ca3a80ba8 comdlg32: Update Japanese translation. 2008-09-08 14:08:12 +02:00
Jan de Mooij f815b8b9d5 comdlg32/printdlg: Leave FromPages/ToPages empty if it contains max. WORD value. 2008-09-05 12:59:26 +02:00
Jan de Mooij f9f881bfc2 comdlg32/printdlg: If ToPages field is left empty set it to FromPages value. 2008-09-05 12:57:45 +02:00
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Muneyuki Noguchi 874ff81640 comdlg32: Update Japanese translation. 2008-09-02 14:07:28 +02:00
Hongbo Ni 5f680f92e5 comdlg32: Update simplified Chinese resource. 2008-09-02 11:57:36 +02:00
Alexandre Julliard f4d2477b6c comdlg32: Merge Chinese resources into a single file. 2008-08-29 13:52:47 +02:00
Hongbo Ni 698e872751 comdlg32: Update simplified Chinese resource. 2008-08-29 12:31:20 +02:00
Hongbo Ni b76433452c comdlg32: Update traditional Chinese resource. 2008-08-29 12:31:15 +02:00