Hi: Really short abstract of only key relevant items organized easier to read:
It appears the ClientInformation.Overlap window is not triggering the OnChild event to fire its sub: Here are the logger statements followed by the output from the test for each statement of iterest: Logger( "Test Line From Top") Test Line From Top (from logger) Logger( "Second Line") Second Line (from logger) Dim myINIFile : myINIFile = ClientInformation.ScriptPath & "\vs2008.ini" (from code) [RicksNote there is no INI file in the installed files for VS 2008 script only the vbs and xml files] Dim myXMLFile : myXMLFile = ClientInformation.ScriptPath & "\vs2008.xml" (from code) Logger( ClientInformation.ScriptPath & " ClientInformation.ScriptPath") (from logger) C:\Users\ricksdell\AppData\Roaming\GW Micro\Window-Eyes\users\default ClientInformation.ScriptPath (from logger) Logger( myINIFile & " myINIFile") C:\Users\ricksdell\AppData\Roaming\GW Micro\Window-Eyes\users\default\vs2008.ini myINIFile (from Logger) Logger( myXMLFile & " myXMLFile") C:\Users\ricksdell\AppData\Roaming\GW Micro\Window-Eyes\users\default\vs2008.xml myXMLFile (from logger) Logger( ClientInformation.Overlap.ModuleName & " OverlapWindow ModuleName") DEVENV OverlapWindow ModuleName (from Logger) Logger( ClientInformation.Overlap.Name & " Overlap Window Name") HwndWrapper[DefaultDomain;;bc6a Overlap Window Name (from logger) Later in the code: RtHere this line should have wired up the OnChildFocus Event Handler for the Overlap window and was executed according to the Logger Printout. ConnectEvent ClientInformation.Overlap, "OnChildFocus", "OnChildFocus" (from code) Logger( "ConnectEvent ClientInformation.Overlap, OnChildFocus, OnChildFocus") ConnectEvent ClientInformation.Overlap, OnChildFocus, OnChildFocus (from logger) RtHere This is the event that should, but doesnt, fire upon the OnChildFocus event of the OverlapWindow with module name DEVENV notice the print statement and no corresponding output in the logger output. Sub OnChildFocus(windowObj) (from code) Logger( "OnChildFocus fired") (Nothing in logger since did not fire) Finally here is the output from WEEVent: 3554 Keyboard.OnKeyDown VirtualKeyCode = 13, keyModifiers = 0 ... RtHere Here is the OnChildFocus event firing as listed in WEEvent, should have fired the OnChildFocus Event Handler and printed a line in the Logger Output but didnt: 3566 Window.OnChildFocus, Handle = 280484, Module Name = DEVENV, Class Name = HwndWrapper[DefaultDomain;;92c786c5-60d2-4d93-9780-9c347e84, Title = Start Page - Microsoft Visual Studio 3567 Speech.OnSpeak, "Start Page" ... exited everything EndOfMessage -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/attachments/20150320/8429aaf0/attachment.htm> _______________________________________________ Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com. For subscription options, visit http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
