dushkin Posted April 7, 2010 Posted April 7, 2010 Hi All. Is there a way to retrieve an image from a control? From a button? From a list control first column? Thanks!
furrycow Posted April 7, 2010 Posted April 7, 2010 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
dushkin Posted April 7, 2010 Author Posted April 7, 2010 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!
ptrex Posted April 7, 2010 Posted April 7, 2010 @dushkin I am not sure this is what you are looking for http://www.autoitscript.com/forum/index.php?showtopic=78757 rgds ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
dushkin Posted April 8, 2010 Author Posted April 8, 2010 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!
dushkin Posted April 8, 2010 Author Posted April 8, 2010 @dushkin I am not sure this is what you are looking for http://www.autoitscript.com/forum/index.php?showtopic=78757rgdsptrexThanks 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now