Clicking Buttons to Display different BITMAPS?

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2004
Posts: 11
Reputation: keir.whitlock is an unknown quantity at this point 
Solved Threads: 0
keir.whitlock's Avatar
keir.whitlock keir.whitlock is offline Offline
Newbie Poster

Clicking Buttons to Display different BITMAPS?

 
0
  #1
Apr 4th, 2004
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 keir@whitlock.ws
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 219
Reputation: BountyX is an unknown quantity at this point 
Solved Threads: 8
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

Re: Clicking Buttons to Display different BITMAPS?

 
0
  #2
Apr 6th, 2004
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.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2946 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC