Sign in to follow this  
Followers 0
DUNGYEUANH

Get color from inactive window

7 posts in this topic

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



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

a background of IE

Share this post


Link to post
Share on other sites

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

#5 ·  Posted (edited)

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

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

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  
Followers 0