C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2002, 12:33 AM   #1
Registered User
 
Join Date: Mar 2002
Posts: 249
Cool Creating an icon for an executable

How would I go about putting an icon/picture for and exe file instead of that plain old blue/white dos screen pic? You know, like they do on commerical programs. I'm running MSVC 6.
Thanks
funkydude9 is offline   Reply With Quote
Old 09-28-2002, 12:35 AM   #2
Troll Hunter
 
xds4lx's Avatar
 
Join Date: Nov 2001
Posts: 619
in the WNDCLASS or WNDCLASSEX structure there is a param hIcon and hInconSm, just set that equal to your custom icon resource number, or call LoadIcon look it up for more info
__________________
"only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein
xds4lx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Executable in runtime astropirit Windows Programming 2 07-08-2009 10:46 AM
Profiler Valgrind afflictedd2 C++ Programming 4 07-18-2008 09:38 AM
Creating Icon resource using image csonx_p Windows Programming 2 06-11-2008 01:50 AM
Creating a executable file stewie1986 C Programming 8 12-11-2007 12:26 AM
Change the icon on executable caroundw5h Windows Programming 4 11-20-2003 11:25 PM


All times are GMT -6. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22