| || |
How to handle window displaying before main window
First of all I know the concept of handling windows preceded from main windows in client server application (from user guide) my problem is that for outlook 10 after creating profile when I opened application Choose Profile window is displayed and it is asking for profile you want to choose and after clicking on ok it will go ahead.
So for this my inc file is:-
[ ] const wMainWindow = Outlook
[-] window MainWin Outlook
[ ] tag "[DialogBox]- Microsoft Outlook"
[ ] // The working directory of the application when it is invoked
[ ] const sDir = "C:\Program Files\Common Files\System\MAPI\1033"
[ ] const sCmdLine = "C:\PROGRA~1\MICROS~2\Office10\OUTLOOK.EXE "
[ ] // The first window to appear when the application is invoked
[ ] const wStartup = ChooseProfile
[-] Invoke ()
[ ] derived::Invoke ()
[ ] ChooseProfile.OK.Click()
[-] window DialogBox ChooseProfile
[ ] tag "Choose Profile"
[+] StaticText ProfileNameText
[+] multitag "Profile Name:"
[ ] "$5222"
[-] CustomWin Outlook
[+] msw multitag "[REComboBox20W]Outlook"
[ ] "[REComboBox20W]$5223"
[+] PushButton New
[+] multitag "New"
[ ] "$5232"
[+] PushButton OK
[+] multitag "OK"
[ ] "$1"
[+] PushButton Cancel
[+] multitag "Cancel"
[ ] "$2"
[+] PushButton Help
[+] multitag "Help"
[ ] "$5228"
here wStartup is Choose Profile and Invoke method is clicking on OK button but here problem I am facing is that it is displaying "Choose Profile was not found"