Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

using a bitmap as a background for a SDI dialog application

Posted on 1997-10-02
1
Medium Priority
?
296 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 200 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

885 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