Commit Graph

369 Commits

Author SHA1 Message Date
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
Hongbo Ni 27670e715a comdlg32: Convert simplified Chinese resource to utf8. 2008-08-27 13:21:23 +02:00
Hongbo Ni 1ae5258472 comdlg32: Convert traditional Chinese resource to utf8. 2008-08-27 13:21:23 +02:00
Muneyuki Noguchi 7654b6aa72 comdlg32: Update Japanese translation. 2008-08-25 11:14:03 +02:00
Hongbo Ni 7fe167eeae comdlg32: Update simplified Chinese resource. 2008-08-22 10:40:40 +02:00
Colin Finck a33d7fc8c9 Fix some hackish usages of WideCharToMultiByte. 2008-07-31 14:08:29 +02:00
Gal Topper a675c0168d comdlg32: PrintDlgEx: Add support for RETURNDEFAULT. 2008-07-17 13:06:25 +02:00
Gal Topper ef397a5607 comdlg32: PrintDlgEx: Change scope of strings for later reuse. 2008-07-17 13:05:32 +02:00
Andrew Talbot 468f709cbe comdlg32: Remove unneeded address-of operator from array name. 2008-07-10 12:19:32 +02:00
James Hawkins b829b665ea comctl32: Fix two failing tests in win9x. 2008-06-30 15:07:16 +02:00
Mikołaj Zalewski 2879c39d4f comdlg32/tests: Make sure no ANSI strings are passed to Unicode functions. 2008-06-21 11:54:38 +02:00
Mikołaj Zalewski bbd8706e73 comdlg32: Implement CDM_GETFOLDERIDLIST. 2008-06-20 12:12:50 +02:00
Jon Griffiths f2276f5a49 include: Provide wide char definitions for CFSTR_*. 2008-06-19 12:44:43 +02:00
Francois Gouget b6072557ab comdlg32: Remove spaces before '...'. 2008-06-12 12:03:36 +02:00
Francois Gouget 4e7f20268e comdlg32: Remove spaces before '\n' (and some after) in resource strings. 2008-06-11 20:02:57 +02:00
Francois Gouget fb1d5df48e comdlg32: Remove spaces before '\n' in resource strings. 2008-06-11 20:02:54 +02:00
Francois Gouget 9b81d86a6d Replace SUBLANG_ENGLISH_US with SUBLANG_DEFAULT. 2008-06-10 19:45:14 +02:00
Paul Vriens 5777a3d6cf comdlg32/tests: Use GetModuleHandle instead of LoadLibrary. 2008-06-09 16:55:27 +02:00
Francois Gouget 39cb432b68 Fix the resources to remove extraneous spaces in '...'. 2008-06-05 15:53:05 +02:00
Michael Stefaniuc db74eb3954 comdlg32: Fix the Czech translation. 2008-06-04 12:32:16 +02:00
José Manuel Ferrer Ortiz 85e839a2c2 Spanish translations updates. 2008-06-02 12:32:47 +02:00
Michael Stefaniuc f19e8470fa comdlg32: Fix some control sizes in the default English resource. 2008-05-30 10:01:53 +02:00
Michael Stefaniuc 2f24e16171 comdlg32: Fix the Hungarian translation. 2008-05-30 10:01:51 +02:00
Michael Stefaniuc 11f70b3fab comdlg32: Fix the Esperanto translation. 2008-05-29 12:11:31 +02:00
Michael Stefaniuc 609086312e comdlg32: Fix the Japanese translation. 2008-05-29 12:11:28 +02:00
Michael Stefaniuc a09dd261c9 comdlg32: Fix the Ukrainian translation. 2008-05-28 11:30:51 +02:00
Michael Stefaniuc 5c2d8650aa comdlg32: Fix the Greek translation. 2008-05-28 11:30:49 +02:00
Michael Stefaniuc eac99ca9a2 comdlg32: Fix the Thai translation. 2008-05-28 11:30:46 +02:00
Michael Stefaniuc fec9df31b4 comdlg32: Fix the Walon translation. 2008-05-28 11:30:42 +02:00
Michael Stefaniuc 240f64819a comdlg32: Fix the Catalan translation including some size fixes too. 2008-05-27 12:06:03 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
ByeongSik Jeon 47f83635bc comdlg32: Updated Korean translation. 2008-05-14 12:21:30 +02:00
Detlef Riekenberg 473717fefd winspool: Set PrinterPorts for win3.x/win9.x compatibility. 2008-05-07 13:29:15 +02:00
Jens Albretsen 12f296b8a7 comdlg: Added missing Danish translations. 2008-05-05 13:35:43 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Hwang YunSong(황윤성 e52fb6c029 comdlg32: Updated Korean resource. 2008-04-18 13:57:14 +02:00
Andrew Talbot 5d707bc271 comdlg32: Remove unused variable. 2008-04-17 11:40:59 +02:00
Alexandre Julliard 24fc87286f comdlg32: CDM_GETSPEC and CDM_GETFILEPATH should preserve double quotes in file lists. 2008-04-16 18:05:25 +02:00
Andrew Talbot 1089e165a4 comdlg32: Remove unused variables. 2008-04-15 15:32:12 +02:00
Jonathan Ernst eb2dadaea1 comdlg32: Updated French translation. 2008-04-15 14:33:06 +02:00
Rok Mandeljc 202cbcc11b comdlg32: Fix a mistake in Slovenian translation. 2008-04-14 12:42:45 +02:00
Rok Mandeljc 0ed65a1ebc comdlg32: Updated Slovenian translation. 2008-04-07 21:40:40 +02:00
Alexander Nicolaysen Sørnes 0f39218860 comdlg32: Update Norwegian Bokmål resource. 2008-04-07 12:13:48 +02:00
Apostolos Alexiadis 6d80f099f7 comdlg32: Greek resources update. 2008-04-07 11:37:52 +02:00
Apostolos Alexiadis e6c2dcbc79 comdlg32: Added Greek translation. 2008-04-01 23:38:46 +02:00
Vitaly Perov f5dd5a2deb comdlg32: When PD_USEDEVMODECOPIESANDCOLLATE flag is not set dmCopies must be 1. 2008-04-01 13:39:57 +02:00
Mikołaj Zalewski ed3522e14f comdlg32: Add some ES_NUMBER to pagesetup dialog templates in languages that don't have them. 2008-03-31 12:13:17 +02:00
Vitaliy Margolen 5b690b0885 Update Russian translations. 2008-03-28 09:53:44 +01:00
Michael Stefaniuc e4d332b601 comdlg32: Small typo fix in the German translation. 2008-03-26 10:33:39 +01:00
Michael Stefaniuc 241aff1203 comdlg32: Add the Romanian translation. 2008-03-26 10:33:37 +01:00
Lei Zhang 19ed9729db comdlg32: Avoid double free in PRINTDLG_PaperSizeA/W. 2008-03-25 20:00:07 +01:00
Alexandre Julliard 1e9acad3a0 comdlg32: Fixed a number of buffer overflows in the file dialog. 2008-03-25 17:34:32 +01:00
Reece Dunn ae32a7fe04 comdlg32: Fix building the tests with MSVC headers. 2008-03-24 21:05:03 +01:00
Michael Stefaniuc 76344b7860 comdlg32: Update the German translation. 2008-03-21 11:23:41 +01:00
Frans Kool 64b35d8566 comdlg32: Corrected Dutch translations. 2008-03-19 11:23:17 +01:00
Mikołaj Zalewski 89c86dd994 comdlg32: Move font style names to resources. 2008-03-11 12:11:51 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Alexandre Julliard 4fd668d010 Replace some instances of LoadStringA by LoadStringW. 2008-03-03 20:07:37 +01:00
Andrew Talbot 2b217ea9af comdlg32: Assign to structs instead of using memcpy. 2008-02-29 20:07:13 +01:00
Alexander Nicolaysen Sørnes a3a49149b6 comdlg32: PrintDlgW: Remove incorrect FIXME. 2008-02-27 14:52:25 +01:00
Alexander Nicolaysen Sørnes 8487a5dc59 commdlg: PrintDlg16: Handle print quality combobox. 2008-02-26 12:03:53 +01:00
Rob Shearman 4e0100ff06 comdlg32: Fix checks for failure of COMDLG32_SHGetFolderPathW in FILEDLG95_InitControls.
COMDLG32_SHGetFolderPathW returns a BOOL, not an HRESULT.
2008-02-25 13:29:22 +01:00
Rob Shearman 9ad684b426 comdlg32: Fix the character length passed into GetDlgItemTextW in PRINTDLG_PS_UpdateDlgStructW. 2008-02-19 13:39:24 +01:00
Rob Shearman ff527875d9 comdlg32: Fix potential buffer overrun of lpxx->lfFaceName in CFn_WMCommand. 2008-02-19 13:39:24 +01:00
Divan Burger c8b626fa1d comdlg32: Fix memory leak in colour dialog. 2008-02-18 14:10:12 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Andrew Talbot 649d8b5298 comdlg32: Rename some identifiers to reflect their width. 2008-02-15 12:05:44 +01:00
Andrew Talbot 8fb1f0d089 comdlg32: Assign to structs instead of using memcpy. 2008-02-13 16:41:37 +01:00
Frans Kool 299f1bdf08 comdlg32: Added Dutch translations. 2008-02-12 22:37:16 +01:00
Paul Romanyszyn 95fa37ff84 comdlg32: Filter change should not update filename. 2008-01-10 11:39:04 +01:00
Divan Burger ad92cdcf55 comdlg32: Modernize the look of the colour boxes in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 3a508e605b comdlg32: Modernize the look of the selected colour box in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 285c9fc640 comdlg32: Modernize the look of the colour graph's cross in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 155d320ae6 comdlg32: Modernize the look of the luminance bar in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 8a0dab38c8 comdlg32: Clamp hue and saturation when clicking in colour graph in colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 19ed584903 comdlg32: Fix bug where the colour graph's cross is not painted. 2008-01-09 13:38:03 +01:00
Dmitry Timoshkov 77c0fad572 comdlg32: If lpstrFile points to a valid string use it as a default value for edit control. 2008-01-08 12:54:54 +01:00
Alexander Nicolaysen Sørnes a2e9b4bb0c comdlg32: PageSetupDlgW: Set paper size in printer dialog. 2008-01-08 12:53:43 +01:00
Alexander Nicolaysen Sørnes 9a96ac0dcc comdlg32: PageSetupDlgW: Set orientation in printer dialog. 2008-01-07 13:46:17 +01:00
Andrew Talbot 595707dd63 comdlg32: Remove unneeded cast. 2008-01-07 12:18:22 +01:00
Alexander Nicolaysen Sørnes 5624948c71 comdlg32: PageSetupDlgW: Load paper orientation in ChangePrinterW. 2007-12-26 14:03:57 +01:00
Alex Villacís Lasso c06cfa85c2 comdlg32: Fix another regression in 3.1-style file dialog from LB_DIR fix. 2007-12-21 12:41:07 +01:00
Rico Schüller 98093a6edd comdlg32: Fix typo. 2007-12-18 19:48:02 +01:00
Alexander Nicolaysen Sørnes 507aeb6855 comdlg32: PageSetupDlgW: Swap margins when changing orientation. 2007-12-10 14:28:09 +01:00
Alexander Nicolaysen Sørnes 74d99ac3ac comdlg32: PageSetupDlgA: Swap margins when changing orientation. 2007-12-10 14:28:05 +01:00
Alexander Nicolaysen Sørnes 51086b5513 comdlg32: PageSetupDlgA: Read margins from correct edit boxes. 2007-12-08 19:54:44 +01:00
Aric Stewart 9649ca2aa2 commdlg: File name and extension offsets are not guaranteed to be the same in W->A conversions. 2007-12-05 13:46:48 +01:00
Andrew Riedi 6de3bbc557 comdlg32: DPRINTF -> TRACE. 2007-12-05 12:34:23 +01:00