Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Convert Icon to bitmap

Posted on 2002-07-16
10
Medium Priority
?
261 Views
Last Modified: 2013-12-03
Hi,

I am looking for a way to load an Icon from an ICO file or from an icon library (.dll or .icl), and then convert the HICON handle to a valid HBITMAP.

I know how to load an .ICO file, but don't know how to load one from an library (BTW, how do you get the icon library dialog, the one that allows you to pick one from the library?).

How to display the Icon pick dialog box ?
How to load an certin icon from a library ?
How to covert an HICON to HBITMAP and allow bitmap functions to work on it (while preserving the icon 32-bit data) ?


thanks for your help!


Mike
0
Comment
Question by:moshem
  • 5
  • 2
10 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7157500
You can use ExtractIconEx to load icons from executables or from the DLLs...

Need Sample...?

Roshmon
0
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 600 total points
ID: 7157508
0
 
LVL 1

Author Comment

by:moshem
ID: 7157509
Yes, a sample would be great!

How about the two other parts of my question ?

thanks
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7157515
I will try ....

What about your other question (Bitmap Resize)...?

Roshmon
0
 
LVL 1

Author Comment

by:moshem
ID: 7316787
roshmon, please answer in order to get the points
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9018806
Hi, R u still searching for the answer?
Roshmon
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9546631
Hi, R u still searching for the answer?
Roshmon
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

971 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