Jump to content

Recommended Posts

Posted

I want my GUI to monitor online, by making useronline in the GUI.

so, I can find out how many people online who use my GUI

please help me

sample GUI

Posted Image

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Date.au3>
#Region ### START Koda GUI section ### Form=

$NowTime = _NowTime()
$Form1 = GUICreate("GUI UserOnline", 164, 114, 192, 114)
$Label1 = GUICtrlCreateLabel("The time is :", 8, 8, 60, 17)
$Label2 = GUICtrlCreateLabel(@HOUR& ":" &@MIN& @CRLF &@MON& "/" &@MDAY& "/" &@YEAR, 8, 20, 60, 100)
$Label3 = GUICtrlCreateLabel("Useronline :", 8, 88, 60, 17)
$Label4 = GUICtrlCreateLabel("0", 72, 88, 10, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
WEnd

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
×
×
  • Create New...