Jump to content

General GUI HELP


tylerh27
 Share

Recommended Posts

I am trying to create something similar to skype, iv been using isn studio to set up the gui's i need. The only thing is, i dont know how to "iframe" data from a web server for the users online and the chats, and i also dont know how to switch between the login window and the main window after login.

Can someone help me get started here? this is what i have so far:

; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>

$GUI = GUICreate("GUI",297,221,-1,-1,-1,-1)
GUISetBkColor(0xFFFFFF,$GUI)
GUICtrlCreateLabel("Chat",104,20,89,43,-1,-1)
GUICtrlSetFont(-1,16,700,2,"Segoe Script")
GUICtrlSetBkColor(-1,"-2")
GUICtrlCreateInput("Username",70,90,150,20,-1,512)
GUICtrlCreateInput("**********",70,140,150,20,-1,512)
GUICtrlCreateCheckbox("Remember Me",40,180,90,20,-1,-1)
GUICtrlSetBkColor(-1,"0xFFFFFF")
GUICtrlCreateButton("Log In",180,180,80,21,-1,-1)
GUISetState(@SW_SHOW,$GUI)

$next = GUICreate("next",433,386,-1,-1,-1,-1)
GUISetBkColor(0xFFFFFF,$next)
GUICtrlCreateGroup("Chat",140,0,293,382,-1,-1)
GUICtrlCreateButton("Log Out",0,0,137,44,14,-1)
DllCall("user32.dll", "UINT", "SendMessage", "handle", GUICtrlGetHandle(-1), "UINT", $BCM_SETNOTE, "ptr*", 0, "wstr", "")
DllCall("user32.dll", "UINT", "SendMessage", "handle", GUICtrlGetHandle(-1), "UINT", $BCM_SETSHIELD, "ptr*", 0, "BOOL",false)
GUICtrlCreatelist("",0,50,138,331,-1,512)
GUISetState(@SW_HIDE,$next)

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd
Edited by tylerh27
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...