Commit Graph

136 Commits

Author SHA1 Message Date
Michael Stefaniuc b97542cef7 comdlg32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-23 12:37:23 +01:00
Alexandre Julliard 2cfe907584 comdlg32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02:00
Alex Henrie fedd1cb3d3 comdlg32: Turn several variables into static constants.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:10 +01:00
Nikolay Sivov 7514475c1c comdlg32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:25 +01:00
Michael Stefaniuc 3ad882ff24 comdlg32: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 17:29:35 +09:00
Nikolay Sivov c8e407da3b comdlg32: Explicitly compare to HRESULT values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 20:04:32 +01:00
Michael Stefaniuc 74007d4405 comdlg32: Remove unused variable assigments (PVS-Studio). 2015-01-13 19:54:02 +01:00
Michael Stefaniuc 51d0345ebd comdlg32: RT_DIALOG is already an INTRESOURCE (PVS-Studio). 2014-11-27 11:43:28 +01:00
Ralf Habacker 2b9d337f6d comdlg32: Update dmFormName when changing paper size in print UI. 2014-11-20 23:40:39 +09:00
Andrey Gusev be367393c9 Assorted typos fixes. 2014-01-13 17:37:42 +01:00
Huw Davies ec37a87e95 comdlg32: Don't call the callback if it's not set. 2013-06-25 18:12:11 +02:00
Dmitry Timoshkov 4986ba35c3 include/commdlg.h: Fix definition of LPPRINTHOOKPROC and LPSETUPHOOKPROC. 2013-05-08 12:45:42 +02:00
Dmitry Timoshkov e0b4b9f63f comdlg32: Add a simple PrintDlgEx implementation which wraps around the PrintDlg one. 2013-04-09 11:59:46 +02:00
Michael Stefaniuc df158e4379 comdlg32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:13 +02:00
Aric Stewart aefd9b5533 comdlg32: Do not use GetDlgItemText to get combo box text during an CBN_SELCHANGE notification. 2012-07-11 10:12:52 -05:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Detlef Riekenberg 24047e902f comdlg32: Return a device context when requested. 2012-03-27 12:04:30 +02:00
Detlef Riekenberg ecd6f40acb comdlg32: Use a helper to update the devmode handle. 2012-03-27 12:04:01 +02:00
Detlef Riekenberg ce9f046388 comdlg32: Use a helper to get the printer driver info. 2012-03-27 12:02:05 +02:00
Detlef Riekenberg d0f5397b9e comdlg32: Use a helper to get the printer info. 2012-03-27 12:01:12 +02:00
Detlef Riekenberg c2aeac3cc0 comdlg32: Validate more parameters in PrintDlgEx. 2012-03-27 11:59:44 +02:00
Alexandre Julliard 67a0db3c38 comdlg32: Avoid crash when driver name doesn't contain a backslash. 2012-02-24 12:48:00 +01:00
Detlef Riekenberg bea7032687 comdlg32: Exclude the driver path from the result. 2012-02-13 18:37:39 +01:00
Frédéric Delanoy 954e6eba7e comctl32: Avoid hardcoding array lengths. 2011-11-22 10:53:33 +01:00
Francois Gouget 229f7073ec comdlg32: Fix a couple of string resources so their format placeholders can be reordered. 2011-11-21 12:55:47 +01:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Huw Davies 016b7c53dc comdlg32: When changing printers, only preserve the paper/bin settings if the new printer has the original setting available. 2011-06-22 17:52:45 +02:00
Alexandre Julliard 6d5bfce3ee comdlg32: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:04:15 +02:00
Vitaly Perov dcef05b6f1 comdlg32: Add basic implementation of PrintDlgExA. 2010-09-27 15:01:34 +02:00
Andrew Talbot dc06444314 comdlg32: Constify a variable. 2010-08-16 13:46:28 +02:00
Gerald Pfeifer 4b25c6e6ad comdlg32: Removed unused parameters from PRINTDLG_WMInitDialogW and PRINTDLG_WMInitDialogA. 2010-03-15 13:41:03 +01:00
Gerald Pfeifer f7e292a51e comdlg32: Remove unused wParam parameters from PRINTDLG_WMInitDialog and PRINTDLG_WMInitDialogW. 2010-03-01 11:33:27 +01:00
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