Commit Graph

80 Commits

Author SHA1 Message Date
Dimitrie O. Paun afab8342bb Avoid W->A transitions. 2004-09-22 19:11:05 +00:00
Huw Davies b49f914597 Fix printer selection in PD_PRINTSETUP type dialogs. 2004-08-18 21:00:05 +00:00
James Hawkins c0e4c40bbb Better fix for collate icon behavior. 2004-07-19 19:35:28 +00:00
James Hawkins 0a8c92b499 Fixed collate icon behavior. 2004-07-16 23:43:20 +00:00
James Hawkins f3eec54a66 Check for empty PrinterName in PRINTDLG_WMCommandW. 2004-07-16 19:14:19 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard 2509fcf2c6 Some more Win16/Win32 separation (based on a patch by Steven
Edwards).
2004-01-09 05:10:35 +00:00
Robert Shearman e18682ad7c Remove PRINTDLG_GetDefaultPrinterName; use Win32 GetDefaultPrinterA/W
instead.
2004-01-02 01:49:31 +00:00
Mike McCormack 4fcb06a5a9 Pass the correct lparam when calling PageDlgProcA's PageSetupHook for
WM_INITDIALOG.
2003-10-14 20:06:46 +00:00
Steven Edwards c48c16471c Remove a few unneeded include statements in internal headers.
Started bringing setupapi in line with PSDK.
2003-10-07 22:51:09 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Steven Edwards 9e2b15da17 Split Win16/32 printer dialogs. 2003-08-02 00:41:41 +00:00
Alexandre Julliard dfe397fc38 Get/SetPropW needs a Unicode string. 2003-06-30 02:06:22 +00:00
Mike Hearn 0d6a2e9aba Store PrintStructures in a window property instead of extra window
bytes.
2003-06-27 22:21:06 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Dmitry Timoshkov 39669fa850 Use SetDlgItemText instead of sending a WM_SETTEXT. 2003-05-14 00:02:17 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Tony Lambregts b4bb1490df Janitorial. Get rid of W->A call. 2003-03-17 21:22:57 +00:00
Tony Lambregts e295d3996e Janitorial. Get rid of W->A call. 2003-03-06 22:43:43 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Matthew Davison eb53c02579 Fixed some handle conversions for -DSTRICT. 2002-11-01 01:50:06 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Duane Clark 6c320a84af Set the return value of the PD_PAGENUMS flag. 2002-10-21 18:22:31 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Alexandre Julliard 1921948463 Store print dlg structure in a property instead of DWL_USER. 2002-06-13 21:41:08 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Marcus Meissner b8cab4989a Implemented PrintDlgW and PageSetupDlgW. 2002-04-11 17:32:49 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget 58b299521d Small typo fixes/updates. 2001-10-08 20:40:09 +00:00
Bill Medland 0a64cc6992 More graceful exit on failure. 2001-09-10 23:14:22 +00:00
Andreas Mohr 0ce0bef9c1 Don't crash if DeviceCapabilities(DC_PAPERNAMES) fails. 2001-07-27 23:55:51 +00:00
Marcus Meissner d2838353ae Added Quality Box (readonly currently) for 16bit templated dialogs.
Added [Printer] button support in 16bit templated dialogs.
Try sending orientation icon to stc10 too.
2001-07-14 00:47:20 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 6076729649 Documentation ordinal fixes. 2001-06-19 03:34:07 +00:00
Duane Clark abecb13435 Swap portrait/landscape icon when button clicked. 2001-05-07 20:14:57 +00:00
Marcus Meissner acb08a3972 Fixed WM_COMMAND notification codes for 16 bit PrintDlg. 2001-05-05 00:45:45 +00:00
Marcus Meissner 6700eb31ba Implemented large parts of PageSetupDlgA. 2001-05-05 00:44:03 +00:00
Marcus Meissner f24f23c2d3 Fixed PrintDlg so the devnames struct contains the correct driver
printer and port names.
2001-05-02 01:10:43 +00:00
Marcus Meissner ab8b7dba77 Added CUPS printing support. 2001-04-27 18:02:46 +00:00
Gerard Patel c7265aaaad Map 32 bits resource for 16 bits print dialog. 2001-02-26 22:32:35 +00:00
Duane Clark eb2e0de75e - make the Landscape/Portrait buttons do something.
- fix these problems in the Paper Size and Source combo boxes:
  1) Every time the printer setup dialog is opened, the settings
  are set back to garbage settings.
  2) If the paper size or source is changed, and then the printer is
  changed, the new printer does not get the new size and source
  settings even though it appears to from the dialog.
2001-02-12 19:42:08 +00:00
Huw D M Davies 63c1c939d6 Add an updown control to the copy count entry.
Disable the collate button if no. of copies is 1.
Add Landscape/Portrait icons.
Get rid of the "Dummy Comment" line.
Fix the English of some of the error messages.
2001-02-12 18:09:34 +00:00
Huw D M Davies a247086cfc Call LoadImage to load the non-standard sized collate icons. 2001-02-12 03:38:14 +00:00
Jon Griffiths 7a6bad8f10 - Fix a typo in TBSAVEPARAMS A/W declaration.
- Use 16 bit Unicode constants for wc strings.
- Make some string constants available as Unicode.
2001-01-22 02:13:58 +00:00
Marcus Meissner ad37850024 Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.
2001-01-02 22:26:09 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Marcus Meissner 037fd57c86 Fixed handling of DialogBoxIndirectParamA return value. 2000-12-07 23:13:03 +00:00