Click here to Skip to main content
15,921,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: could anyone tell me what's the error with this code? Pin
Maxwell Chen28-Jan-08 21:33
Maxwell Chen28-Jan-08 21:33 
GeneralRe: could anyone tell me what's the error with this code? Pin
CPallini28-Jan-08 22:35
mveCPallini28-Jan-08 22:35 
GeneralRe: could anyone tell me what's the error with this code? Pin
Iain Clarke, Warrior Programmer28-Jan-08 22:36
Iain Clarke, Warrior Programmer28-Jan-08 22:36 
JokeRe: could anyone tell me what's the error with this code? Pin
CPallini28-Jan-08 23:03
mveCPallini28-Jan-08 23:03 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny28-Jan-08 23:54
ashwiny28-Jan-08 23:54 
GeneralRe: could anyone tell me what's the error with this code? Pin
CPallini29-Jan-08 0:18
mveCPallini29-Jan-08 0:18 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 0:49
ashwiny29-Jan-08 0:49 
QuestionRe: could anyone tell me what's the error with this code? Pin
CPallini29-Jan-08 0:56
mveCPallini29-Jan-08 0:56 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 1:27
ashwiny29-Jan-08 1:27 
AnswerRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 3:01
David Crow29-Jan-08 3:01 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 3:08
ashwiny29-Jan-08 3:08 
QuestionRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 3:10
David Crow29-Jan-08 3:10 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 3:35
ashwiny29-Jan-08 3:35 
QuestionRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 3:42
David Crow29-Jan-08 3:42 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 4:06
ashwiny29-Jan-08 4:06 
QuestionRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 4:12
David Crow29-Jan-08 4:12 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 5:04
ashwiny29-Jan-08 5:04 
GeneralRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 5:11
David Crow29-Jan-08 5:11 
AnswerRe: could anyone tell me what's the error with this code? Pin
Mr. Surprise29-Jan-08 8:14
Mr. Surprise29-Jan-08 8:14 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 15:40
ashwiny29-Jan-08 15:40 
GeneralCtreeView with Gradient BackGround Pin
sarat28-Jan-08 19:25
sarat28-Jan-08 19:25 
GeneralRe: CtreeView with Gradient BackGround Pin
sarat28-Jan-08 19:37
sarat28-Jan-08 19:37 
GeneralQuestion again about changing Icon for the EXE file icon Pin
Stan the man28-Jan-08 17:37
Stan the man28-Jan-08 17:37 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Steve Echols28-Jan-08 18:25
Steve Echols28-Jan-08 18:25 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas28-Jan-08 19:15
Nibu babu thomas28-Jan-08 19:15 
Stan the man wrote:
I found out that the FIRST ICON that is listed in the resources VC use this as its icon. My problem is that I can conditional compile and want to be able to change this icon just by setting a define etc.


If you are using VC resource editor, then right click on the Icon, select properties and enter the macro name in the condition edit box. So whenever this macro is used then that particular icon will be included else it won't be.

From VC Help:
Condition
Determines the inclusion of the resource. For example, if the condition is _DEBUG, this resource would be included only in debug builds.


Nibu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

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.