Commit Graph

267 Commits

Author SHA1 Message Date
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