Commit Graph

103 Commits

Author SHA1 Message Date
Detlef Riekenberg
aa389201e5 comdlg32: Remove unused code for the Button psh1. 2010-01-07 17:59:57 +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
Michael Stefaniuc
db4fab9fc0 comdlg32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +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
Andrew Talbot
764974e59d comdlg32: Constify some variables. 2009-06-10 11:47:58 +02:00
Andrew Talbot
7b1c326016 comdlg32: Fix a typo. 2009-03-04 12:07:03 +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
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
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
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
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
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