Jump to content
Sign in to follow this  
layer

GUI ina GUI

Recommended Posts

layer

yellow folks... i know that just about 2 weeks ago, this was asked, but how do i make a GUI inside of a GUI... i tried searching the forums for GUI in a GUI but those words are all under 4 characters... wow... so could i please see the example once more?!?!? i promise ill save it on my computer!! :)

thanks a bunch!


FootbaG

Share this post


Link to post
Share on other sites
SlimShady

Create a child GUI without a title bar (so it can't be moved) and set the coordinates so it appears to be part of the parent GUI.

Share this post


Link to post
Share on other sites
layer

thanks guys ! :)


FootbaG

Share this post


Link to post
Share on other sites
quaizywabbit

perhaps you might find this useful also:

AnyGui.au3


[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites
SweatyOgre

Create a child GUI without a title bar (so it can't be moved) and set the coordinates so it appears to be part of the parent GUI.

<{POST_SNAPBACK}>

How do you create a GUI with no title bar? I was trying to do this a few days ago but couldn't find anything in the help file.

Share this post


Link to post
Share on other sites
zcoacoaz

$WS_POPUP


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites
SlimShady

How do you create a GUI with no title bar? I was trying to do this a few days ago but couldn't find anything in the help file.

<{POST_SNAPBACK}>

Here you go

#include <GUIConstants.au3>
AutoItSetOption("TrayIconDebug", 1)

;Initialize variables
Global $style1
Global $IniFile
Global $GUIWidth
Global $GUIHeight

$GUIWidth = 250
$GUIHeight = 250

;No caption (title bar):
$style1 = BitOR($WS_POPUP, $WS_SYSMENU)
GUICreate("New GUI", $GUIWidth, $GUIHeight, -1, -1, $style1)

GUISetState(@SW_SHOW)

While 1
   Sleep(25)
   $msg = GUIGetMsg()
   Select
   
      Case $msg = $GUI_EVENT_CLOSE
         GUIDelete()
         Exit

     ;Case $msg = ...

   EndSelect

WEnd

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×