|
-
Mar 29th, 2000, 06:23 AM
#1
Thread Starter
Fanatic Member
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?
-
Mar 29th, 2000, 06:44 AM
#2
Fanatic Member
I had the same question earlier under posting "Copying an image into a Form".
I am still waiting for a reply.
-
Mar 29th, 2000, 06:46 AM
#3
Thread Starter
Fanatic Member
Hey Nitro,
Hi and do you have an email?
-
Mar 29th, 2000, 06:54 AM
#4
Fanatic Member
Chemically formulated as: [email protected]
-
Mar 29th, 2000, 07:02 PM
#5
transcendental analytic
HI NO2 and Zaf! Try to activate the window before you use bitblt.
-
Mar 30th, 2000, 12:18 AM
#6
Thread Starter
Fanatic Member
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
-
Mar 30th, 2000, 03:19 AM
#7
transcendental analytic
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)
-
Mar 31st, 2000, 03:41 AM
#8
Thread Starter
Fanatic Member
I'm more after just some picture box controls rather than the whole window.
-
Mar 31st, 2000, 04:13 AM
#9
Frenzied Member
What exactly are you trying to do? by the sound of it there may be a better way of doing it.
-
Mar 31st, 2000, 06:58 AM
#10
Thread Starter
Fanatic Member
I've wrote a prog to animate the start button completely in VB and it works super only....when another window is activated.....
-
Mar 31st, 2000, 07:26 AM
#11
Fanatic Member
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!
Chemically Formulated As:
Dr. Nitro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|