Jump to content
Sign in to follow this  
DUNGYEUANH

Get color from inactive window

Recommended Posts

DUNGYEUANH

I want to determine the color of an inactive window

=> I tried it without success, anybody help me !!!

Share this post


Link to post
Share on other sites
monoscout999

The color of what? a label? the background of the window? a picture? be more specific.

Share this post


Link to post
Share on other sites
Aktonius

There is a message that you can send wm_printwindow and it is supposed to get client area of window even if its in the background but dont ask me more about this, never tried it.

Share this post


Link to post
Share on other sites
monoscout999

There is a message that you can send wm_printwindow and it is supposed to get client area of window even if its in the background but dont ask me more about this, never tried it.

...and There`s a message that give you a second chance in life WM_GIVEMEASECONDCHANCEMOTHERFUCKER!!. jeje sorry the mock, but it was funny, i don`t find that message in MSDN, What i found is WM_PRINTCLIENT. Anyway i don`t think it works that way, retrieving a BMP of the windows, It sound a little Crazy :S

on topic: What kind of IE window? Normal, flash,ect. What control of the IE window? A Button, an Image, etc.

Edited by monoscout999

Share this post


Link to post
Share on other sites
Aktonius

Anyway i don`t think it works that way, retrieving a BMP of the windows, It sound a little Crazy :S

You think it works how then?

Share this post


Link to post
Share on other sites
monoscout999

maybe looking some DWM function from aero, aero can display the window preview, but Aero is only in Win Vista or Win7

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.