Jump to content

GUICtrlCreatePic instead checkbox?


eJan
 Share

Recommended Posts

I'm trying to write skinable GUI model for future use , but I'm unable to set Image "uncheck.bmp" instead of GUICtrlCreateCheckbox which will update it with new one on click (check-uncheck) at the control "$sch", and GUICtrlRead to see if control is checked.

Another thing how to make GUI "$WS_POPUPWINDOW" moveable with mouse click onto GUI window (&Move works from Taskbar).

Posted Image

PerfectDisk_GUI.zip

Link to comment
Share on other sites

I'm trying to write skinable GUI model for future use , but I'm unable to set Image "uncheck.bmp" instead of GUICtrlCreateCheckbox which will update it with new one on click (check-uncheck) at the control "$sch", and GUICtrlRead to see if control is checked.

Another thing how to make GUI "$WS_POPUPWINDOW" moveable with mouse click onto GUI window (&Move works from Taskbar).

Posted Image

<{POST_SNAPBACK}>

You need to manage the state of the click on pic. It is better to use GuiCtrlSetImage to change the pic than recreate a new pic.

For the Move with the mouse I have no idea for the time being. :lmao:

Link to comment
Share on other sites

in case of you don't succeed with my previous message 

Attached File(s)

  PerfectDisk_GUI.au3 ( 2.07k ) Number of downloads: 3

Thanks jpm works exactly as I wish to work, now i'm gonna try to make GUI moveable.
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...