Commit Graph

305 Commits (27c00f8281674c3cabc11049c9c34b733385cca1)

Author SHA1 Message Date
dahall 89f5605f65 Updated project files 2021-04-26 10:16:34 -06:00
dahall 3e1596ba7f Updated project files with updates 2021-04-07 13:27:08 -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
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 035b30f146 Fixed bug in ReadOnlyPropertyStore.TryGetValue (#219) 2021-03-22 10:39:35 -06:00
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