Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Crect pass to CWnd, possible? Pin
loid grey manuel8-Sep-10 19:10
loid grey manuel8-Sep-10 19:10 
GeneralRe: Crect pass to CWnd, possible? Pin
Cool_Dev8-Sep-10 19:47
Cool_Dev8-Sep-10 19:47 
GeneralRe: Crect pass to CWnd, possible? Pin
loid grey manuel8-Sep-10 20:45
loid grey manuel8-Sep-10 20:45 
GeneralRe: Crect pass to CWnd, possible? Pin
Cool_Dev8-Sep-10 20:50
Cool_Dev8-Sep-10 20:50 
GeneralRe: Crect pass to CWnd, possible? [RESOLVED] Pin
loid grey manuel8-Sep-10 21:23
loid grey manuel8-Sep-10 21:23 
GeneralRe: Crect pass to CWnd, possible? Pin
Cool_Dev8-Sep-10 21:56
Cool_Dev8-Sep-10 21:56 
GeneralRe: Crect pass to CWnd, possible? Pin
loid grey manuel13-Sep-10 18:00
loid grey manuel13-Sep-10 18:00 
Questionfstream object as either unicode or non-unicode Pin
Danzy838-Sep-10 14:02
Danzy838-Sep-10 14:02 
Hi everyone. I have declared an fstream object that I would want it to either support unicode characters or not. I am using a preprocessor to do this as shown in the code below. Please I am not an advanced programmer in C++, that's why I am consulting experts here to know if it is right.


#if defined (_UNICODE) || defined (UNICODE)
#define fstream   basic_fstream<wchar_t,char_traits<wchar_t>>
#else
#define fstream   basic_fstream<char, char_traits<char>>
#endif 



I have limited knowledge in this C++ template. If it is not right, how should I write it. Thanks in advance.
AnswerRe: fstream object as either unicode or non-unicode Pin
Richard Andrew x648-Sep-10 15:36
professionalRichard Andrew x648-Sep-10 15:36 
GeneralRe: fstream object as either unicode or non-unicode Pin
CPallini8-Sep-10 21:03
mveCPallini8-Sep-10 21:03 
AnswerRe: fstream object as either unicode or non-unicode Pin
Aescleal8-Sep-10 21:35
Aescleal8-Sep-10 21:35 
GeneralRe: fstream object as either unicode or non-unicode Pin
Danzy838-Sep-10 22:07
Danzy838-Sep-10 22:07 
GeneralRe: fstream object as either unicode or non-unicode Pin
Aescleal8-Sep-10 23:12
Aescleal8-Sep-10 23:12 
GeneralRe: fstream object as either unicode or non-unicode Pin
Niklas L9-Sep-10 1:24
Niklas L9-Sep-10 1:24 
QuestionMoving a dialog box that you do not create [Solved] Pin
pjdriverdude8-Sep-10 8:35
pjdriverdude8-Sep-10 8:35 
AnswerRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 8:56
Code-o-mat8-Sep-10 8:56 
GeneralRe: Moving a dialog box that you do not create Pin
pjdriverdude8-Sep-10 9:04
pjdriverdude8-Sep-10 9:04 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:10
Code-o-mat8-Sep-10 9:10 
GeneralRe: Moving a dialog box that you do not create Pin
pjdriverdude8-Sep-10 9:28
pjdriverdude8-Sep-10 9:28 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:32
Code-o-mat8-Sep-10 9:32 
AnswerRe: Moving a dialog box that you do not create [modified] Pin
Luc Pattyn8-Sep-10 9:05
sitebuilderLuc Pattyn8-Sep-10 9:05 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:12
Code-o-mat8-Sep-10 9:12 
GeneralRe: Moving a dialog box that you do not create Pin
Luc Pattyn8-Sep-10 9:15
sitebuilderLuc Pattyn8-Sep-10 9:15 
QuestionMessage Removed Pin
8-Sep-10 4:32
professionalN_tro_P8-Sep-10 4:32 
AnswerRe: Simple 8bpp Image modifying Pin
CPallini8-Sep-10 5:18
mveCPallini8-Sep-10 5:18 

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.