Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ATL exe server Pin
Hans Ruck16-Jun-02 1:55
Hans Ruck16-Jun-02 1:55 
GeneralRe: ATL exe server Pin
Hans Ruck16-Jun-02 1:58
Hans Ruck16-Jun-02 1:58 
Generalwin 2000 installation Pin
16-Jun-02 1:02
suss16-Jun-02 1:02 
GeneralRe: win 2000 installation Pin
Mazdak16-Jun-02 1:28
Mazdak16-Jun-02 1:28 
GeneralRe: win 2000 installation Pin
Venet16-Jun-02 7:06
Venet16-Jun-02 7:06 
QuestionAdding resource to Win32 application? Pin
15-Jun-02 19:29
suss15-Jun-02 19:29 
AnswerRe: Adding also icon and version information? Pin
15-Jun-02 19:36
suss15-Jun-02 19:36 
GeneralRe: Adding also icon and version information (all solved!) Pin
15-Jun-02 20:07
suss15-Jun-02 20:07 
BIG SORRY... I didn't found it via Google, but with Google Usenet archive:
Here is a pretty good explanation I found - and works great:

Newsgroups:comp.os.ms-windows.programmer.win32
Date:2001-10-24 10:07:07 PST


Insert->Resource->Icon->Import... (browse for your icon)
Use Alt+Enter to invoke "Icon Properties" dialog.
Assign an ID to your icon (e.g. IDI_APPICON).
Save(Ctrl+S) as MyApp.rc
Project->Add to project->Files...->MyApp.rc
Build

From that point on, the icon will appear in Explorer.

To assign the icon to the window also, add into your
WinMain:

#include "Resource.h"
...
WC.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_APPICON))

That's it, more or less.
HTH
Jugoslav

Generali need help!!! please............. Pin
ChiYung15-Jun-02 16:22
ChiYung15-Jun-02 16:22 
GeneralRe: i need help!!! please............. Pin
Christian Graus15-Jun-02 16:41
protectorChristian Graus15-Jun-02 16:41 
GeneralRe: i need help!!! please............. Pin
Martin Marvinski15-Jun-02 17:52
Martin Marvinski15-Jun-02 17:52 
GeneralRe: i need help!!! please............. Pin
Christian Graus15-Jun-02 18:00
protectorChristian Graus15-Jun-02 18:00 
GeneralRe: i need help!!! please............. Pin
Martin Marvinski15-Jun-02 18:52
Martin Marvinski15-Jun-02 18:52 
GeneralRe: i need help!!! please............. Pin
markkuk16-Jun-02 2:30
markkuk16-Jun-02 2:30 
GeneralLinking problem w/ Intel C++ Pin
15-Jun-02 13:39
suss15-Jun-02 13:39 
GeneralRe: Linking problem w/ Intel C++ Pin
Mike Nordell16-Jun-02 5:07
Mike Nordell16-Jun-02 5:07 
GeneralRe: Linking problem w/ Intel C++ Pin
16-Jun-02 11:52
suss16-Jun-02 11:52 
QuestionWhat causes the error "Incorrect function."? Pin
redeemer15-Jun-02 12:42
redeemer15-Jun-02 12:42 
AnswerRe: What causes the error "Incorrect function."? Pin
Mike Nordell16-Jun-02 5:13
Mike Nordell16-Jun-02 5:13 
QuestionWhy can't i read from a cd-rom drive when i have opened it with CreateFIle? Pin
redeemer15-Jun-02 11:59
redeemer15-Jun-02 11:59 
AnswerRe: Why can't i read from a cd-rom drive when i have opened it with CreateFIle? Pin
JohnnyG15-Jun-02 12:17
JohnnyG15-Jun-02 12:17 
GeneralRe: Why can't i read from a cd-rom drive when i have opened it with CreateFIle? Pin
redeemer15-Jun-02 12:22
redeemer15-Jun-02 12:22 
GeneralRe: Why can't i read from a cd-rom drive when i have opened it with CreateFIle? Pin
Amit Dey15-Jun-02 14:24
Amit Dey15-Jun-02 14:24 
AnswerRe: Why can't i read from a cd-rom drive when i have opened it with CreateFIle? Pin
Amit Dey15-Jun-02 14:22
Amit Dey15-Jun-02 14:22 
Generalstrange... Pin
redeemer15-Jun-02 14:43
redeemer15-Jun-02 14:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.