Delphi32.com - Home!
| Home/News | Downloads | Forums | D32 Magazine | Resources | Info and Facts |  
 
 Incorrect Application Icon


Windows shows the wrong icon for my application in the Windows Explorer and on Short Cuts. When my application is run however, the correct icon appears on the Task Bar and in the Alt-Tab list.   

    When Windows shows the default icon for an application in a Short Cut or in the Window's Explorer it uses the first icon resource that appears in the executable file. Icon resources that are linked into an application are ordered alphabetically. The resource name that Delphi uses for an application's icon is "MAINICON". If you link additional icon resources into your application you will need to make sure to name them so that they are ordered alphabetically after the resource name "MAINICON". The correct icon appears when the application is launched because in the window creation and registration process the icon resource name for the application is specified explicitly.

    4/ /99 0:55: 9 AM

     



  << Previous Faq     Complete List     Next Faq >>  



 
 Hits/month  2,500,000+ 
 Downloads
 (Since May 2000)
 7,393,709 
 Total Files  6,023 
 Forum msgs  7,670 
 Articles/FAQs  70+/900+ 
Kylix
Tips n Tricks
FAQs
Knowledge Base
Bug Listings
Articles
Books
Newsgroups
Links
Submissions
Testimonials
Advertising
Contact Us
About Us
Search Amazon:
Top Selling Software at Amazon

| Home/News | Downloads | Forums | Resources | Info and Facts | Testimonials |
  Site Search:
 


Comments/Problems: Webmaster@delphi32.com
Copyright © 1998-2006, Delphi32.com. All rights reserved.
Terms of Use