Solved

Icon sizes with extracticon

Posted on 1997-07-26
1
137 Views
Last Modified: 2010-04-04
If i use extracticon to get an icon from an exe,ico or dll file, How do i draw the 16*16 icon and not the 32*32 icon ?
0
Comment
Question by:chabanois
1 Comment
 
LVL 4

Accepted Solution

by:
erajoj earned 200 total points
ID: 1339959
Use API-call "DrawIconEx":

  Ex:
  DrawIconEx(
    Canvas.Handle, X, Y, MyIcon.Handle, 16, 16, 0, 0, DI_NORMAL
  );

/// John
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

837 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