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. Maximized window
Forum Updated to NodeBB v4.3 + New Features

Maximized window

Scheduled Pinned Locked Moved Unsolved General and Desktop
19 Posts 4 Posters 6.1k Views 4 Watching
  • 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.
  • SGaistS SGaist

    Can you share a minimal code sample of what you use `

    D Offline
    D Offline
    dxdws
    wrote on last edited by
    #5

    @SGaist http://cpp.sh/4ni7m

    1 Reply Last reply
    0
    • IMAN4KI Offline
      IMAN4KI Offline
      IMAN4K
      wrote on last edited by IMAN4K
      #6

      @dxdws
      You're dealing with OS features:

      • Resizing
      • DropShadow
      • Minimize Animation
      • Aero shake
      • System context menu

      Qt::FrameLessWindowHint:

      Produces a borderless window. The user cannot move or resize a borderless window via the window system. On X11, the result of the flag is dependent on the window manager and its ability to understand Motif and/or NETWM hints. Most existing modern window managers can handle this.

      With this flag you say to window manager you don't want any OS feature to apply to your window so you should implement (fake) that features which give you full control.
      If you want to save your time you could take a look at this: https://github.com/deimos1877/BorderlessWindow
      Happy learning Win32API :)

      D 1 Reply Last reply
      1
      • IMAN4KI IMAN4K

        @dxdws
        You're dealing with OS features:

        • Resizing
        • DropShadow
        • Minimize Animation
        • Aero shake
        • System context menu

        Qt::FrameLessWindowHint:

        Produces a borderless window. The user cannot move or resize a borderless window via the window system. On X11, the result of the flag is dependent on the window manager and its ability to understand Motif and/or NETWM hints. Most existing modern window managers can handle this.

        With this flag you say to window manager you don't want any OS feature to apply to your window so you should implement (fake) that features which give you full control.
        If you want to save your time you could take a look at this: https://github.com/deimos1877/BorderlessWindow
        Happy learning Win32API :)

        D Offline
        D Offline
        dxdws
        wrote on last edited by dxdws
        #7

        @IMAN4K I do not compile your example :(
        This example will solve my problem with the Windows taskbar?

        IMAN4KI 1 Reply Last reply
        1
        • D dxdws

          @IMAN4K I do not compile your example :(
          This example will solve my problem with the Windows taskbar?

          IMAN4KI Offline
          IMAN4KI Offline
          IMAN4K
          wrote on last edited by
          #8

          @dxdws
          It's not my example, it's deimos1877's example !
          Yes.you can simply open the link and see the demo image and then use it !

          D 1 Reply Last reply
          0
          • IMAN4KI IMAN4K

            @dxdws
            It's not my example, it's deimos1877's example !
            Yes.you can simply open the link and see the demo image and then use it !

            D Offline
            D Offline
            dxdws
            wrote on last edited by
            #9

            @IMAN4K It does not compile. Maybe you know what I need to do to solve the problem?

            jsulmJ 1 Reply Last reply
            0
            • D dxdws

              @IMAN4K It does not compile. Maybe you know what I need to do to solve the problem?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #10

              @dxdws "It does not compile" - what about posting the error message?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              D 1 Reply Last reply
              1
              • jsulmJ jsulm

                @dxdws "It does not compile" - what about posting the error message?

                D Offline
                D Offline
                dxdws
                wrote on last edited by
                #11

                @jsulm

                multiple definition of `QWinWidget::eventFilter(QObject*, QEvent*)'
                

                This error occurs about 40 times for functions, constructors, and destructors in
                qwinhost.cpp
                qwinwidget.cpp

                IMAN4KI 1 Reply Last reply
                0
                • D dxdws

                  @jsulm

                  multiple definition of `QWinWidget::eventFilter(QObject*, QEvent*)'
                  

                  This error occurs about 40 times for functions, constructors, and destructors in
                  qwinhost.cpp
                  qwinwidget.cpp

                  IMAN4KI Offline
                  IMAN4KI Offline
                  IMAN4K
                  wrote on last edited by IMAN4K
                  #12

                  @dxdws
                  I successfully run this under Windows10 + Qt5.8 + MSVC2015(QtCreator):
                  https://drive.google.com/file/d/0BxRSkzkLrTjVcGpVNS1xYms0ZzQ/view

                  D 1 Reply Last reply
                  0
                  • IMAN4KI IMAN4K

                    @dxdws
                    I successfully run this under Windows10 + Qt5.8 + MSVC2015(QtCreator):
                    https://drive.google.com/file/d/0BxRSkzkLrTjVcGpVNS1xYms0ZzQ/view

                    D Offline
                    D Offline
                    dxdws
                    wrote on last edited by
                    #13

                    @IMAN4K
                    I also use this, but on windows 8.1
                    At first he can not find
                    Error: gdi32.lib: No such file or directory
                    Error: dwmapi.lib: No such file or directory
                    If I comment in the pro file LIBS + = gdi32.lib dwmapi.lib
                    Then 40 of the above errors occur.

                    jsulmJ 1 Reply Last reply
                    0
                    • D dxdws

                      @IMAN4K
                      I also use this, but on windows 8.1
                      At first he can not find
                      Error: gdi32.lib: No such file or directory
                      Error: dwmapi.lib: No such file or directory
                      If I comment in the pro file LIBS + = gdi32.lib dwmapi.lib
                      Then 40 of the above errors occur.

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #14

                      @dxdws You're using MinGW as compiler, right?
                      Try with MSVC++ compiler.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      D 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @dxdws You're using MinGW as compiler, right?
                        Try with MSVC++ compiler.

                        D Offline
                        D Offline
                        dxdws
                        wrote on last edited by
                        #15

                        @jsulm
                        Yes, he compiled.
                        But the window still overlaps the taskbar, if it is automatically hidden.

                        IMAN4KI 1 Reply Last reply
                        0
                        • D dxdws

                          @jsulm
                          Yes, he compiled.
                          But the window still overlaps the taskbar, if it is automatically hidden.

                          IMAN4KI Offline
                          IMAN4KI Offline
                          IMAN4K
                          wrote on last edited by
                          #16

                          @dxdws
                          Well i don't think this could be implement and it changes in each windows version.
                          In windows 10 main window or dialogs doesn't overlap the taskbar (as also for photo shop).
                          Try thinking for other workaround

                          D 1 Reply Last reply
                          0
                          • IMAN4KI IMAN4K

                            @dxdws
                            Well i don't think this could be implement and it changes in each windows version.
                            In windows 10 main window or dialogs doesn't overlap the taskbar (as also for photo shop).
                            Try thinking for other workaround

                            D Offline
                            D Offline
                            dxdws
                            wrote on last edited by
                            #17

                            @IMAN4K
                            I need to guess how this is done in Photoshop.

                            IMAN4KI 1 Reply Last reply
                            0
                            • D dxdws

                              @IMAN4K
                              I need to guess how this is done in Photoshop.

                              IMAN4KI Offline
                              IMAN4KI Offline
                              IMAN4K
                              wrote on last edited by
                              #18

                              @dxdws
                              Are you sure this isn't the default behaviour on windows 8.1 ? (try to test for other window)

                              D 1 Reply Last reply
                              0
                              • IMAN4KI IMAN4K

                                @dxdws
                                Are you sure this isn't the default behaviour on windows 8.1 ? (try to test for other window)

                                D Offline
                                D Offline
                                dxdws
                                wrote on last edited by dxdws
                                #19

                                @IMAN4K
                                I do not know. But there are other programs that have this effect.
                                Replay Media Catcher 6
                                Blizzard Battle

                                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