Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: mark.tootell on January 31, 2014, 11:30:21 pm
-
Hi
The add-in that I am creating has a number of windows forms that are displayed during its configuration and execution. I want to ensure that the dialogs are centered on the EA parent window and know that I can obtain the window handle using FindWindow(). However, I need to know what is displayed in the titlebar. In order to format the title correctly I need to determine what the .eap is called then I can get the handle within the NewFile or OpenFile event handlers.
Can anyone help as I cannot see how to do it? :-?
Thanks
Mark
-
Maybe Repository.ConnectionString can help?
q.
-
D'oh. ;D
I knew there had to be something, just couldn't see it!!!!! :-[
Thanks