Author Topic: Winbatch & WebKitX  (Read 201 times)

JTaylor

  • Pundit
  • *****
  • Posts: 1832
    • Data & Stuff Inc.
Winbatch & WebKitX
« 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

td

  • Tech Support
  • *****
  • Posts: 4094
    • WinBatch
Re: Winbatch & WebKitX
« Reply #1 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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade