Commit Graph

228 Commits

Author SHA1 Message Date
Nikolay Sivov 01ebc66535 shell32: Implement IShellFolderView::QuerySupport no-op method. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 9958b80e9d shell32: Add IShellFolderView::SetRedraw implementation. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 61fc3f9004 shell32: Implement some IShellFolderView methods over IFolderView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov fa3dd31a9c shell32: Add IShellFolderView::GetSelectedObjects implementation for IShellView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov a3d0877ed6 shell32: Add a stub IShellFolderView for IShellView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 0f794f9510 shell32: Some debug tracing improvements. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 1168b79266 shell32: Properly fail for unsupported interfaces in IShellView::GetItemObject. 2010-03-22 15:52:35 +01:00
Nikolay Sivov 345ab7d591 shell32/shellview: Don't crash on ::DragLeave called without droptraget. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 78c909fb08 shell32/shellview: Implement IFolderView::ItemCount for SVGIO_ALLVIEW flag. 2010-03-15 14:18:06 +01:00
Nikolay Sivov b8220e727c shell32/shellview: Implement IFolderView::GetFolder() for IID_IShellFolder. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 8c92ba009d shell32/shellview: Implemented IFolderView::GetFocusedItem. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 90b9c2fd39 shell32/shellview: Implemented IFolderView::GetSelectionMarkedItem() with basic test. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 4261aaffd7 shell32/shellview: Remove unneeded memset, release browser reference on failure. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 537e3821d5 shell32: Initial test file for IShellView/IFolderView, implemented IFolderView::GetSpacing. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 5308dfb396 shell32/shellview: Use W-calls for menu handling, same for SendMessage to ListView window. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 571159d5ff shell32/shellview: Improve error handling on some helpers, fix possible leak. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 072951e2f8 shell32: Stub IShellView2::SelectAndPositionItem() over IFolderView::SelectAndPositionItems(). 2010-03-05 12:40:54 +01:00
Nikolay Sivov 04e527b31b shell32: Move SelectItem implementation to IFolderView and use it for IShellView::SelectItem. 2010-03-05 12:40:45 +01:00
Nikolay Sivov c9751d3688 shell32: Cast to class data pointer IShellView2 vtable as it's a first member. 2010-03-05 12:40:34 +01:00
Nikolay Sivov 8032ae7047 shell32: Stub IFolderView implementation for IShellView instance. 2010-03-05 12:39:35 +01:00
Michael Stefaniuc 6f36945f2b shell32: Remove some superfluous LPARAM/WPARAM casts. 2009-12-28 12:27:15 +01:00
Nikolay Sivov daf99d4bdd shell32: Fix some trace typos. 2009-12-09 14:25:25 +01:00
Eric Pouech 881bea26a4 shell32: In shell view, use the expected value for the effect in Drag & Drop operation. 2009-08-29 17:12:45 +02:00
Eric Pouech 35d6217def Remove a couple of superfluous casts. 2009-08-29 17:11:26 +02:00
Nikolay Sivov f8f8f0a457 comctl32/listview: Make ListView_* macros match PSDK. 2009-05-11 14:51:32 +02:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Michael Stefaniuc b7de266082 shell32: Remove superfluous casts; mostly of void pointers. 2008-11-06 11:09:51 +01:00
Henri Verbeet abb7f92b78 shell32: Add a FIXME for unimplemented view modes. 2008-10-14 13:41:56 +02:00
Henri Verbeet 67f86a410f shell32: Implement IShellView2_CreateViewWindow2. 2008-10-14 13:41:55 +02:00
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