Commit Graph

533 Commits

Author SHA1 Message Date
Juan Lang 369c0492c7 Fix return code abuse (don't use HRESULT when it isn't meant), make
functions static where possible, remove unused prototypes.
2005-06-07 20:03:30 +00:00
Huw Davies 2ea56681ba If a folder is selected on Open then browse into it, otherwise we
should return the path in the edit box whether that be a folder or a
file.
Don't add extensions to a folder.
2005-06-04 10:00:27 +00:00
Huw Davies eaef08415d Use DWLP_MSGRESULT to return values from the dialog proc. 2005-06-04 09:49:22 +00:00
Huw Davies 82af0ed0f4 Send CDN_FOLDERCHANGE whenever we change folder. 2005-06-04 09:36:37 +00:00
Dmitry Timoshkov 4625628e67 Make some of the OLE interface vtables const. 2005-05-27 20:17:35 +00:00
Michael Jung 426984ddb4 Use IShellFolder::GetDisplayNameOf instead of SHGetPathFromIDList to
be able to browse shell namespace extensions.
2005-05-26 12:23:57 +00:00
Alexandre Julliard 0ddd30b0b6 Removed unnecessary code in the 16-bit DllEntryPoint function of some
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Alexandre Julliard d0b6308642 Don't convert the template name to Unicode, it's not used by the
dialog anyway. Clear the window property on WM_DESTROY.
2005-05-13 17:50:26 +00:00
Mike Hearn 30428b5a35 Fix return code abuse. 2005-05-12 09:56:17 +00:00
Michael Jung 9f50a88ff1 Detect drive letters, which have to have a backslash appended, in a
more robust way.
2005-05-09 19:33:24 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget 5941686dbb SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
Add COMDLG32_DumpSBSPFlags().
2005-04-19 09:47:42 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Eric Pouech a8d8b52d6f Added proper definition for PRINTDLGEX[AW] structures. 2005-04-18 10:01:07 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Juan Lang 148f6421ed Change a fixme to a warn, and use W version of call. 2005-03-14 10:07:11 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Troy Rollo 9abbc913d2 Fix stack object overrun when an application calls ChooseFontA. 2005-02-25 14:00:38 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Marcelo Duarte 574c0edabb Update the resources for Portuguese. 2005-02-14 11:12:30 +00:00
Mike Hearn b4c4e755c4 Respect the flags member of the CHOOSEFONT structure, and don't
attempt to process bogus strings.
2005-02-14 11:00:37 +00:00
Dmitry Timoshkov 781b451a70 Do not forget to allocate internal OPENFILENAMEW structure for 16-bit
GetOpenFileName, initialize it by zeros for 16/A cases.
2005-02-10 17:10:01 +00:00
Dmitry Timoshkov c587796064 Make GetOpenFileNameW with an old style open file dialog work with the
original OPENFILENAMEW structure, making sure that all changes are
passed back to the caller.
2005-02-03 19:39:26 +00:00
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