Commit Graph

526 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 2964888d05 A general cleanup of the version resources in Wine DLLs. 2003-11-30 05:59:29 +00:00
Rein Klazes e94dad187a Remember (do not reset) font size and style parameters in the initial
dialog and when another font is selected.
2003-11-28 23:40:12 +00:00
Rein Klazes c9197aad4f Fix a bug in the test for italic font style property. 2003-11-28 23:38:51 +00:00
Rein Klazes e998d0e3cb Tidy up indentation. 2003-11-28 23:35:34 +00:00
Rein Klazes 801cb5a6f1 Fix "sample" box drawing by adding some needed coordinate and size
transformations.
2003-11-26 03:38:39 +00:00
Ivan Leo Murray-Smith 5a2f3c1f1f Added/updated Italian resources. 2003-11-20 22:07:35 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Alexandre Julliard 2aa8a8390a Replaced a few more 0xffffffff by the appropriate constants. 2003-10-16 19:31:11 +00:00
Steven Edwards c3c0c56c78 - Split Win16/32 file dialogs.
- Remove support for Win16 style'd Win32 dialogs.
2003-10-16 00:16:40 +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
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +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
Michael Günnewig 4d375d1b8b Fixed warnings with gcc option "-Wwrite-strings". 2003-10-04 03:04:45 +00:00
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +00:00
Michael Stefaniuc 082e0bfe93 Fix missing mem freeing on error path. 2003-10-01 03:14:29 +00:00
Michael Stefaniuc 4ba3b0aa0b Fix memory leaks on error path. 2003-09-30 00:22:33 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Vincent Béron bf5f07a5b4 Yet another batch of French resources updates. 2003-09-22 21:16:56 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +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 69c90c2a9f Converted the rest of the obj_*.h headers to IDL into shobjidl.idl. 2003-09-09 19:32:36 +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
Alexandre Julliard 81c31701d2 Avoid including wine/obj_*.h files directly from C files.
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Dmitry Timoshkov 261b97afbf Some applications depend on the order of initialization steps of the
custom file open dialog.
2003-08-22 05:01:08 +00:00
Dmitry Timoshkov ca7e9ff1fc Cope with potentially moved and resized file view window. 2003-08-21 21:25:16 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Steven Edwards 9e2b15da17 Split Win16/32 printer dialogs. 2003-08-02 00:41:41 +00:00
Francois Gouget 17afa80afd Some spelling fixes. 2003-07-30 03:42:26 +00:00
Dmitry Timoshkov b96b3d15b5 Improve handling of custom dialog templates passed to
GetOpenFileName.
2003-07-28 19:14:24 +00:00
Marcelo Duarte 8b644f86bf - lesser adjustments in cdlg_Pt.rc (better visual)
- localization to the Portuguese of Brazil of wininet resource.
2003-07-24 00:02:06 +00:00
Mike McCormack 07e69aeab8 Send a CDN_FOLDERCHANGE message when we change folders. 2003-07-21 20:01:42 +00:00
Marcelo Duarte de08661413 - Localization to Portuguese of Brazil
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +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
Steven Edwards 5552da92aa Remove unneeded calls to LoadLibrary16 and FreeLibrary16. 2003-06-26 02:05:19 +00:00
Steven Edwards 1d05524919 More splitting of the Win16/32 internal filedlgproc window procedures
and dialog init.
Make a few internal function static and share a few others.
2003-06-24 19:24:29 +00:00
Oleg Prokhorov 2faead17d7 Fixed Russian commdlg localization. Some resource elements didn't have
proper size, and were partially visible.
2003-06-23 03:33:50 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Rok Mandeljc e36fa4551a Updated a bunch of translations for Slovenian language. 2003-06-16 01:32:09 +00:00
Steven Edwards 6056159a5e Split Win16/32 file dialogs. 2003-06-16 01:19:16 +00:00
Steven Edwards 3f5b518dfc Split Win16/32 color dialog support.
Supporting compiling out 16 bit find dialog support.
2003-06-13 18:07:45 +00:00
Steven Edwards 6b9c474d30 Separate Win16 and Win32 font dialog support. 2003-06-07 00:33:32 +00:00
Dmitry Timoshkov 39669fa850 Use SetDlgItemText instead of sending a WM_SETTEXT. 2003-05-14 00:02:17 +00:00
Huw Davies e3924140ca Better handling of OFN_NOVALIDATE for win31 style file dialogs. 2003-05-13 22:06:34 +00:00
Mike McCormack 0bb73f53d5 Fill the filedialog95 controls before sending a CDN_INITDONE
notification.
2003-05-11 02:39:08 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Vitaliy Margolen da9720c726 Unicode strings termination fixes. 2003-03-30 03:05:55 +00:00
Maxime Bellengé 473a88661e Fix the lookin combobox overlapping the toolbar in open/save file
dialog.
2003-03-26 23:36:25 +00:00
Maxime Bellengé c342de17b8 Fix how the size of the dialog is computed and the child component
placed.
In case the help button and the readonly check box are hidden, perform
the resizing before calling the hook procedure.
2003-03-25 00:34:29 +00:00
Alexandre Julliard e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Tony Lambregts b4bb1490df Janitorial. Get rid of W->A call. 2003-03-17 21:22:57 +00:00
Adam Gundy 3ff6a487d6 ArrangeCtrlPositions() did not cope correctly with a templated dialog
which has an extra 'preview' control to the right of the 'marker'
control.
FILEDLG95_Handle_GetFilePath() did not return the path - it wasn't
combining the path with the filename.
2003-03-07 20:29:31 +00:00
Tony Lambregts e295d3996e Janitorial. Get rid of W->A call. 2003-03-06 22:43:43 +00:00
Shachar Shemesh ee63d5ee4a - Implemented two lookup tables for the sample fonts. The first,
"CHARSET_ORDER", is for converting codepage to ordinal charset num,
  and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample
  text.
- Removed all references to changing the font directly in stc5.
- Modified the "InvalidateRect" calls to invalidate the rect where
  stc5 is, rather than stc5 itself.
- Added handling of WM_PAINT that draws the sample text, properly
  truncated.
- Removed handling of WM_CTLCOLOR - no longer neccessary.
2003-02-15 00:02:24 +00:00
Shachar Shemesh 7ee13d8f3e - Defined IDs for string constants for font color names and for the
various charsets.
- Load the color names from the resources in the fonts dialog.
2003-01-28 00:18:31 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Liu Spider 5f66cf3a0b Implemented GetFileTitleW; GetFileTitleA now is a call to
GetFileTitleW.
2003-01-21 19:32:21 +00:00
Juergen Schmied 8be60f8212 Translated some remaining English words. 2003-01-15 03:33:08 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +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
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Rok Mandeljc 72a2c37076 Fixed some characters. 2002-12-11 01:29:10 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Mike McCormack a021db7190 Send a CDN_FILEOK in FILEDLG95_OnOpenMultipleFiles.
Restructure the handling of Custom dialog notifications.
2002-11-13 21:21:41 +00:00
Shachar Shemesh b61fd42e4d - Added support for CF_ENABLETEMPLATEHANDLE.
- Revised the FIXME on unsupported flags to not reported the flags now
  turned supported.
2002-11-13 04:08:57 +00:00
Shachar Shemesh 9ce27aa325 - Changed all numeric resources in ChooseFont to labels for better
readability.
- Changed all handling of stc6 (1093) to atc5 (1092) so that will be
  compatible with Windows resource numbers.
- Added code to load the user's resources rather than our own if
  CF_ENABLETEMPLATE is passed in "flags".
2002-11-08 18:56:46 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00