-
Hi,
I use Bitblt with a window and works great, but when the window doing the bitblt-ing is not the window with the focus, the bitblt routine sends whatever is on the SCREEN at the location pointed to by the bitblt routine.
So as i understand it, even though i am pssing a Hdc param it is Bitblting the screen Hdc in effect, as if another is on top the window bitblt-ing its covering it.
Any Ideas?
-
I had the same question earlier under posting "Copying an image into a Form".
I am still waiting for a reply.
-
Hey Nitro,
Hi and do you have an email?
-
Chemically formulated as: [email protected]
-
HI NO2 and Zaf! Try to activate the window before you use bitblt.
-
Hi Kedaman, and thanks for your input too,
But.. As i'm using a timer control i'm not really keen on activating my window as the timer is set to approximately 10 milliseconds and boy , that just means that by the time the call is processed its time to do it again.
I was thinking more along the lines of juggling the memeory data directly, but do not know enough of the WinApi to do this, then again i might even be barking up the wrong tree.
Zaf
Thanks to everyone who is giving me help
-
Then I don't know, The DC will be captured directly from the screen, not behind a window and what I know, there is no other direct ways of capturing the whole window (with it's controls)
-
I'm more after just some picture box controls rather than the whole window.
-
What exactly are you trying to do? by the sound of it there may be a better way of doing it.
-
I've wrote a prog to animate the start button completely in VB and it works super only....when another window is activated.....
-
How are you today Zaf Khan?
Thanks for the code the other day.
As for your questions, I tried everything to capture only a specific window, but still only got the entire screen. Therefore, I don't think we can capture a minimize window?
If I can find a way, I will sure email it to you.
See Ya for now!