Results 1 to 3 of 3

Thread: Positioning Detached Process Window

  1. #1
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Positioning Detached Process Window

    Is there a way to specify where a detached process appears on the screen in Windows? My parent widget writes some instructions for the user about the detached process, but the process window, although relatively small, appears on top of the instructions. It's not a normal window, so can't be dragged out of the way.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Positioning Detached Process Window

    Quote Originally Posted by GTBuilder View Post
    Is there a way to specify where a detached process appears on the screen in Windows?
    Using Qt - no. But you can use SendMessage/PostMessage() WinAPI call to tell the window to move to a desired location.

  3. The following user says thank you to wysota for this useful post:

    GTBuilder (10th March 2008)

  4. #3
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Positioning Detached Process Window

    Wysota,

    Thanks for the input. I was afraid that would be the answer. Guess I'll just have to learn some WinAPI fundamentals.

Similar Threads

  1. Set a window as child at runtime
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2007, 09:30
  2. positioning a window at a specific screen position
    By nupul in forum Qt Programming
    Replies: 3
    Last Post: 29th March 2006, 20:21

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.