Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

IEventConsoleOpen Not Firing on Re-open of console

$
0
0

Topic by Jim Crespino

Content

I'm using the RNOW Connect Desktop Add-In Framework, and I've implemented event handler add-in classes for IEventLogin, IEventLogout, IEventConsoleOpen, and IEventConsoleClose.  In a typical RNOW lifecycle of startup, login and exit all four events fire as expected.  However, if I close the console without exiting RNOW and then right-click the RNOW icon in the system tray and open a new console, the IEventConsoleOpen doesn't fire.  This is a problem because I disconnected resources in the IEventConsoleClosed event and I need to re-initialize those resources.

I've also implemented an Extension Bar add-in that is loaded and displays properly in the first console instance, but the add-in's control isn't retrieved in the GetControl() method of IAddinControl when the console is re-opened and isn't displayed in the new console instance.

Does one have to do something special to handle a re-opened RNOW console?

Version

February 2013

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles