Commit Graph

79 Commits

Author SHA1 Message Date
Mikołaj Zalewski 474bf4fc4b shell32: Make sure BrowseForFolder doesn't return NULL for the Desktop folder as this means a cancel. 2007-02-12 12:38:33 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Andrew Talbot 699f4cc703 shell32: Cast-qual warnings fix. 2006-09-29 14:59:36 +02:00
Alexandre Julliard 669780c24f shell32: Avoid using macros that cause gcc warnings. 2006-07-13 15:50:20 +02:00
James Hawkins f921fa544a shell32: Add missing multiply by sizeof(WCHAR)l 2006-06-26 12:36:26 +02:00
Alexandre Julliard 7a0396afd1 shell32: Make some variables static and/or const. 2006-06-12 13:44:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung b3e6faa784 shell32: Support BFFM_SETSELECTION[AW] and BFFM_SETEXPANDED for SHBrowseForFolder. 2006-05-10 11:19:46 +02:00
Mike McCormack 959edd5cc4 shell32: Fix some gcc 4.1 warnings caused by casts in macros. 2006-03-03 13:19:04 +01:00
Huw Davies 51fd750707 shell: Fix incorrect usage of the return value of StrRetToStrNW. 2006-01-20 20:17:07 +01:00
Michael Jung ae8a912605 Initialize OLE instead of just COM, in order to enable Drag & Drop. 2005-11-23 15:15:16 +01:00
Markus Amsler 671738d5c1 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-10 11:15:22 +00:00
Michael Jung 0acf88651d Initialize COM prior to displaying the SHBrowseForFolder dialog. 2005-11-09 10:30:28 +00:00
Michael Jung 14d9eec51a More robust code for querying ShellFolder attributes (some
ShellFolders ignore the flag mask in GetAttributesOf).
2005-11-07 20:11:27 +00:00
Aric Stewart 5a8d76749a MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.
2005-10-17 08:54:53 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Aric Stewart b152076d3b Fix the BrowseForFolder dialog so that when it does the callbacks it
uses the correct message instead of always sending BEFM_INITIALIZED.
2005-06-27 18:46:47 +00:00
Michael Jung 38f2ee9d04 Let BindToObject fail, if called with empty relative pidl.
Tests to show that it should do so.
Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
2005-06-06 10:04:15 +00:00
Michael Jung 15934680f7 Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. 2005-05-06 19:33:06 +00:00
Mike McCormack 2b2c6f2fba Remove static variables in SHBrowseForFolder implementation. 2005-05-04 09:48:15 +00:00
Mike McCormack 95a58eba7d Split up the window procedure. 2005-04-28 18:26:58 +00:00
Michael Jung 2a788026a3 Fixed incorrect IShellFolder::EnumOjects API usage. 2005-04-22 19:07:00 +00:00
Michael Jung 6bc9999e08 Fixed parsing of ITEMIDLIST in InitializeTreeView.
Added some documentation.
Fixed a crash occuring when the user double-clicks a leaf item.
2005-03-01 11:45:32 +00:00
Robert Shearman 3dad1f9043 Don't sort the children of My Computer in shell browse for folder
dialog.
2005-01-11 10:40:14 +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
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Uwe Bonnes 63a4b203d7 Assume MAX_PATH length for pszDisplayName. 2004-05-27 20:01:56 +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
Wolfgang Schwotzer 0471483851 SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL. 2004-04-19 19:25:56 +00:00
Alexandre Julliard 502f6c5634 Removed incorrect uses of DUMMYUNIONNAME. 2004-01-07 00:47:35 +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
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Eric Pouech 81e15c5ce0 Only release object if we actually got it. 2003-07-02 00:37:16 +00:00
Robert Shearman 7aae1b79d9 - Support a few more flags
- Rewrite the enumeration loop
- Support non-desktop root
- Silence harmless and implemented debug messages
2003-06-06 18:09:38 +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
Rolf Kalbermatter 608b6a5143 Fix SHBrowseForFolder W -> A calls. 2002-12-13 00:30:30 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Dmitry Timoshkov c7b806114d Make dialog IDs "Browse for Folder" compatible with IE. 2002-08-14 21:03:55 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Jon Griffiths 63a9e11e16 Implemented SHBrowseForFolderW. 2002-07-19 00:26:02 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Bill Medland aa187527a5 Get the folder browser to work as well with W notification as A (it
seems to work reasonably).
2002-04-20 20:52:33 +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
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Eric Pouech 125102f54b Improved a bit the folder browsing implementation. 2000-08-25 21:33:23 +00:00