By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,876 Members | 1,119 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,876 IT Pros & Developers. It's quick & easy.

Bitmaps on dialog box

P: n/a
I have a dialog box and on it I want to display a bitmap, which will
change at various times during the program. My problem is that the
bitmaps will not be the same each time. I want the user to put their
own bitmaps into a directory and the application will pick them off
and display them as required. The bitmaps will always be called the
same thing, ie 1.bmp, 2.bmp, 3.bmp - but they will be different
pictures. I am new to visual c++.net so any help is much appreciated.
Regards

Mark.
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
>From: cy********@hotmail.com (Mark Evans)
Subject: Bitmaps on dialog box
Date: 16 Oct 2003 02:25:26 -0700

I have a dialog box and on it I want to display a bitmap, which will
change at various times during the program. My problem is that the
bitmaps will not be the same each time. I want the user to put their
own bitmaps into a directory and the application will pick them off
and display them as required. The bitmaps will always be called the
same thing, ie 1.bmp, 2.bmp, 3.bmp - but they will be different
pictures. I am new to visual c++.net so any help is much appreciated.
Regards

Mark.


Hi Mark,

This Knowledge Base article may be helpful (it points to a sample that shows 4 ways to draw a bitmap on an MFC dialog):

http://support.microsoft.com/default...b;en-us;141863

HTH,
--
Ron Pihlgren, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.