Click here to Skip to main content
15,895,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTemplated Constructor Pin
Leslie Sanford17-Sep-09 7:31
Leslie Sanford17-Sep-09 7:31 
AnswerRe: Templated Constructor Pin
Code-o-mat17-Sep-09 7:59
Code-o-mat17-Sep-09 7:59 
GeneralRe: Templated Constructor Pin
Leslie Sanford17-Sep-09 8:04
Leslie Sanford17-Sep-09 8:04 
GeneralRe: Templated Constructor Pin
Code-o-mat17-Sep-09 8:08
Code-o-mat17-Sep-09 8:08 
AnswerRe: Templated Constructor Pin
CPallini17-Sep-09 8:09
mveCPallini17-Sep-09 8:09 
QuestionObjects in Array loops, need help Pin
Sivyo17-Sep-09 3:55
Sivyo17-Sep-09 3:55 
AnswerRe: Objects in Array loops, need help Pin
David Crow17-Sep-09 4:16
David Crow17-Sep-09 4:16 
GeneralRe: Objects in Array loops, need help Pin
Sivyo17-Sep-09 4:42
Sivyo17-Sep-09 4:42 
AnswerRe: Objects in Array loops, need help Pin
Nuri Ismail17-Sep-09 4:18
Nuri Ismail17-Sep-09 4:18 
AnswerRe: Objects in Array loops, need help Pin
Cedric Moonen17-Sep-09 4:19
Cedric Moonen17-Sep-09 4:19 
AnswerRe: Objects in Array loops, need help Pin
CPallini17-Sep-09 4:44
mveCPallini17-Sep-09 4:44 
Questionlibrary files not getting created in debug mode(VC++) Pin
Vetukuri Raju17-Sep-09 3:25
Vetukuri Raju17-Sep-09 3:25 
GeneralRe: library files not getting created in debug mode(VC++) Pin
David Crow17-Sep-09 3:45
David Crow17-Sep-09 3:45 
GeneralRe: library files not getting created in debug mode(VC++) Pin
Vetukuri Raju17-Sep-09 4:31
Vetukuri Raju17-Sep-09 4:31 
GeneralRe: library files not getting created in debug mode(VC++) Pin
David Crow17-Sep-09 4:34
David Crow17-Sep-09 4:34 
GeneralRe: library files not getting created in debug mode(VC++) Pin
Vetukuri Raju17-Sep-09 4:38
Vetukuri Raju17-Sep-09 4:38 
QuestionFile access in C++ Pin
Durga_Devi17-Sep-09 3:19
Durga_Devi17-Sep-09 3:19 
AnswerRe: File access in C++ Pin
Romualdas Cukuras17-Sep-09 3:24
Romualdas Cukuras17-Sep-09 3:24 
AnswerRe: File access in C++ Pin
Richard MacCutchan17-Sep-09 9:42
mveRichard MacCutchan17-Sep-09 9:42 
GeneralRe: File access in C++ Pin
Durga_Devi17-Sep-09 18:21
Durga_Devi17-Sep-09 18:21 
GeneralRe: File access in C++ Pin
Richard MacCutchan17-Sep-09 22:31
mveRichard MacCutchan17-Sep-09 22:31 
QuestionHow to get the default value of the registry? Pin
deadlyabbas17-Sep-09 1:10
deadlyabbas17-Sep-09 1:10 
AnswerRe: How to get the default value of the registry? Pin
David Crow17-Sep-09 2:07
David Crow17-Sep-09 2:07 
QuestionCannot see windows XP styles on MFC controls Pin
itsmerajesh17-Sep-09 0:57
itsmerajesh17-Sep-09 0:57 
AnswerRe: Cannot see windows XP styles on MFC controls Pin
Naveen17-Sep-09 1:08
Naveen17-Sep-09 1:08 
itsmerajesh wrote:
In project settings if I use "Use Unicode Character Set" option, I cannot see winXP styles on any of the controls on the dialog,
and If I use "Use Multi-Byte Character Set" option, I can see the winXP styles.

Why this is happening? can't I use "Use Multi-Byte Character Set" option without losing WinXP styles to the control.


1. The two paragraphs are contradictory. The second one is correct. isnt it?

This is because common control version 6 supports only unicode and a dependency to comctrl version 6 is only inculded if the unicode is enabled. Check the stdafx.h you can see the following lines
#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif



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.