Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateThread Function question Pin
monsieur_jj1-Sep-08 14:17
monsieur_jj1-Sep-08 14:17 
QuestionHtmlHelp v x64 Pin
Chris Losinger28-Aug-08 14:12
professionalChris Losinger28-Aug-08 14:12 
Questionproblem with RegEnumValue to read the values in the registry.. Pin
hariakuthota28-Aug-08 12:23
hariakuthota28-Aug-08 12:23 
QuestionRe: problem with RegEnumValue to read the values in the registry.. Pin
David Crow28-Aug-08 15:36
David Crow28-Aug-08 15:36 
AnswerRe: problem with RegEnumValue to read the values in the registry.. Pin
Jijo.Raj28-Aug-08 18:24
Jijo.Raj28-Aug-08 18:24 
AnswerRe: problem with RegEnumValue to read the values in the registry.. Pin
krmed29-Aug-08 0:48
krmed29-Aug-08 0:48 
QuestionHow to have use different version resources for different configurations Pin
Wheatbread28-Aug-08 6:06
Wheatbread28-Aug-08 6:06 
AnswerRe: How to have use different version resources for different configurations Pin
enhzflep28-Aug-08 7:29
enhzflep28-Aug-08 7:29 
Just put an #ifdef #endif block in your resource file.

e.g

----- Resource.h ---------
#ifndef resource_h
 #define resource_h

 #define use_manifest  

#endif


----- Resource.rc --------
#include <windows.h>
#include "resource.h"
#ifdef use_manifest
 // Manifest resources
 //
 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 1                  RT_MANIFEST    ".\\manifest.xml"
#endif 


This code would require that InitCommonControls was called somewhere and that the appropriate library was linked. You could use the use_manifest #define to conditionally include <commctrl.h> & call InitCommonControls.

modified on Thursday, August 28, 2008 1:38 PM

AnswerRe: How to have use different version resources for different configurations Pin
Michael Dunn29-Aug-08 13:12
sitebuilderMichael Dunn29-Aug-08 13:12 
Questionactivex - internet exploret has blocked my site because of an unsafe manner Pin
simon alec smith28-Aug-08 5:13
simon alec smith28-Aug-08 5:13 
Questionhow to override start button? Pin
dj440028-Aug-08 3:51
dj440028-Aug-08 3:51 
AnswerRe: how to override start button? Pin
Perspx28-Aug-08 4:01
Perspx28-Aug-08 4:01 
AnswerRe: how to override start button? Pin
sashoalm28-Aug-08 5:19
sashoalm28-Aug-08 5:19 
GeneralRe: how to override start button? Pin
dj44003-Sep-08 22:33
dj44003-Sep-08 22:33 
GeneralRe: how to override start button? Pin
sashoalm5-Sep-08 1:06
sashoalm5-Sep-08 1:06 
QuestionRead and write binary Pin
The ANZAC28-Aug-08 3:14
The ANZAC28-Aug-08 3:14 
AnswerRe: Read and write binary Pin
David Crow28-Aug-08 3:25
David Crow28-Aug-08 3:25 
GeneralRe: Read and write binary Pin
The ANZAC28-Aug-08 3:50
The ANZAC28-Aug-08 3:50 
GeneralRe: Read and write binary Pin
sashoalm28-Aug-08 3:56
sashoalm28-Aug-08 3:56 
GeneralRe: Read and write binary Pin
David Crow28-Aug-08 3:57
David Crow28-Aug-08 3:57 
GeneralRe: Read and write binary Pin
enhzflep28-Aug-08 4:24
enhzflep28-Aug-08 4:24 
GeneralRe: Read and write binary Pin
The ANZAC28-Aug-08 4:30
The ANZAC28-Aug-08 4:30 
QuestionMouse Right Click Pin
MsmVc28-Aug-08 2:28
MsmVc28-Aug-08 2:28 
AnswerRe: Mouse Right Click Pin
sudhir_Kumar28-Aug-08 2:50
sudhir_Kumar28-Aug-08 2:50 
GeneralRe: Mouse Right Click Pin
MsmVc28-Aug-08 2:56
MsmVc28-Aug-08 2:56 

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.