Is there a way for a Gui to have a border that is identical to the border that a resizable Gui would have, without making the Gui resizable. I'm using Windows 7 and, importantly for the look of the border, Windows Aero is turned on.
For example, is there a way to give Gui 2 exactly the same border as Gui 1 without having +Resize in the Gui 2 options? (Again, I'm looking at the "shiny" borders when Aero is turned on.) The only style that I could find (WS_THICKFRAME = 0x40000) is exactly the same one used for +Resize (WS_SIZEBOX) so it makes the Gui resizable.
Code: Select all
Gui, 1: -caption +ToolWindow +AlwaysOnTop +Resize Gui, 1: Add, Button, w100 h100 Gui, 2: -caption +ToolWindow +AlwaysOnTop Gui, 2: Add, Button, w100 h100 Gui, 1: Show, x100 y100 Gui, 2: Show, x300 y100 Escape:: ExitApp