Jump to content

Checkbox Problem


am632
 Share

Recommended Posts

Hi,

This is a bit stupid, I have never had this problem before but my checkboxes wont work.

Heres ma code...

#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#RequireAdmin

$Form1_1 = GUICreate("Panda Anti-Virus UnOfficial", 600, 450, 544, 284)
GUISetState(@SW_SHOW)

$TopBarImage = GUICtrlCreatePic("Images\topbarimage.jpg", 0, 0, 600, 100, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Pic2 = GUICtrlCreatePic("Images\mainbackground.jpg", 0, 100, 600, 350, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))

$scanwithoutuserintervention = GUICtrlCreateCheckbox("", 24, 119, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$dontscanbootsectors = GUICtrlCreateCheckbox("", 24, 143, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label1 = GUICtrlCreateLabel("Do NOT Detect", 16, 180, 92, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$malwarecheckbox = GUICtrlCreateCheckbox("", 16, 204, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$jokescheckbox = GUICtrlCreateCheckbox("", 16, 228, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$dialerscheckbox = GUICtrlCreateCheckbox("", 16, 252, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$hackingtoolscheckbox = GUICtrlCreateCheckbox("", 160, 204, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$spywarecheckbox = GUICtrlCreateCheckbox("", 160, 228, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$trackingcookiescheckbox = GUICtrlCreateCheckbox("", 160, 252, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$donotanalizefilescheckbox = GUICtrlCreateCheckbox("", 344, 204, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$dontsearchcompressedfolderscheckbox = GUICtrlCreateCheckbox("", 344, 228, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$dontscanmemorycheckbox = GUICtrlCreateCheckbox("", 344, 252, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

$deleteinfections = GUICtrlCreateCheckbox("", 160, 310, 13, 13)
GUICtrlSetState(-1, $GUI_CHECKED)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

$disinfectinfections = GUICtrlCreateCheckbox("", 160, 334, 13, 13)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

$List1 = GUICtrlCreateList("", 24, 306, 121, 45)
$Label2 = GUICtrlCreateLabel("Drives", 16, 280, 39, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label3 = GUICtrlCreateLabel("Exclude", 16, 360, 51, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Exclude = GUICtrlCreateInput("Exclude", 24, 384, 217, 21)
$browseexclude = GUICtrlCreateButton("Browse", 248, 384, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Add", 248, 416, 75, 25, $WS_GROUP)
$SCANBUTTON = GUICtrlCreateButton("Scan", 440, 384, 131, 57, $WS_GROUP)
GUICtrlSetFont(-1, 24, 400, 0, "Arial")
$Label4 = GUICtrlCreateLabel("Scan without user Intervention", 47, 118, 177, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label5 = GUICtrlCreateLabel("Don't Scan Boot Sectors", 47, 142, 147, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label6 = GUICtrlCreateLabel("Malware", 37, 203, 52, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label7 = GUICtrlCreateLabel("Jokes", 37, 227, 38, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label8 = GUICtrlCreateLabel("Dialers", 37, 251, 44, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label9 = GUICtrlCreateLabel("Hacking Tools", 181, 203, 86, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label10 = GUICtrlCreateLabel("Spyware", 181, 228, 54, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label11 = GUICtrlCreateLabel("Tracking Cookies", 182, 251, 104, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label12 = GUICtrlCreateLabel("Do NOT Analize Files", 365, 203, 129, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label13 = GUICtrlCreateLabel("Don't Search Compressed Files", 366, 227, 187, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label14 = GUICtrlCreateLabel("Don't Scan Memory", 366, 251, 118, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label15 = GUICtrlCreateLabel("Delete Infections", 181, 309, 100, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
$Label16 = GUICtrlCreateLabel("Disinfect Infections", 181, 333, 113, 20)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)


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

It may just be something obvious that im missing, any ideas?

thanks

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...