Results 1 to 3 of 3

Thread: MDI child looses focus when app is restored

  1. #1
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default MDI child looses focus when app is restored

    Hi,

    I am running the example C:\Qt\4.3.1\examples\mainwindows\mdi\release\mdi.e xe (open source edition) on Win XP.

    When mdi.exe is minimised and then restored, the previous active child frame is shown inactive. Keyboard and mouse input is accepted but this does not activate the frame. Because the child is not active, Edit>Paste, for example, does not work.

    Is this behaviour by design?

    TIA.

    John

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MDI child looses focus when app is restored

    I don't get that behavior. When the main window is restored the active mdi child is the same as the one prior to minimize.

  3. #3
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MDI child looses focus when app is restored

    Hi Marcel,

    Many thanks for your reply. Did you try the example on WinXP? If so, what compiler and PSDK version?

    TIA

    John.

Similar Threads

  1. How to get focus event in child widget
    By YuriyRusinov in forum Qt Programming
    Replies: 4
    Last Post: 17th October 2006, 07:53
  2. Replies: 5
    Last Post: 4th August 2006, 23:44

Bookmarks

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.