Commit Graph

338 Commits (298ea3491436c74e87778abed00deeb7cc0e821b)

Author SHA1 Message Date
dahall f489e1ca89 Fixed methods in Shell32 (SHGetFolderLocation, SHGetFolderPath, SHGetFolderPathAndSubDir) that should use CSIDL enum but didn't. Fixed dependencies. 2020-12-27 17:32:52 -07:00
dahall f8e8e6f545 Changed IDropTarget methods to use MouseButtonState param value instead of uint. Fixed dependencies. 2020-12-27 17:31:40 -07:00
dahall ee55299902 Fixed ShellContextMenu build error due to change to AppendMenu 2020-12-27 17:30:43 -07:00
dahall f0fd3f0334 Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies. 2020-12-27 17:30:06 -07:00
dahall cabf86396c Removed Security.PermissionSetAttribute from all classes, properties and methods. It is now marked Obsolete. 2020-12-24 13:07:32 -07:00
dahall b0415fd93a Fixed XML comment warnings 2020-12-24 10:58:51 -07:00
dahall 4502fcb5af Converted ShellItemChangeWatcher from using NativeWindow to using SystemEventHandler to support console use 2020-12-22 11:46:13 -07:00
dahall e414490ad5 Corrected ShellBrowser after fixing IOleCommandTarget. 2020-12-20 20:40:30 -07:00
dahall 22222887d1 Update XML doc ambiguity 2020-12-17 16:32:07 -07:00
dahall e214393430 Updated project documentation files 2020-12-16 11:41:02 -07:00
dahall 1608010064 Added ShellItemImages and associated tests to pull images for a shell item from a variety of different interfaces. For some items, the image appears upside down without an DIB indication. 2020-12-08 10:43:07 -07:00
dahall 3755e1a195 Added ShellItem.Verbs to get a list of active verbs 2020-12-08 10:41:34 -07:00
dahall b36a8e72ce Added access to handlers for ShellAssociation #181 2020-12-07 19:50:48 -07:00
dahall b0bd100bf2 Removed exception on index == 0 from IndirectResource ctor 2020-12-03 22:23:12 -07:00
dahall a46337952b Added `ShellItem.ContextMenu` and `Images` properties, enhanced `GetHandler` method to check for correct interfaces, changed `InvokeVerb` to use `ShellContextMenu` 2020-12-03 19:37:38 -07:00
dahall 01fe84acd1 Moved function bodies of some ShellImageList to Shell32.ShellUtil 2020-12-03 19:33:06 -07:00
dahall 35644659e0 More work on ShellContextMenu.Invoke 2020-12-03 19:32:03 -07:00
dahall b04ddce701 Added `PropertyDescriptionList.GetValuesForShellItem` method to retrieve list of properties from a shell item. Useful for tooltips and like items retrieved from `ShellAssociation`. 2020-12-03 19:30:26 -07:00
dahall af7996b401 Added ShellDataObject constructor taking a list of ShellItems which adds them via CFSTR_SHELLIDLIST 2020-12-03 19:28:41 -07:00
dahall c3a63c8c1b Added further functionality to ShellContextMenu (#178) 2020-11-29 10:20:28 -07:00
David Hall bc168420c0 Enhanced ShellContextMenu further to support non-WinForms platforms better. 2020-11-28 19:10:19 -07:00
David Hall 5e06935c0d Derived `ShellContextMenu` from `IDisposable` so that it correctly disposes the underlying `IContextMenu` instance. #178 2020-11-23 15:02:13 -07:00
dahall 2ce79599db Upgraded System.IO.FileSystem.AccessControl package ref to 5.0.0 and enabled for .NET 5 2020-11-14 13:38:02 -07:00
dahall 57219c7cc9 Fixed code with new warnings -- no functionality change 2020-11-14 13:36:32 -07:00
dahall 5d479070a9 Added compiler directives for .NET 5 2020-11-14 13:34:50 -07:00
dahall 420296f0ab Fixed bug in ShellContextMenu.Invoke (#177) 2020-11-14 10:11:15 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall a07d008347 Updated project files for 3.2.20 2020-11-13 11:33:33 -07:00
dahall 4fdaf14a55 Updated project files for release 2020-11-08 16:02:41 -07:00
dahall 7043491de4 Added ShellDataTable.GetPIDL for rows 2020-11-06 11:00:01 -07:00
dahall c9569798f5 Fixed ShellNavigationHistory so events fire 2020-11-05 08:38:39 -07:00
dahall ec1132c06d Added methods to convert between SHIL values and the system's closest pixel size 2020-11-05 07:29:48 -07:00
dahall a038d11d2e Updated FolderItemFilter to use SHCONTF values instead of integers 2020-11-05 07:29:05 -07:00
dahall 56931b57b7 More work on ShellDataTable 2020-11-05 07:28:08 -07:00
dahall ba890fd03d Added Vanara.Windows.Shell.ShellDataTable which is a DataTable that defines its columns and row from items in a shell folder. Designed for streamlined async reading of a shell folder's items and their properties. 2020-11-04 10:47:30 -07:00
dahall ce1b3965af Exposed underlying handle of StockIcon via IconHandle 2020-11-04 10:03:42 -07:00
dahall b71a3723b8 Cleaned and reorganized 2020-11-04 10:03:14 -07:00
dahall fcc3417961 Updated ShellItem and ShellFolder based on syntax changes to interfaces. No functionality chnaged. 2020-11-02 07:52:27 -07:00
dahall 44f0afe732 Added Vanara.Windows.Shell.StockIcon class 2020-10-28 22:41:35 -06:00
dahall f48bd1acba Added GetSystemIcon overload that uses an index and optimized methods. 2020-10-28 22:40:36 -06:00
dahall 5136887803 Updated Theraot NuGet pkg to 3.2.0 across solution 2020-10-28 19:32:14 -06:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall f05c0198fc Added PropertyDescriptor.TryCreate method and CanGroupBy and IsViewable properties 2020-10-26 18:25:10 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall 73420677a7 Updated project information 2020-10-23 09:05:48 -06:00
dahall e88e6d1b72 Fixed bug in IndirectResource.ctor 2020-10-22 14:39:15 -06:00
dahall a1f037644b Made BindContext.EnumObjectParam return empty enum if method fails 2020-10-22 14:38:31 -06:00
dahall 0cb2fed082 Added GetPropertyDescriptionList default prop value to get all properties. 2020-10-22 14:36:26 -06:00
dahall 857e7c4703 Changed all methods that returned `SafeCoTaskMemString` to `string`. After much reading and testing I determined this was redundant with marshaling code in .NET. 2020-10-21 18:44:25 -06:00
dahall 8686a6723d Updated project and build files for 3.2.18. Converted all project files to new SDK format. 2020-10-21 08:27:54 -06:00
dahall 8a182046b6 Cleaned 2020-10-20 16:26:45 -06:00
dahall d17fdc5cc3 Marked ShellView and ShellBrowser 'internal' until they're ready to release. 2020-10-20 16:26:06 -06:00
dahall 8084c030da For ShellItem, added TypeConverter for strings, DataObject property, multiple Open method overloads, and ToUri method. 2020-10-20 13:59:28 -06:00
dahall 2b8ccf1438 Initial commit on ShellView wrapper 2020-09-25 17:21:20 -06:00
dahall db8caa5877 **BREAKING CHANGES** Changed function of IndirectResource so that it accepts a string and then provides read-only properties of the parts rather than other way around. Too fragile. Also fixed ResourceId property so that it is an Int32 and not a pointer. Wrong impl. 2020-09-03 10:53:54 -06:00
dahall 58ab52cba6 Fixed bug in ShellFileOperations when supplying multiple files at once causing an endless loop 2020-08-31 10:42:13 -06:00
dahall c4fe7fc598 Fixed error in ReadOnlyPropertyStore.TryGetValue that only would return true (#163) 2020-08-31 08:59:36 -06:00
dahall c6296838d9 Fixed ShellFileOperations throws an exception during the process of moving lnk files (#156) 2020-08-15 09:06:11 -06:00
dahall 7a686bddae Added ShellFolder.IShellFolder property to expose underlying COM interface. 2020-08-06 12:54:38 -06:00
dahall 8a284d4ccb Updated project files 2020-07-29 17:32:47 -06:00
dahall cac3df43f2 Project information update 2020-07-27 10:50:28 -06:00
dahall 61c26627b5 Incomplete work on ShellDataObject 2020-07-26 13:55:23 -06:00
dahall 4ef43cf843 Added Vanara.Windows.Shell.NativeClipboard to expose native clipboard functions that are not routed through COM and DataObject. 2020-07-26 13:54:57 -06:00
dahall 3d0422bc96 Added unsafe tag to Windows.Shell project 2020-07-26 13:52:24 -06:00
dahall ef6a1dda0a Added improved registry key closing to registration classes 2020-07-26 13:12:33 -06:00
dahall abc888d60b Renamed 2020-07-20 09:45:44 -06:00
dahall cdb8e3d6af Updated to work with HRESULT based events 2020-07-19 10:09:06 -06:00
dahall 89408a73b9 Renamed IDataObjectExtensions.cs to ShellDataObject.cs 2020-07-18 20:43:28 -06:00
dahall 7fa717ed28 Added ShellItem.InvokeVerb method and test 2020-07-17 15:31:12 -06:00
dahall bdbddf022e Removed unnecessary tasks and code 2020-07-16 16:40:24 -06:00
dahall ebbac20ca6 Added support for ShellItemPropertyStore to be created with a PROPERTYKEY filter or an ICreateObject 2020-07-16 08:38:45 -06:00
dahall c727cfa055 Completed work on BindContext which wraps IBindCtx 2020-07-16 07:22:01 -06:00
dahall afd0a4321f Added ShellFileOperationDialog with tests a property ShellFileOperations.CustomProgressDialog to receive an instance of that dialog. 2020-07-15 19:00:30 -06:00
dahall b8c0ce3f0f Pulled classes and enums out of ShellFileOperations.cs into thier own files. 2020-07-15 15:03:26 -06:00
dahall e2808812b7 Moved ShellFileOperations.cs to folder 2020-07-15 14:58:21 -06:00
dahall 069a745ff7 Added ShellFileOperations.AnyOperationAborted and OwnerWindow properties. 2020-07-15 14:56:24 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall fffb6981ff Update project statistics files 2020-07-14 15:07:18 -06:00
dahall eb3cc13bb3 Updated project information for 3.2.12 2020-07-13 08:58:32 -06:00
dahall b153e67354 Optimized parameter enumerations and fixed bug in UpdateProgress event (#146) 2020-07-12 10:20:57 -06:00
dahall 770862c69c Added ShellFolder.BindToObject and BindToStorage methods 2020-07-01 15:04:16 -06:00
dahall 8d5c587e9d Updated project file information 2020-06-27 18:54:55 -06:00
dahall 59130de35a Added FileInUseHandler to wrap functionality of IFileIsInUse interface for a single file. 2020-06-22 13:39:13 -06:00
dahall a3bfd8c7cd Added code and tests to refresh icon on Recycle Bin after changes. 2020-06-20 15:36:57 -06:00
dahall c6eaafaf0a Added more BHID mappings for ShellItem.GetHandler calls. 2020-06-20 15:36:29 -06:00
dahall a9162da80f Fixed XML docs, cleaned code, added parameter attributes and missing CoClass values for IShellFolder, added Vanara.Windows.Shell.RecycleBin class and tests 2020-06-20 12:10:20 -06:00
dahall c31890cf6a Added string methods to ShellFileOperations and some tests for Recycle Bin. 2020-06-15 09:22:37 -06:00
dahall 67178177c2 Updated project files for release 2020-06-14 11:17:58 -06:00
dahall c251318fc1 Added WallpaperManager to Vanara.Windows.Shell to manage wallpapers. 2020-06-10 20:38:05 -06:00
dahall 4c241ed618 Fixed bug resolving .lnk files in ShellLink 2020-06-04 08:45:23 -06:00
dahall 28eaf62f3b Updated project information 2020-06-02 22:02:36 -06:00
dahall 491c26e0d6 BREAKING CHANGE: Changed default behavior of ShellItem.Properties so that it is read-only. It was failing for all shell items that didn't have their own properties. To get previous behavior, simply set "shellItem.Properties.ReadOnly = false" before setting properties. 2020-06-01 10:43:51 -06:00
dahall 24031bc4d1 BREAKING CHANGE: Changed ShellItemPropertyStore.Descriptions to get a dictionary of PropertyDescription items rather than the PropertyDescriptionList that was already available from ShellItem. Added improved execption when IPropertyStore instance cannot be created due to a shell item with no r/w support. 2020-06-01 10:41:25 -06:00
dahall 26ee1ba93d Derived PropertyStore from ReadOnlyPropertyStore 2020-06-01 10:38:37 -06:00
dahall f57a7321b2 Added MemoryPropertyStore with stream r/w support representing a property store that lives separate from a ShellItem 2020-06-01 10:37:52 -06:00
dahall ddd6935037 Added ReadOnlyPropertyStore as the base object wrapping IPropertyStore. 2020-06-01 10:37:00 -06:00
dahall 92302b015a Another, hopefully final, fix for #124 2020-05-28 17:52:05 -06:00
dahall e1b31bd0ab Fixed crashes on ShellItemChangeWatcher with unrecognized events. 2020-05-28 13:16:37 -06:00
dahall efdd8da0d1 To ShellItemChangeWatcher, added attributes to properties, added Path property tied to Item property for use in designer, error handling if registration fails, and fixed bug with PIDLs and memory reads (#124). 2020-05-27 22:11:36 -06:00
dahall b375436c38 BREAKING CHANGE: Changed PROPERTYKEY.GetCononicalName to GetCanonicalName (fixed misspelling) 2020-04-06 08:52:57 -06:00