Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
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 Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2009, 03:52 PM
Registered User
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old November 9th, 2009, 04:46 PM
Registered User
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch.14 Creating Windows Form User Controls problem SAIFI BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 1 September 29th, 2008 05:51 AM
Best SDK for Beginning Visual C++ 2008, I. Horton OakJim Visual C++ 0 June 7th, 2008 04:13 PM
Ch 14 AdNew.asp example - Acess permission problem pycockd BOOK: Beginning ASP 3.0 4 February 7th, 2006 06:36 PM
Ch. 13/14 creating own custom controls...problem.. Chimlim BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 August 10th, 2005 04:21 AM
CH. 14 cart.php code problem shawnrberg BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 June 21st, 2004 05:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.