Solved

using a bitmap as a background for a SDI dialog application

Posted on 1997-10-02
1
284 Views
Last Modified: 2013-11-19
If you have a SDI application with a dialog as the main window, how do you place a bitmap as the background instead of just setting the background color?
0
Comment
Question by:Will_1
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
ID: 1307427
You can override WM_ERASEBKGND to do nothing and override WM_PAINT to draw the bitmap wherever you want in the dialog class.
0

Featured Post

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 149
Excel Use VBA to get user's Mac Address for their computer 5 324
windows 10 how make picture as desktop background 2 66
post4 challenge 28 113
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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