Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

StretchBlt-ing a Masked DIB onto a screen device context

Posted on 1997-08-12
2
Medium Priority
?
355 Views
Last Modified: 2013-11-19
I have seen an example of BitBlt-ing a Masked DIB (i.e.,
a DIB whose transparent bits are not drawn to the device
context)to a screen device context. When I try to use
StretchBlt, instead of BitBlt, in the example I have
seen the background portion of the output is incorrect.

My question: How do I StretchBlt a DIB onto the device
context and have all the proportions of position and
size perserved (position and size of the bitmap need
to be based on client metrics)?
0
Comment
Question by:nuhnnmwu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
mbhakta earned 100 total points
ID: 1303614
If you like to do some reading , get your hands on the 'Animation Techniques under Win32" by Nigel thompson. This book is available free on the MSDN CD. It provides a good overview on what you are planning to achieve.


0
 

Author Comment

by:nuhnnmwu
ID: 1303615

That is not really answering my question; it is passing
the question off to Mr. Thompson, who can't account
for the fact that his program won't compile in V++
5.0.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question