Commit Graph

199 Commits

Author SHA1 Message Date
Henri Verbeet 5cfb3c4a6f shell32: Add IShellView32 stubs. 2008-10-14 13:41:55 +02:00
Michael Stefaniuc f6baf97629 shell32: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:41:52 +02:00
Jon Griffiths f2276f5a49 include: Provide wide char definitions for CFSTR_*. 2008-06-19 12:44:43 +02:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Alexander Nicolaysen Sørnes 84e945f180 shell32: Handle backspace key in shellview. 2007-12-06 12:13:02 +01:00
Alexandre Julliard 7a4e3a1011 shell32: Get rid of the internal _InsertMenuItem function. 2007-12-03 15:49:51 +01:00
Andrew Talbot ebb2fa1aa3 shell32: Constify some variables. 2007-11-05 14:55:55 +01:00
Mikołaj Zalewski 4db3b1bba8 shell32: shlview: Change some more ANSI calls to Unicode. 2007-09-26 12:15:34 +02:00
Mikołaj Zalewski 212c36048a shell32: Make the shell view control Unicode. 2007-09-26 12:15:27 +02:00
Thomas Weidenmueller 042bdefe5e shell32: Set current directory when executing files in a shell view. 2007-07-09 11:46:19 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02: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
Francois Gouget 4e00d7940d shell32: Don't forget to set stateMask when calling LVM_GETITEM/LVIF_STATE.
Remove ZeroMemory() calls and instead set iSubItem = 0 manually.
2006-10-05 17:44:37 +02:00
Andrew Talbot 414c333652 shell32: Write-strings warning fix. 2006-07-11 12:37:40 +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
Mikołaj Zalewski 379460f6da shell32: Don't use uninitialized item.mask in shlview. 2006-05-08 14:48:36 +02:00
Mikołaj Zalewski 89ed90f3e5 shell32: Use LVCOLUMW instead of LVCOLUMNA in LVM_INSERTCOLUMNW listview message. 2006-04-18 11:16:14 +02:00
Mike McCormack 6f9dd397d2 shell32: Fix some gcc 4.1 warnings caused by casts in macros. 2006-03-13 14:19:20 +01:00
Andrey Turkin 06188b6d34 shell32: IShellView list's control id should be 1, not 2000. 2006-02-11 18:41:34 +01:00
Robert Shearman d11069f8bb shell: Fix view window Z order.
After creating the Shell View window we should call SetWindowPos to
move the window on top of other child windows in the parent window.
Also delay the showing of the window so that we can do more
initialisation after window creation without it causing visual
artifacts.
2006-01-12 11:54:03 +01:00
Michael Jung edf6cf94ca shell32: Fix drag-scrolling in the shellview object. 2005-12-12 12:43:03 +01:00
Michael Jung 08a2a60993 Implemented scrolling during drag&drop for the shellview class. 2005-12-02 13:00:01 +01:00
Michael Jung 12dd1bc12e Use GetUIObjectOf instead of BindToObject to get a IDropTarget object. 2005-11-28 17:30:11 +01:00
Michael Jung a83d55e929 Register the shell view itself as the drop target, not it's parent folder.
Forward drag&drop method calls to the folder currently under the cursor.
2005-11-28 11:00:33 +01:00
Jason Edmeades 602f0c10c7 Handle context menu->refresh, and F5 to initiate a refresh of the file
dialog.
2005-08-19 10:02:51 +00:00
Jozef Stefanka 3a29a309a4 Fixed browsing to other directories in Word 2003 file open
dialog. Double clicking on a folder in the File->Open dialog works
now.
2005-07-30 19:03:32 +00: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 e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Mike McCormack b64186ad22 Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-07 20:30:30 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Huw Davies 52cf1992ea If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
then we should call the default handler.
2005-04-12 10:16:35 +00:00
Mike McCormack 17c3106896 Eliminate casts of the return value of HeapAlloc. 2005-03-21 11:25:13 +00:00
Martin Fuchs 824353d01b - switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Mike McCormack 2c8367a3de Use lstrcmpiA in preference to strcasecmp. 2005-03-07 11:05:03 +00:00
Filip Navara 4d20d165ff Don't crash if ShellFolder doesn't implement the IID_ISFHelper
interface.
2005-02-14 11:06:48 +00:00
Mike McCormack 18fb9ace14 Implement GetAdvise and SetAdvise. 2005-01-21 10:16:11 +00:00
James Hawkins ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +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
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Vincent Béron 4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Alexandre Julliard 314b99c48f Removed some more uses of the non-standard ICOM_THIS macro. 2004-09-09 20:17:07 +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 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Filip Navara 3a6c9dc907 Destroy associated listview when IShellView is destroyed. 2004-08-04 18:16:27 +00:00
Martin Fuchs f045c9df81 Distinguish between Open and Explore commands.
Execute items by default.
2004-07-16 19:13:21 +00:00
Robert Shearman 77b7f95716 Make ole32 a delay-load import of shell32. 2004-06-18 00:23:38 +00:00
Juan Lang ae78d17f9d IShellView seems reasonably complete, change a FIXME to a TRACE to
speed up open/save dialogs.
2004-04-13 21:15:01 +00:00
Jon Griffiths 52cde9b386 StrRetToStrN returns BOOL and shouldn't crash on NULL dest. 2004-02-10 02:18:50 +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
Ulrich Czekalla c31d413c3c Set the item mask before calling GetItem. 2004-02-03 00:09:57 +00:00
Ulrich Czekalla d3b9ff2f8a Make SHChangeNotifyRegister be recursive so that will get all
notifications.
2004-02-02 23:09:09 +00:00
Martin Fuchs 9d1c9604b1 ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
the desktop.
2004-01-18 23:17:32 +00:00
Filip Navara d8bd18e639 - Removed initialization of sh32_policy_table in SHInitRestricted,
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
  it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
  FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +00:00
Rolf Kalbermatter 58c0561bad Added declarations for newly documented SHChangeNotify API and fixed
some prototypes.
2003-09-22 19:24:13 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +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 d937dc2963 Implemented shtypes.idl and shobjidl.idl and removed a few more
wine/obj_* headers.
2003-09-04 19:43:39 +00:00
Alexandre Julliard 802ebc1168 Converted oleidl.h to IDL. 2003-09-03 20:17:39 +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
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Aric Stewart 83d92d3e0f Make sure we find the drag and drop functions before calling them. 2003-05-19 23:14:09 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Rolf Kalbermatter 8b9bf9ff0f Cosmetic fixes. 2003-03-27 00:00:15 +00:00
Robert Shearman 004fed63c5 - Clear bits in structure passed to IOleCommandTarget_QueryStatus to
show that we don't support any Exec's.
- Add two Exec cases that were found during testing.
2003-01-21 19:28:36 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Rolf Kalbermatter e56d618613 Make some shell32 files compile in MSVC. 2002-12-16 22:40:34 +00:00
Rolf Kalbermatter a96447160b Fixed some signed/unsigned comparison warnings. 2002-12-13 00:36:52 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Alexandre Julliard fb2eca812d Import comctl32 functions from shell32 by ordinal.
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +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
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
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Aric Stewart 850c9dd6bd Add handling for LVN_GETDISPINFOW. 2001-10-25 19:33:25 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Chris Morgan 0cd448c4f4 Add shell support for deleting files using the Delete key. 2001-02-21 04:01:03 +00:00
Chris Morgan 6f8f771e01 Implement keyboard shortcut F2 to rename files and directories in the
shellview (and in common dialogs).
2001-02-13 02:20:35 +00:00
Francois Gouget ea1ea06fda Remove TOOLBAR_ID and WM_SETTINGCHANGE, they are not used. 2001-02-12 19:18:13 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +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
Francois Gouget f5cea729a6 We must include windef.h before wtypes.h (directly or indirectly). 2000-11-08 05:05:15 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +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 1b4f5bb2ce Small fixes. 2000-04-28 20:17:14 +00:00
Alexandre Julliard a0d9ffdaa1 Removed a few inter-dll dependencies. 2000-04-23 20:40:23 +00:00
Patrik Stridvall d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00
Juergen Schmied 93e99127f5 Moved file functions to shlfileop.c
New SHELL_DeleteDirectoryA
Use shell notifications.
Enabled file manipulation functions.
2000-02-26 18:48:16 +00:00