954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Clicking Buttons to Display different BITMAPS?

Hi there guys!

I am trying to write a program using Visual C++ 6.0.

It is a dialog MFC executable application (i dunno if this is the best to use) which has three buttons, say A,B and C. I would like the program to display one picture if the user clicks A, another for B etc. Preferably using the buttons as some kind of menu, and onced clicked the program changes the layout.

If anyone has any idea's or good websites please dont hessitate to reply

I thank you in advance.

Regards
Keir :) [email="keir@whitlock.ws"]keir@whitlock.ws[/email]

keir.whitlock
Newbie Poster
11 posts since Apr 2004
Reputation Points: 10
Solved Threads: 0
 

since the bitmaps are usually regulated in the WM_DRAW, when you click the button, send the draw method and pass in the new picture.

BountyX
Posting Whiz in Training
230 posts since Mar 2004
Reputation Points: 28
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You