Solved

Icon sizes with extracticon

Posted on 1997-07-26
1
133 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi custom sort exception 6 135
Delphi - replicating a form 8 65
how to center only a line in richedit? 4 52
FMX and jaudiotracker playing memory stream 29 66
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

12 Experts available now in Live!

Get 1:1 Help Now