This project is read-only.

CanShowSheet not called

Jan 15, 2014 at 11:24 PM

I changed one line of your code in the region "Implementation of IShellPropSheetExt" / AddPages in SharpSheetProperty.cs ...
            //  Go through each page - that has a property page.
            if (this.CanShowSheet()) // Check here whether we really want to show this ... 
                foreach (var page in propertySheetPages.Value.Where(p => p.Handle != IntPtr.Zero))
I think this fixes the problem that CanShowSheet is not called a single time in the process of showing property-tabs. Please give me some feedback whether this is the right place to check for the tab-visibility or not.

Kind regards,
Jan 31, 2014 at 9:50 PM
Hi Daniel - thanks for getting in touch, I've just made the fix and will include it in the next version, well spotted!