p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > C# and C > C++ and Visual C++ > Visual C++
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 7th, 2009, 03:52 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 5%
Activity: 5% Activity: 5% Activity: 5%
 
Join Date: Nov 2009
Posts: 2
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old November 9th, 2009, 04:46 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 5%
Activity: 5% Activity: 5% Activity: 5%
 
Join Date: Nov 2009
Posts: 2
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 06:51 AM
Best SDK for Beginning Visual C++ 2008, I. Horton OakJim Visual C++ 0 June 7th, 2008 05: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 05: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 06:44 PM



All times are GMT -4. The time now is 01:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc