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 |
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 |
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 |
Huw Davies
|
c50a368e46
|
comdlg32: Use [G|S]etPropW instead of [G|S]etPropA.
|
2008-12-27 20:23:01 +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 |
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 |
Andrew Talbot
|
4f1fabf335
|
comdlg32: Sign-compare warnings fix.
|
2008-09-22 11:52:10 +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 |
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
|
1089e165a4
|
comdlg32: Remove unused variables.
|
2008-04-15 15:32:12 +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 |
Lei Zhang
|
19ed9729db
|
comdlg32: Avoid double free in PRINTDLG_PaperSizeA/W.
|
2008-03-25 20:00:07 +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
|
9ad684b426
|
comdlg32: Fix the character length passed into GetDlgItemTextW in PRINTDLG_PS_UpdateDlgStructW.
|
2008-02-19 13:39:24 +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 |
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 |
Alexander Nicolaysen Sørnes
|
5624948c71
|
comdlg32: PageSetupDlgW: Load paper orientation in ChangePrinterW.
|
2007-12-26 14:03:57 +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 |
Andrew Talbot
|
750a56016d
|
comdlg32: Remove unnecessary casts.
|
2007-12-04 14:32:39 +01:00 |
Dmitry Timoshkov
|
d43fdc5ab0
|
include: Synchronize DEVMODE layout with PSDK.
|
2007-11-01 12:41:21 +01:00 |
Detlef Riekenberg
|
429d7a27e0
|
comdlg32: Improve stub for PrintDlgEx.
|
2007-10-26 15:14:56 +02:00 |
Francois Gouget
|
c4b1195c0c
|
Assorted spelling fixes.
|
2007-10-23 18:20:27 +02:00 |
Detlef Riekenberg
|
55fe39e07b
|
comdlg32: Do not crash with PageSetupDlg(NULL).
|
2007-10-23 18:04:06 +02:00 |
Mikolaj Zalewski
|
cdcdbe9b68
|
comdlg32: NULL name in PRINTDLG_SetUpPrinterListComboA is correct so don't print a FIXME.
|
2007-10-16 12:48:12 +02:00 |
Andrew Talbot
|
1ca7435754
|
comdlg32: Fix some memory leaks.
|
2007-09-14 14:43:07 +02:00 |
Alexander Nicolaysen Sørnes
|
1065d52486
|
comdlg32: PageSetupDlgA/W: Avoid crash when not passed a DEVMODE structure.
|
2007-08-27 12:01:17 +02:00 |
Alexander Nicolaysen Sørnes
|
225c33fe70
|
comdlg32: printdlg: Fix number display in PrintDlgW().
|
2007-08-20 22:30:33 +02:00 |
Alexander Nicolaysen Sørnes
|
0f20a83cae
|
comdlg32: PrintDlg: Set PD_SELECTION on return.
|
2007-08-20 12:06:07 +02:00 |
Alexander Nicolaysen Sørnes
|
cd00a42e56
|
comdlg32: printdlg: Set/Load paper orientation in PageSetupDlgW.
|
2007-08-16 12:00:45 +02:00 |
Detlef Riekenberg
|
2ca1de9973
|
comdlg32: Return defaults for hDevMode and hDevNames.
|
2007-08-10 12:58:17 +02:00 |
Dmitry Timoshkov
|
3c9e7a7f33
|
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
|
2007-05-25 20:37:56 +02:00 |
Andrew Talbot
|
03fc0989a3
|
comdlg32: Constify some variables.
|
2007-04-06 12:31:10 +02:00 |
Francois Gouget
|
536e738552
|
Assorted spelling fixes.
|
2007-02-14 21:03:57 +01:00 |
Francois Gouget
|
2c531ade2e
|
comdlg32: Fix PrintDlg(NULL) and reenable a test that was in an '#if 0'.
Fix the test so it compiles without warnings.
|
2006-12-14 20:24:58 +01:00 |
Dmitry Timoshkov
|
d0db296db0
|
comdlg32: Make some data const.
|
2006-11-29 12:44:47 +01:00 |
Michael Ploujnikov
|
fb7ed587e9
|
comdlg32: Win64 printf format warning fixes.
|
2006-10-13 15:46:02 +02:00 |
Francois Gouget
|
82babbee0b
|
Add missing '\n's to Wine traces.
|
2006-10-05 17:46:48 +02:00 |
Duane Clark
|
e0aabe4f8c
|
comdlg32: Set PD_PAGENUMS from print dialog.
|
2006-07-17 13:49:35 +02:00 |
Andrew Talbot
|
0d4afab704
|
comdlg32: Write-strings warning fix.
|
2006-05-24 10:35:51 +02:00 |
Jonathan Ernst
|
360a3f9142
|
Update the address of the Free Software Foundation.
|
2006-05-23 14:11:13 +02:00 |
Alexandre Julliard
|
ca1e72a402
|
comdlg32: Renamed the dlls/commdlg directory to dlls/comdlg32.
|
2006-04-10 17:00:03 +02:00 |