Hi Guys: In my ongoing OnKeyDown and OnKeyUp saga I am trying to analyze what might be going on.
What is the actual Data Type as used in the WE COM DLL or Engine or whatever of the WindowEyes.KeyDisposition enum variable? Are the actual values expected to be returned to WindowEyes used as integers (short, long, byte or whatever) or some type of terminated or not-terminated string and, if so, what type? In my code I have: Dim AppropriateDisposition As WindowEyes.KeyDisposition AppropriateDisposition = WindowEyes.KeyDisposition.kdProcess Return AppropriateDisposition This code will apparently allow KeyUp and KeyDown events to be logged properly to the WEEvent Viewer but the MSAA and other Events which are suppose to be triggered by these Keys upon a key press are not being logged to the WEEvent viewer nor spoken by WindowEyes as they should be from my understanding. It sounds like perhaps WindowEyes is getting the Key Press messages and trying to process them except that it might not know what to do with the message after getting it back from my script - just a wild guess from a novice but all I have at this point. One thing that might cause this could be that the vb.net IML or internal marshalling operations are not passing the correct data type to WindowEyes upon returnning from a OnKeyDown and, or, OnKeyUp Event handler function if necessary. So, if I know exactly what system 32, or whatever, data type is expected and how it is used I might be able to pick a corresponding data type and use MarshalAs Attribute to try and return it. Thanks: Rick USA
