Commit Graph

506 Commits

Author SHA1 Message Date
Rémi Assailly 193d527736 char -> const char fixes. 2005-01-28 14:02:52 +00:00
José Manuel Ferrer Ortiz 231d9b9b25 Updated Spanish resources. 2005-01-24 11:31:23 +00:00
Robert Shearman 9f625c5e2c - Draw a representation of a document in the page setup dialog.
- Change some FIXME's to TRACE's because everything we need is
  implemented and they fire for ones that we don't need to implement.
2005-01-24 11:26:23 +00:00
Dmitry Timoshkov 4e59e4b96f Correct coordinates of a couple of controls. 2005-01-20 19:56:37 +00:00
Jonathan Ernst 8e927a6a74 Updated French resources. 2005-01-17 15:34:49 +00:00
Henning Gerhardt 038c5cbcbf Update German resources. 2005-01-17 13:43:16 +00:00
Ulrich Czekalla 24f804528e GetFileName31W should call unicode version of FD31_AllocPrivate. 2005-01-14 16:49:55 +00:00
Jacek Caban ed3ad8852d Get rid of W->A calls. 2005-01-10 13:22:35 +00:00
Paul Vriens 545cdfa2ef - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-10 12:25:29 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
José Manuel Ferrer Ortiz 4854f847c8 Updated Spanish resource. 2005-01-09 16:33:26 +00:00
Jacek Caban 8414668401 Moved save* strings to resources. 2005-01-09 16:31:36 +00:00
Jacek Caban fe7fc51a92 Moved string to resources. 2005-01-06 19:43:43 +00:00
Robert Shearman fbe94efc91 Change dialog templates to not explicitly specify extended window
styles for the static rects on the Page Setup dialog as the ones
specified were wrong anyway.
2005-01-04 20:35:24 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Jacek Caban 417fde8d42 Unicodified fontdlg. 2004-12-22 17:17:06 +00:00
Dmitry Timoshkov 6fcb789a1b Replace 'All xxx pages' text in common print dialog by simple 'All'. 2004-12-22 14:59:50 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Mike McCormack bc42b2e19e CFM_GETSPEC always returns a space-separated list. 2004-11-29 16:59:14 +00:00
Mike McCormack b5a8779814 Fix ofn.nFileOffset when multiple files are selected. 2004-11-24 18:10:24 +00:00
Vincent Béron 6c644d68cf Fix various function prototypes. 2004-10-19 23:55:15 +00:00
Vincent Béron 2eafc7ffe3 Better document some apis in commdlg and mscms. 2004-10-08 21:02:22 +00:00
Jon Griffiths ecd78d780e Constify some statics and make them smaller. 2004-10-07 17:35:08 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Jacek Caban e1143d7d16 Added/updated Polish translations. 2004-10-05 18:09:34 +00:00
Steven Edwards a6f68b550a Remove unneeded include statements. 2004-09-23 04:50:58 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dimitrie O. Paun afab8342bb Avoid W->A transitions. 2004-09-22 19:11:05 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Jacek Caban 2fbed28b43 Translation update. 2004-09-06 20:28:16 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Jacek Caban c9a6c92e15 Polish translation update. 2004-08-30 18:39:06 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Dmitry Timoshkov 4c9756e422 Y coordinate of the "magic" static control should be treated
inclusively.
2004-08-22 22:26:22 +00:00
Huw Davies b49f914597 Fix printer selection in PD_PRINTSETUP type dialogs. 2004-08-18 21:00:05 +00:00
Dmitry Timoshkov 182a403eae - Use "MS Shell Dlg" in the Open File dialog templates as in Windows
- Resize child dialog when its controls are moved relatively stc32
  "magic" control.
2004-08-16 21:12:13 +00:00
Rein Klazes dac0fa832c Fix a crash saving a file without file name extension and without
extension filter.
2004-08-16 19:57:30 +00:00
Jacek Caban 8024b5ee17 Translation update. 2004-08-14 00:42:46 +00:00
Jacek Caban 45ae0c307b Fix a bug in passing parameters to CFn_WMInitDialog and CFn_WMCommand
in FormatCharDlgProcW.
2004-08-14 00:42:35 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
James Hawkins 1866dfbe16 Cleanup A->W cross calls. 2004-08-02 22:21:12 +00:00
Henning Gerhardt 68ade3b7ac Minor fixes and updates to the German resource files. 2004-07-22 20:35:07 +00:00
Mike McCormack 8f6545cbcf Unicode file dialogs send and receive unicode messages. 2004-07-21 21:16:19 +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
Krishna Murthy 38603c4c93 Add the selected extension from file type filter if file name does not
contain the file extension.
2004-07-14 21:47:11 +00:00
Ge van Geldorp 4d80215062 Fix 16/32 bit separation. 2004-07-14 00:39:10 +00:00
Dmitry Timoshkov 5972c7389f Fix control coordinates in German and French versions of open file
dialog.
Remove duplicate control ids in Catalan, Russian and Ukrainian
dialogs.
2004-06-30 18:15:05 +00:00
Rein Klazes 0d6adce37a In FILEDLG_ScanDir do not try to set the current directory to a path
that is empty.
2004-06-02 21:33:32 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Wolfgang Schwotzer 4b2a99b4d4 Support lpstrCustomFilter and return nFilterIndex in file dialog. 2004-05-12 00:12:04 +00:00
Ilya Korniyko 4943881d28 Encoding fixes in Ukrainian translation. 2004-05-10 19:54:10 +00:00
Wolfgang Schwotzer bce73e4242 Update OFN_READONLY flag when closing file dialog. 2004-05-05 23:49:39 +00:00
Pavel Roskin 095752a1ff Make the file type combobox non-editable. 2004-05-03 20:20:08 +00:00
Wolfgang Schwotzer 2f0a4ac46d Make file dialog support FNERR_BUFFERTOSMALL if buffer too small. 2004-05-03 20:09:09 +00:00
Ilya Korniyko 1c279bfd89 Added Ukrainian translations. 2004-04-26 23:35:17 +00:00
Francois Gouget 85cad2cdbb If lpstrTitle is NULL, set it to either 'Open File' or 'Save as'.
Constify the string constants.
2004-04-26 20:02:39 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +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
Huw Davies 01fbcfb2f1 Add back win16 style dialogs for win32 apps. 2004-04-12 22:03:55 +00:00
José Manuel Ferrer Ortiz 24dd96a907 Updated Spanish translations. 2004-04-06 03:24:19 +00:00
Robert Shearman c64835dc48 Separate US English resources from English ones. 2004-04-02 23:27:24 +00:00
Marcelo Duarte 35ac185de7 Minor updates in resource for Portuguese. 2004-03-30 04:34:13 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Rein Klazes a56d40f490 Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. 2004-03-20 19:22:17 +00:00
Ge van Geldorp 5bec0d7ef8 Change GetFileTitleA/W prototype to match PSDK. 2004-03-12 01:52:11 +00:00
Ivan Leo Murray-Smith 0053b8b24b Italian update. 2004-02-24 01:05:05 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Huw Davies 89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Jon Griffiths cf09f5a9f1 Thai language translation. 2004-02-09 20:46:16 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Ivan Leo Murray-Smith 6fb62d0353 Resource updates. 2004-01-23 01:44:47 +00:00
Huw Davies 8e9e8922f1 Directly use the hook proc for the custom template dialog rather than
calling it through another dlgproc.
Deliver the old style file_ok message with SendMessage, this allows
the dialog to be subclassed (as ATL/WTL does).
Only deliver this message if the app didn't reject the WM_NOTIFY
message.
2004-01-19 21:51:29 +00:00
Rein Klazes be4aff376b Handle the cases when initdir is either invalid, or specifies a file. 2004-01-12 22:12:58 +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
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Robert Shearman e18682ad7c Remove PRINTDLG_GetDefaultPrinterName; use Win32 GetDefaultPrinterA/W
instead.
2004-01-02 01:49:31 +00:00
Phil Krylov 930b7da626 Implemented OFN_OVERWRITEPROMPT and OFN_EXTENSIONDIFFERENT flags.
Changed IDL_OVERWRITEFILE string resource ID to IDS_OVERWRITEFILE.
Use the extended UI for the "Look In" combo.
Select the text in the "File name" field after filling it.
2004-01-02 01:47:52 +00:00
Rein Klazes 62fb1919f8 - Add a bitmap resource with the font icons: TrueType, printer,
OpenType and Type 1. Modify the code so that they will be used if or
  when the needed bits are passed to the FontEnumProc.
- Use EnumFontFamiliesEx instead of EnumFontFamilies.
- Fix the fixme in the WM_MEASUREITEM message handler.
2003-12-30 22:08:17 +00:00
Vik Kumar c04cf2d12c Fixed MS UI Gothic font names. 2003-12-30 19:19:18 +00:00
Marcus Meissner 04f96a864e DWL_USER might be used otherwise, so use an internal window property
for data storage.
2003-12-30 19:15:43 +00:00
Rein Klazes 66e5a82c15 When a directory is entered in the 16 bits file dialog, it should not
be returned the user. Instead the directory must be changed and the
dialog work from there.
2003-12-30 19:10:53 +00:00
Steven Edwards 7803bb5e5a Porting fix. 2003-12-15 19:49:34 +00:00
Steven Edwards c49064a838 - The last of the major Win16/32 split for commdlg (for real this
time).
- Moved most of the 16bit stuff to cdlg16.h.
- A few small cleanups.
2003-12-12 06:09:13 +00:00
Vik Kumar 103f9893ca Font changes from MS P Gothic to MS UI Gothic. 2003-12-12 05:59:14 +00:00
Rein Klazes 965b285238 Do conversions between the font size specified in points (or
decipoints) and height specified in logical units.
2003-12-11 05:17:05 +00:00
Rein Klazes c546462f65 Enable the display of a true type bitmap for true type fonts. 2003-12-11 04:26:56 +00:00
Dmitry Timoshkov 5882718eef Fix a font object leak in the font dialog's WM_PAINT handler. 2003-12-08 21:52:43 +00:00
Rein Klazes c69a522e3e Correct the test for the ODS_SELECTED bit in the WM_DRAWITEM message
handler.
2003-12-04 21:53:14 +00:00
Rein Klazes 42fc4bec2d Use the lfHeight field to initialize the font dialog's point size. Do
not forget to return some values in the choosefont structure in the 16
bit version of the ChooseFont function.
2003-12-04 01:43:01 +00:00
Rein Klazes 6f1a7da4b4 Implement combobox to select the font's character set.
Bug fixes: handle WM_MEASUREITEM message; handle the WM_PAINT message
in the 16bit font dialog, so it displays the sample string too.
2003-12-03 22:25:10 +00:00
Steven Edwards 98cda18644 Split the Win16/32 color dialog by duplicating two internal
functions.
2003-12-01 22:45:30 +00:00
Jon Griffiths f1f3b915c2 Spelling/Grammar fixes. 2003-12-01 22:41:59 +00:00
Rein Klazes 2c142af1aa Add sample texts for all missing character sets (or explain why some
don't have it). Put the complete text in one place and remove the glue
code. Change the 2D array that holds the texts by a array of pointer
to 1D character arrays to save space.
2003-12-01 22:40:56 +00:00