Jump to content

Get images from controls


Recommended Posts

I've never tried these, but in the help file there are:

_GUICtrlButton_GetImage() ;retrieves handle to the image associated with the button
_GUICtrlListView_GetBkImage() ;retrieves background image in the control
_GUICtrlListView_GetImageList() ;retrieves the handle to an image list used for drawing listview items
_GUICtrlListView_GetItemImage() ;retrieves the index of the item's icon

Good luck!

Instant Lockerz Invite - www.instantlockerzinvite.co.uk
Link to comment
Share on other sites

I've never tried these, but in the help file there are:

_GUICtrlButton_GetImage() ;retrieves handle to the image associated with the button
_GUICtrlListView_GetBkImage() ;retrieves background image in the control
_GUICtrlListView_GetImageList() ;retrieves the handle to an image list used for drawing listview items
_GUICtrlListView_GetItemImage() ;retrieves the index of the item's icon

Good luck!

Thanks, I will try!
Link to comment
Share on other sites

I've never tried these, but in the help file there are:

_GUICtrlButton_GetImage() ;retrieves handle to the image associated with the button
_GUICtrlListView_GetBkImage() ;retrieves background image in the control
_GUICtrlListView_GetImageList() ;retrieves the handle to an image list used for drawing listview items
_GUICtrlListView_GetItemImage() ;retrieves the index of the item's icon

Good luck!

Well as much I saw, those functions return handles to the images. Am I correct?

My final purpose is to get an image from a button or from a list control and to verify it (compare it) to a given image. In my case - an icon.

I didn't find out how to continue after using _GUICtrlListView_GetItemImage (for example) and getting the handle of, lets say, item 0 image. How can I compare it to my aside image?

(let's assume I have an image compare utility)

Thanks!

Link to comment
Share on other sites

@dushkin

I am not sure this is what you are looking for

http://www.autoitscript.com/forum/index.php?showtopic=78757

rgds

ptrex

Thanks ptrex.

I also think this is not related.. Maybe you can read the reply I posted for furrycow and see if this makes things clearer.

Thanks again!

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