Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Load Icon from Toolbar Resource

Posted on 2008-10-28
1
948 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Window placement 17 85
Unable to start eclipse ? 17 152
Header Errors LNK2019, LNK1120 - Unresolved Externals 4 181
how to use laptop or pad camera in vb.net windows application 2 85
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

792 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