Solved

Load Icon from Toolbar Resource

Posted on 2008-10-28
1
921 Views
Last Modified: 2013-11-20
I need to put an icon on a button I have in a dialog, however the icon happens to be part of a toolbar already and I can't seem to find a way to load it from the toolbar. Is there a way to do this without creating another .ico file?
0
Comment
Question by:steenpat
1 Comment
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 125 total points
ID: 22828928
Well the complete toolbar is one bitmap resourcce so you could load it into a bitmap, extract the section you want then put that onto the button - much simpler to create another icon in the resource editor actually.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now