Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to create a frameless window, but use Windows' system controls (min,max,close)
QtWS25 Last Chance

How to create a frameless window, but use Windows' system controls (min,max,close)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 645 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dynite
    wrote on last edited by
    #1

    Re: Using system window buttons in frameless QWindow

    Is there a way to achieve this yet?
    Is there perhaps a way to do this via some Win32 code?

    Reason/Rationale being that I want to put custom controls in my title bar area, but don't want to lose the native window controls, such as when you hover on the maximise button.

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      This thread might still be relevant.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        This thread might still be relevant.

        D Offline
        D Offline
        Dynite
        wrote on last edited by
        #3

        Thanks. Following that link I was able to find a bunch of threads on the matter. All widget based and all seem to have a bunch of complexity.

        It looks like maybe Qt used to handle this itself with QtWinExtra's extend in client area stuff.. But seems that's not made the move to Qt6.

        (What I actually want is to put controls in the title bar)

        SGaistS 1 Reply Last reply
        0
        • D Dynite

          Thanks. Following that link I was able to find a bunch of threads on the matter. All widget based and all seem to have a bunch of complexity.

          It looks like maybe Qt used to handle this itself with QtWinExtra's extend in client area stuff.. But seems that's not made the move to Qt6.

          (What I actually want is to put controls in the title bar)

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Dynite while the module has not been ported to Qt 6, you might still leverage its content.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved