WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: JTaylor on May 10, 2022, 12:55:47 PM

Title: Winbatch & WebKitX
Post by: JTaylor on May 10, 2022, 12:55:47 PM
Have an issue with embedding WebKitX and not sure if it is something that can be resolved on the Winbatch side or needs to be addressed by them.  Have tried talking to them but they keep giving me examples from other environments telling it works and how to address related symptoms rather than addressing the problem.   Perhaps someone here has some insight into who and how this can be fixed.

The issue is that the control works well if one clicks on the browser screen with the mouse but if I set the focus on the control with DialogControlSet() the browser does not have the focus.  It appears that the underlying COM Control has the focus but I can't do anything unless I manually click on the screen.  Thought about mouse functions but that moves the cursor defeating the purpose.   

It also has a weird side-effect in that my Alt+key shortcuts become active without using Alt.   That is, if I have defined a button to activate with Alt+x, it now activates by simply pressing x.  Not really worried about this but thought I would mention it.

Does this sound like something that can be resolved on the WinBatch side?    Happy to provide an example but you would need to download WebKitX.

Thanks you.


Jim
Title: Re: Winbatch & WebKitX
Post by: td on May 10, 2022, 02:27:27 PM
All I can tell you is that the WinBatch host window forwards focus messages to the hosted objects window.