Commit Graph

59 Commits

Author SHA1 Message Date
Andrey Turkin 6a80a492fb commdlg: IShellBrowser sets IShellView window's control id to 5002. 2006-02-11 18:41:23 +01:00
Stefan Brüns 324b11f206 commdlg: Makes return value of FILEDLG95_SendFileOK dependent of
return value, not of DWL_MSGRESULT.
2006-01-12 13:30:11 +01:00
Alexandre Julliard b1a9701bb5 Replace the _ICOM_THIS_From macros by inline functions the way it's
already done in shelllink.c.
2005-07-27 11:10:52 +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
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
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
Mike Hearn 30428b5a35 Fix return code abuse. 2005-05-12 09:56:17 +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
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +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
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +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
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +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
Dmitry Timoshkov ca7e9ff1fc Cope with potentially moved and resized file view window. 2003-08-21 21:25:16 +00:00
Mike McCormack 07e69aeab8 Send a CDN_FOLDERCHANGE message when we change folders. 2003-07-21 20:01:42 +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
Michael Stefaniuc 331fb086be Some small cleanups. 2002-10-25 03:50:14 +00:00
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Sander van Leeuwen 2021de684e Do not change directory if path is invalid. 2002-06-28 17:34:57 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Gerard Patel 08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Francois Gouget f5cea729a6 We must include windef.h before wtypes.h (directly or indirectly). 2000-11-08 05:05:15 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard b08cb175de Added guiddef.h and moved a few GUID definitions to the correct file. 2000-08-03 04:19:24 +00:00
Juergen Schmied 3de41ceb42 - better error check when importing functions via GetProcAdress
- replaced SHGetSpecialFolderPath (not aviable in all shell32 versions)
- changed call order when browsing to different folder (crash with native shell)
- removed Move call since IShellview_CreateViewWindow creates it already in
  the right rect
2000-06-16 21:51:33 +00:00
Juergen Schmied e2f4aefb38 - Rewrite of the shell related parts of the dialog to use the already
in shell32implemented functions (ShellFolder/Path*). Eliminated direct
  file access.
- Replaced LoadLibraryA with GetModuleHandleA since comdlg32 is imports
  some dlls per *.spec file
- Most OpenFile Flags (OFN_*) should work properly now
- The edit box should work right with all stuff entered in it like
  ..\temp\file.txt or just c: to change a drive
- Optimized DataObject handling
- Some bugs fixed, should work with native shell32 again.
- Stubs for PrintDlgEx
2000-06-02 19:36:53 +00:00
Alexandre Julliard a0d9ffdaa1 Removed a few inter-dll dependencies. 2000-04-23 20:40:23 +00:00
Alexandre Julliard cf1bcc496b Corel merge:
Pierre Mageau
Don't update the combo box selection when closing the dialog only when
clicking on OK button.  Adjust file dialog size when help button isn't
present.

Don Kelly.
Fixes problems with open dialog box filters.

Ulrich Czekalla
Prevents the help button from displaying on OpenFile dialogs unless
the proper flag is set in the OPENFILENAME struct.

Yuxi Zhang
Fixed memory leak.

Jean-Claude Batista
Add tooltips to the file Dialog toolbar.

Sylvain Bouchard, Bill Jin
Three new functions
EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections
Instead of passing in a copy of ofn, passing in the pointer of ofn.

David Golding
A "!" was missing in a check against lpstrInitialDir.

Rick Mutzke
Fixed crash: if dialog has no filetypes appearing in the dropdown list.

Matt Robertson, Ulrich Czekalla
Fixed problems occurring with selection of files inside openfiledlg.
2000-02-20 18:54:04 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Juergen Schmied c38cb0123b Made the buttons in the filedlg change when selecting a different
view type by the context menu, cleanup.
1999-11-12 01:02:27 +00:00