Advertisement

making icons

Started by July 28, 2000 08:59 PM
2 comments, last by OoMMMoO 24 years, 4 months ago
How do you make an icon for your .exe file using mvc++???
Use the icon editor? Try inserting an icon resource type. That should bring up the icon editor. Draw away

To make it appear with your .exe (that''s the best way i can put it) set the hIcon parameter of the WNDCLASS structure to the icon.

As in
    wc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(ICON1));wc.hIconSm = LoadIcon(hInst, MAKEINTRESOURCE(ICON1));    


That ought to do the trick.

========================================================
If something sounds stupid but works, it's not stupid
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Advertisement
Make an icon in MSVC++? Well I don''t know about that, but you can get many free icon editors out there then once you''ve got your icon made, stick it into your project, someone else will have to tell you how to do that in the C++ IDE, I only use assembler, sorry. :-(

But you''ll wanna go look for a program like:
Microangelo to create icons. This is a demo version of someones site and will only work for 30 days, then ask you to register. But it''s well made and does a good job!

Hope this helps some!
See ya,
Ben
__________________________Mencken's Law:"For every human problem, there is a neat, simple solution; and it's always wrong."
"Computers in the future may weigh no more than 1.5 tons."- Popular Mechanics, forecasting the relentless march of science in 1949
>> Make an icon in MSVC++? <<

That''s what the resource editor is for.
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall

This topic is closed to new replies.

Advertisement