Click here to Skip to main content
15,905,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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

GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT1-Feb-08 20:20
Hamid_RT1-Feb-08 20:20 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas1-Feb-08 22:24
Nibu babu thomas1-Feb-08 22:24 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT2-Feb-08 2:10
Hamid_RT2-Feb-08 2:10 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas2-Feb-08 2:15
Nibu babu thomas2-Feb-08 2:15 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT2-Feb-08 2:44
Hamid_RT2-Feb-08 2:44 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas4-Feb-08 16:19
Nibu babu thomas4-Feb-08 16:19 
QuestionRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT28-Jan-08 19:20
Hamid_RT28-Jan-08 19:20 
GeneralCStatusBar problem Pin
hanlei000000000928-Jan-08 17:30
hanlei000000000928-Jan-08 17:30 
GeneralRe: CStatusBar problem Pin
Hamid_RT28-Jan-08 19:24
Hamid_RT28-Jan-08 19:24 
GeneralChoose between cURL and WinInet Pin
Sudhir Mangla28-Jan-08 17:27
professionalSudhir Mangla28-Jan-08 17:27 
GeneralRe: Choose between cURL and WinInet Pin
Hamid_RT28-Jan-08 19:32
Hamid_RT28-Jan-08 19:32 
GeneralRe: Choose between cURL and WinInet Pin
David Crow29-Jan-08 2:58
David Crow29-Jan-08 2:58 
GeneralRe: Choose between cURL and WinInet Pin
Sudhir Mangla29-Jan-08 4:23
professionalSudhir Mangla29-Jan-08 4:23 
Generalinteresting question about new and nothrow new Pin
George_George28-Jan-08 16:39
George_George28-Jan-08 16:39 
GeneralRe: interesting question about new and nothrow new Pin
Maxwell Chen28-Jan-08 16:51
Maxwell Chen28-Jan-08 16:51 
GeneralRe: interesting question about new and nothrow new Pin
George_George28-Jan-08 19:21
George_George28-Jan-08 19:21 
GeneralRe: interesting question about new and nothrow new Pin
David Crow29-Jan-08 2:50
David Crow29-Jan-08 2:50 

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.