Results 1 to 1 of 1

Thread: Focus lost when embedding external application using ActiveX

  1. #1
    Join Date
    Sep 2008
    Thanked 10 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Unix/X11 Windows
    Wiki edits

    Default Focus lost when embedding external application using ActiveX


    We are having focus problems when we have a Frameless Full Screen host application that embeds an out of process ActiveX application. When in the activeX application a (Modal or NonModal) dialog pops up the focus is almost directly (slight delay) returned to the host Application. Also we see that the shortcuts of the embedded application not all come through? They are processed by the host application.

    When the host application is Maximized instead of FrameLess FullScreen everything is OK.
    When the host application is FrameLess and 1 pixel less than FullScreen everything is OK. (1 pixel bigger and the problem remains),

    When the application is started on a multi monitor system on the second (or not first) monitor the problem does not occur.

    We have the idea that the OS (Microsoft Windows XP) steals the Focus. But, although this happens on a lot of systems it does not on all...

    Does anyone know of any Frameless Full Screen problems with focus and activeX?

    I have included a host and client application that I used for testing. In the test application I also have an example with notepad in a dialog where the focus is also gone after a while but this behaviour is very inconsistant.


    Marcel Stegehuis
    Attached Files Attached Files

Similar Threads

  1. QMainWindow how to know when focus lost?
    By arkaha in forum Newbie
    Replies: 1
    Last Post: 12th February 2010, 06:26
  2. Focus lost
    By franco.amato in forum Qt Programming
    Replies: 1
    Last Post: 25th January 2010, 22:07
  3. How detective lost focus application ?
    By Torsten in forum Qt Programming
    Replies: 2
    Last Post: 6th August 2008, 14:19
  4. QLineEdit lost focus
    By codebehind in forum Newbie
    Replies: 5
    Last Post: 4th May 2007, 16:02
  5. Replies: 3
    Last Post: 8th September 2006, 18:54


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.