Commit Graph

58 Commits (1ae5a59faadee44979c1d4101f56466760e1a5fa)

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 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
dahall 770862c69c Added ShellFolder.BindToObject and BindToStorage methods 2020-07-01 15:04:16 -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 4c241ed618 Fixed bug resolving .lnk files in ShellLink 2020-06-04 08:45:23 -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 b375436c38 BREAKING CHANGE: Changed PROPERTYKEY.GetCononicalName to GetCanonicalName (fixed misspelling) 2020-04-06 08:52:57 -06:00
dahall 82f474e741 Add and corrected XML documentation. 2020-03-01 18:59:39 -07:00
dahall 8f9e7aa117 BREAKING CHANGES: Allow for ShellLink to function even if not persisted, added Equals functions, add DataFlags and Title property, changed Description to use just a string, removed FullPath property (duplicative and confusing), added Title to ToString, made SaveAs method public. 2020-02-22 16:08:17 -07:00
dahall c892a083f6 Allow for ShellItem to function even if it doesn't have a IShellItem reference 2020-02-22 16:04:41 -07:00
dahall aff96b0adf Fixed bug in defintion of IEnumIDList.Next and all dependent methods. (#97) 2020-01-04 15:44:00 -07:00
David Hall 19bbc90234 Corrected bug in ShellItem.Open that would incorrectly try to open .url files as IShellLink. Now opens them as IShellItem. (#82) 2019-12-30 14:21:15 -07:00
David Hall 4ced0d98da Fixed ShellItem.GetImage so it doesn't fail when it cannot make the returning bitmap transparent. (#85) 2019-12-30 11:23:18 -07:00
David Hall b875577809 Fix for #81 2019-12-29 22:37:43 -07:00
David Hall 7c5f05b381 Added documentation 2019-11-23 19:00:15 -07:00
David Hall 2c94f7cdde Updated constructor with strong type param 2019-11-20 12:56:03 -07:00
David Hall 8302691c8e First pass at adding support for Windows Search 2019-10-23 13:42:37 -06:00
David Hall 4097090539 Fixed ShellItem.FileInfo and PropertyDescriptions so they don't throw exceptions on non-file system types. 2019-10-23 13:37:16 -06:00
David Hall 3a09d5230a Added parented constructor for ShellItemArray 2019-10-23 13:14:46 -06:00
David Hall 0223ac1721 Fixed ViewInExplorer for folder items 2019-10-23 13:14:23 -06:00
David Hall f10199e737 Changed EnumerateChildren to remove default params 2019-10-23 13:12:52 -06:00
David Hall 3045ff2aaa Fixed condition where IEnumIDList is not implemented (#68) 2019-10-21 07:23:25 -06:00
David Hall 830177d435 Minor file access changes to support .NET Core 3 2019-10-03 11:15:05 -06:00