Jump to content

Change image created with GUIctrlcreatepic


 Share

Recommended Posts

$pic = GUICreate("kc", 68, 71, 10, 10, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_MDICHILD))
        GUICtrlCreatePic(@scriptdir & "\images\kc.bmp", -10, 88, 340, 73)

I need to change this image to another one that's the same thing only darker, it'll be changed on a hotkey press.

Instead of changing the image to another one that's darker the ideal way would be to change the opacity of kc.bmp. Is this possible? if not just changing the image will be fine.

I've got it working ghetto style now... I'm doing another guictrlcreatepic and writing a darker image over it... however every time the image is changed it just adds another pic increasing the file size each time.

Edited by mud409
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...