Commit Graph

80 Commits (298ea3491436c74e87778abed00deeb7cc0e821b)

Author SHA1 Message Date
dahall 068de8d1fd Converted ShellView items returning PIDLs to return ShellItems 2022-01-22 15:32:50 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall c8d027ed53 More moves to Shell.Common 2022-01-11 18:12:18 -07:00
dahall dd1df2a150 Moved Vanara.Windows.Shell files to Common project 2022-01-06 15:07:36 -07:00
dahall cfb16974f9 Moved less-dependent classes from Vanara.Windows.Shell to Vanara.Windows.Shell.Common 2021-12-30 13:50:24 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall a52ea804ca Changed const params in SHCreateDefaultContextMenu, SHCreateShellFolderView and SHCreateShellFolderViewEx from `ref` to `in`. 2021-09-21 12:16:18 -06:00
dahall ff109a347d Updated all constructors where possible to exclude name. 2021-08-15 19:18:36 -06:00
dahall 071dff9e62 Added ShellItemArray.ToDataObject method to extract an IDataObject 2021-08-15 19:04:22 -06:00
dahall a30b7c3b84 Streamlined disposals of ShellItem and ReadOnlyPropertyStore to address #242 and minimize impact of garbage collection when IPropertyStore is used. 2021-08-14 14:59:24 -06:00
dahall 22afda95cf Switched ShellBrowser event handler based methods to overrides and reformatted doc. 2021-07-21 17:13:01 -06:00
dahall 4b1b7f617d Cleaned and fixed errors handling HWND values in ShellBrowser 2021-04-06 12:44:49 -06:00
dahall 6ede43cde1 Cleaned and reorganized after PR 2021-04-02 10:12:22 -06:00
Thorsten Jung b071867262
Initial commit of Vanara.Windows.Shell.ShellBrowser (#221)
* Fix typo in folder name

* Initial commit of ShellBrowser, as of 01-Apr-21

* Fixing brainbug
2021-04-02 09:04:25 -06:00
dahall 859b7094b7 Fixed bug in ShellItem when calling GetHandler without BHID value 2021-02-04 14:23:51 -07:00
dahall 1d9289086b Fixed bug in ShellItemImages throwing unnecessary error if unable to generate thumbnail 2021-02-04 14:22:56 -07:00
dahall 5054e2c6a2 Fixed bug with ShellContextMenu failing when passed the desktop shell item. Took chance to optimize folder params. (#206) 2021-02-03 21:43:22 -07:00
dahall 967389e246 Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188. 2021-02-01 16:08:43 -07:00
dahall 72e792928f Fixed XML comment problems 2021-02-01 09:08:31 -07:00
dahall 94d6e8b218 Converted message window from Control to BasicMessageWindow in ShellContextMenu 2021-01-24 19:02:12 -07:00
dahall 31f9a112e5 Added ability to ShellAssociations from ShellItem and improved readability of exception handlers for ERROR_* conditions 2021-01-24 19:01:13 -07:00
dahall cae1050464 Fixed access violation exception in ShellContextMenu when building a MenuItemInfo for separators (#195) 2021-01-21 09:51:54 -07:00
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 ee55299902 Fixed ShellContextMenu build error due to change to AppendMenu 2020-12-27 17:30:43 -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 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 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 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 35644659e0 More work on ShellContextMenu.Invoke 2020-12-03 19:32:03 -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 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 c9569798f5 Fixed ShellNavigationHistory so events fire 2020-11-05 08:38:39 -07:00
dahall a038d11d2e Updated FolderItemFilter to use SHCONTF values instead of integers 2020-11-05 07:29:05 -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 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 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 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 7fa717ed28 Added ShellItem.InvokeVerb method and test 2020-07-17 15:31:12 -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