Commit Graph

298 Commits (f3fdc9880a22894604c5d8c614f9960d52fd3350)

Author SHA1 Message Date
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07: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 a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -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 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