Sign in to follow this  

Draw directly w/ GDI

This topic is 4560 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How to draw w/ GDI, like DirectDraw does after ::Lock() ? The problem is next: I'm having 32bit 128x128 image. I have read it in memory. Then I want to paint on the window using alpha-blending (in WM_PAINT). But the problem occurs: I can excidently paint on another window and I can paint several times on the same place?

Share this post


Link to post
Share on other sites
I am not familiar with DirectDraw (too old school) and I can not fuly understand your needs.
But as far as I know GDI needs a handle of control you want to draw at so drawing at everything you point is not so easy. You may hovewer try to use some tricks with transparency.

Share this post


Link to post
Share on other sites

This topic is 4560 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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