Click here to Skip to main content
15,912,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Hello how to redirect the function's return address to your own function address? Pin
toxcct11-Aug-08 21:31
toxcct11-Aug-08 21:31 
GeneralRe: Hello how to redirect the function's return address to your own function address? Pin
nah133711-Aug-08 23:52
nah133711-Aug-08 23:52 
GeneralRe: Hello how to redirect the function's return address to your own function address? Pin
toxcct11-Aug-08 23:54
toxcct11-Aug-08 23:54 
GeneralRe: Hello how to redirect the function's return address to your own function address? Pin
nah133712-Aug-08 0:00
nah133712-Aug-08 0:00 
GeneralRe: Hello how to redirect the function's return address to your own function address? Pin
Bram van Kampen12-Aug-08 11:07
Bram van Kampen12-Aug-08 11:07 
QuestionHow to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 20:37
fantasy121511-Aug-08 20:37 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
toxcct11-Aug-08 21:30
toxcct11-Aug-08 21:30 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
Jijo.Raj11-Aug-08 22:45
Jijo.Raj11-Aug-08 22:45 
Windows explorer will choose the first icon in the exe's icon list. So ensure that you icon have the smallest icon id.

1) Now insert your favorite icon to project,
2) edit the resource.h and assign the id of your icon as 128(id of default MFC icon).
3) If any other Icon id have 128 as id, update them accordingly to avoid conflict. For instance,

#define IDR_MAINFRAME                   129
#define IDI_EXE_ICON                    128


Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: How to change the exe file's icon shown in the explorer? Pin
toxcct11-Aug-08 23:05
toxcct11-Aug-08 23:05 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
Jijo.Raj11-Aug-08 23:16
Jijo.Raj11-Aug-08 23:16 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
toxcct11-Aug-08 23:19
toxcct11-Aug-08 23:19 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
Jijo.Raj11-Aug-08 23:33
Jijo.Raj11-Aug-08 23:33 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
Mark Salsbery12-Aug-08 5:40
Mark Salsbery12-Aug-08 5:40 
QuestionRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:21
fantasy121511-Aug-08 23:21 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
Jijo.Raj11-Aug-08 23:30
Jijo.Raj11-Aug-08 23:30 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:39
fantasy121511-Aug-08 23:39 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
toxcct11-Aug-08 23:33
toxcct11-Aug-08 23:33 
GeneralRe: How to change the exe file's icon shown in the explorer? Pin
fantasy121511-Aug-08 23:53
fantasy121511-Aug-08 23:53 
AnswerRe: How to change the exe file's icon shown in the explorer? Pin
David Crow12-Aug-08 3:28
David Crow12-Aug-08 3:28 
Questionpush_back error Pin
monsieur_jj11-Aug-08 19:53
monsieur_jj11-Aug-08 19:53 
AnswerRe: push_back error Pin
Jijo.Raj11-Aug-08 20:38
Jijo.Raj11-Aug-08 20:38 
GeneralRe: push_back error Pin
monsieur_jj11-Aug-08 20:47
monsieur_jj11-Aug-08 20:47 
GeneralRe: push_back error Pin
monsieur_jj11-Aug-08 20:49
monsieur_jj11-Aug-08 20:49 
GeneralRe: push_back error Pin
Jijo.Raj11-Aug-08 21:08
Jijo.Raj11-Aug-08 21:08 
GeneralRe: push_back error Pin
Jijo.Raj11-Aug-08 21:07
Jijo.Raj11-Aug-08 21:07 

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.