Jump to content

GUI ina GUI


layer
 Share

Recommended Posts

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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

$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]

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...