Jump to content

screen corruption


Recommended Posts

has anyone else had problems with gui corruption?

it seems that my gui looks fine on most pcs but older ones and intel chipsets show gui corruption. the transparent images sometimes make the background show through the parent gui, othertimes not, always fixed by minimise and maximise.

sometimes odd other bits of corruption as well.

new pcs / laptops seem absolutely fine.

$main= (this is the main GUI)

etc

GuiSetState(@SW_Show)

WinSetState( "Q-Backup" & " version " & $v & " Setup and Installation Wizard","",@SW_RESTORE)

; this adds gif files with transparency

$pic1 = GUICreate("", 173, 35, 5, 20,$WS_POPUP,BitOr($WS_EX_LAYERED,$WS_EX_MDICHILD),$main)

GuiCtrlCreatePic("wizlog.gif",1,2, 173,35,"",$WS_EX_TRANSPARENT)

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)

$pic2 = GUICreate("", 63, 55, 570, 20,$WS_POPUP,BitOr($WS_EX_LAYERED,$WS_EX_MDICHILD),$main)

GuiCtrlCreatePic("1.gif",1,2, 63,55,"",$WS_EX_TRANSPARENT)

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)

GUISetState(@SW_SHOW,$pic1)

GUISetState(@SW_SHOW,$pic2)

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