• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

using a bitmap as a background for a SDI dialog application

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
Will_1
Asked:
Will_1
1 Solution
 
Tommy HuiEngineerCommented:
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now