am632 Posted March 21, 2011 Share Posted March 21, 2011 Hi, This is a bit stupid, I have never had this problem before but my checkboxes wont work. Heres ma code... expandcollapse popup#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 More sharing options...
UEZ Posted March 21, 2011 Share Posted March 21, 2011 I can select unselect checkboxes! Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
am632 Posted March 21, 2011 Author Share Posted March 21, 2011 I just realised, its the images im loading as the backgrounds, any ideas how to make this work without getting rid of the images? thanks Link to comment Share on other sites More sharing options...
taietel Posted March 22, 2011 Share Posted March 22, 2011 am632, put GUICtrlSetState(-1, $GUI_DISABLE) under those pictures. taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
am632 Posted March 22, 2011 Author Share Posted March 22, 2011 Brilliant - works perfect thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now