Results 1 to 3 of 3

Thread: How to place a pushbutton onto windows title bar, is it possible ?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default How to place a pushbutton onto windows title bar, is it possible ?

    I'd like to place some buttons at the window title bar.
    Any idea ?
    Thanks

  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: How to place a pushbutton onto windows title bar, is it possible ?

    Qt won't help you in that. The title bar is not part of your application, you need to use WinAPI for that and it will only work on the latest versions of Windows.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to place a pushbutton onto windows title bar, is it possible ?

    A trick can be to create a little window with my button and 'link' it with the main window + connect some slot 'windowmove' and 'windowresize' ?
    Thanks

Similar Threads

  1. Windows Title
    By SteveH in forum Qt Programming
    Replies: 7
    Last Post: 22nd November 2010, 13:34
  2. Replies: 0
    Last Post: 6th September 2009, 21:58
  3. How to place contextmenu in QGraphicsScene?
    By Morea in forum Qt Programming
    Replies: 2
    Last Post: 14th January 2007, 16:04
  4. [QT3 + XP] How to avoid the windows title bar
    By incapacitant in forum Newbie
    Replies: 5
    Last Post: 16th February 2006, 21:43

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.