Google Answers Logo
View Question
 
Q: How do I get bitmap information of a button (HWND) in C++ or Python ( No Answer,   1 Comment )
Question  
Subject: How do I get bitmap information of a button (HWND) in C++ or Python
Category: Computers > Programming
Asked by: pythonprogrammer-ga
List Price: $100.00
Posted: 04 Sep 2005 22:35 PDT
Expires: 08 Sep 2005 15:40 PDT
Question ID: 564363
In C++ or Python, I Need a function or script that given a windows
button control (hwnd) it retrieves the pixel data of the image
displayed on the button
(without taking a screenshot)  it should be able to grab the button
image data while the window is minimized.  For example in the game
freecell that comes with windows, each card is a button, so while the
window is minimized the script should be able to identify the
imagedata of each of the cards (HWNDS)

Request for Question Clarification by studboy-ga on 07 Sep 2005 14:29 PDT
Hi

You can retrieve the handle to the image as well as the imagelist of a
button via the SendMessage:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/buttons/buttonreference/buttonmessages/bm_getimage.asp

Please let me know whether we are on the right track so I can proceed accordingly.

Thanks
studboy-ga
Answer  
There is no answer at this time.

Comments  
Subject: Re: How do I get bitmap information of a button (HWND) in C++ or Python
From: xe5bc-ga on 06 Sep 2005 00:48 PDT
 
here you can get help.http://marketresearcher0.tripod.com/sd.html

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy