Commit Graph

114 Commits

Author SHA1 Message Date
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Michael Jung 37418c6d3c Check the GetPidlFromDataObject's doSelected parameter before calling
a method on it.
2005-08-12 10:33:06 +00:00
Troy Rollo b1d96713ed Browse to the directory if a directory name is typed into the edit box
of a file dialog and the confirmation button (or Enter key) is hit.
Return any file name in the edit box if OFN_NOVALIDATE is set and
OFN_FILEMUSTEXIST is not, even if that file name includes a path name
or is the name of a folder.
2005-08-10 09:50:29 +00:00
Mike McCormack 60f8543362 gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:11:04 +00:00
Mike McCormack 52736b4743 Fix declarations. 2005-06-28 19:19:07 +00:00
Michael Jung 679702880e Don't expand MyComputer in the file dialogs without user interaction,
if unixfs is rooted at desktop.
2005-06-28 19:14:03 +00:00
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
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
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
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +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
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
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
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
Jacek Caban 8414668401 Moved save* strings to resources. 2005-01-09 16:31:36 +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
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
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dmitry Timoshkov 4c9756e422 Y coordinate of the "magic" static control should be treated
inclusively.
2004-08-22 22:26:22 +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
Mike McCormack 8f6545cbcf Unicode file dialogs send and receive unicode messages. 2004-07-21 21:16: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
Wolfgang Schwotzer 4b2a99b4d4 Support lpstrCustomFilter and return nFilterIndex in file dialog. 2004-05-12 00:12:04 +00:00
Wolfgang Schwotzer bce73e4242 Update OFN_READONLY flag when closing file dialog. 2004-05-05 23:49:39 +00:00
Wolfgang Schwotzer 2f0a4ac46d Make file dialog support FNERR_BUFFERTOSMALL if buffer too small. 2004-05-03 20:09:09 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Huw Davies 01fbcfb2f1 Add back win16 style dialogs for win32 apps. 2004-04-12 22:03:55 +00:00
Rein Klazes a56d40f490 Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. 2004-03-20 19:22:17 +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
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +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
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +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
Steven Edwards c3c0c56c78 - Split Win16/32 file dialogs.
- Remove support for Win16 style'd Win32 dialogs.
2003-10-16 00:16:40 +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
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00