Hello ATF community!
I'm having an issue customizing my variant of the DomPropertyEditor example to use ToolTips instead of "DisplayDescriptions" which appears in the status bar.
Basically, all I've done is create a subclass of PropertyEditor and then in the Configure method, my first call is:
propertyGrid = new PropertyGrid(PropertyGridMode.DisplayToolTips, new PropertyGridView());
If I change "DisplayToolTips" to "DisplayDescriptions" everything is great, and I see descriptions fine.
But in the form above, clicking on a property name crashes the app with the error I've copied below.
Any ideas on why some cleanup would crash it? The stack trace isn't very useful. I'm a bit stumped.
Thanks!
-Len
Crash error follows:
Managed Debugging Assistant 'RaceOnRCWCleanup' has detected a problem in 'C:\tools\TestApp\bin\Debug\TestApp.vshost.exe'.
Additional Information: An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss.