Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Remove the frame, shadow and the title bar of the window


  • Please log in to reply
4 replies to this topic
look997
  • Members
  • 5 posts
  • Last active: Jan 09 2014 10:30 PM
  • Joined: 05 Jan 2014

How to remove the frame, shadow, and the title bar. From QT Creator. Using AutoHotkey L?

ahkqtframex.png

Windows 7.



Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

Read the help for WinSet.  Specifically notice the following example, (but you will need to change the wintitle parameter)

 

WinSet, Style, -0xC00000, A  ; Remove the active window's title bar (WS_CAPTION).



look997
  • Members
  • 5 posts
  • Last active: Jan 09 2014 10:30 PM
  • Joined: 05 Jan 2014

Read the help for WinSet.  Specifically notice the following example, (but you will need to change the wintitle parameter)

 

WinSet, Style, -0xC00000, A  ; Remove the active window's title bar (WS_CAPTION).

But what remove frame/border/margin from window?

I use this:

    WinSet, Style,  -0xC40000 , A

from:
http://www.autohotke...-window-toggle/

and some other:

+0x840000
-0xC40000

There are bugs:
qtcreatornoframebugs.png
1. Developing the menu buttons at a distance to activate when the cursor is below them.
2. From below and to the right I have transparent boxes.

It also bothered because I want to dynamically change the size of the window.

That's my goal:
qtinfx.png



Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

I gave you the command to change the window's style, you have to decide which styles you can use and enjoy.

 

Dynamically sizing the window might be possible with the command 'winmove'



look997
  • Members
  • 5 posts
  • Last active: Jan 09 2014 10:30 PM
  • Joined: 05 Jan 2014

Solution: The program must be maximized before running the script.