|
|
 |
| Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Visual C++ section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

November 7th, 2009, 03:52 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Toolbar problem in Horton VC++ 2008 Ch. 14
Greetings,
I've run into a problem in Horton's Visual C++ 2008 Ch 14 creating the toolbar. I've successfully followed the Sketcher MFC example in Ch 13 and Ch 14 up to creating the toolbar, and have used the toolbar resource to create 8 buttons as he described. I saved the .rc file and compiled/ran the program OK except that I don't get in the executable the bitmaps I created on the buttons. I get functional buttons, with tool tips, that activate their corresponding menu items OK. They just don't show the bitmaps. Also, I see that the file Toolbar.bmp does not contain these bitmaps either, although they do show on the toolbar resource to create the bitmaps. I think this may be the problem but I don't know how to fix it.
Any thoughts and/or suggestions would be greatly appreciated.
I'm using Windows XP SP2 and MS Visual Studio 2008 Pro.
Thank you,
Ted
Last edited by tedkurtz : November 7th, 2009 at 04:00 PM.
Reason: Extra info
|

November 9th, 2009, 04:46 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Toolbar problem in Horton VC++ 2008 Ch. 14
Greetings again,
Now it works OK! I have no idea what I did to make it work. As far as I can tell, I just played with it, repeating steps I'd done before, and, presto, it works.
Thanks to any who have spent time investigating this. If I figure out anything, I'll post it.
Regards,
Ted
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |