Jump to content

flickering


Recommended Posts

ok these past few days iv been posting loads of questions .. and i thank those who have helped me.

so once again i have another question . how do i stop my buttons flickereing

#include <GUIConstants.au3>

GUICreate("Spybot Compiled", 500, 500)                                          ; will create a dialog box that when displayed is centered
$background = GUICtrlCreatePic ("Untitled-1.jpg", 0, 0, 500, 500)               ; background
GuiCtrlSetState(-1,$GUI_DISABLE)
GUISetState (@SW_SHOW)                                                        ; will display an empty dialog box

$clicktostart = GUICtrlCreateLabel ("Click to start SpyBot Compiled ", 55, 41, 175)
GUICtrlSetFont($clicktostart, 9, 700)
GUICtrlSetBkColor($clicktostart, $GUI_BKCOLOR_TRANSPARENT)

while 1
$Button1 = GUICtrlCreateButton ( "  start  ", 10, 40 )                      ; verification button
GUICtrlSetOnEvent ( $Button1, "ok" )

$Button2 = GUICtrlCreateButton ( "  exit  ", 10, 80 )                       ; verification button
GUICtrlSetOnEvent ( $Button2, "close" )

WEnd

oo btw this isnt all the code

Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D

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