Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGet Bitmap* CBitmap* of current view Pin
Anuj Sharma7-Jun-09 22:35
Anuj Sharma7-Jun-09 22:35 
AnswerRe: Get Bitmap* CBitmap* of current view Pin
CPallini7-Jun-09 23:24
mveCPallini7-Jun-09 23:24 
GeneralRe: Get Bitmap* CBitmap* of current view Pin
Anuj Sharma8-Jun-09 0:33
Anuj Sharma8-Jun-09 0:33 
GeneralRe: Get Bitmap* CBitmap* of current view Pin
CPallini8-Jun-09 0:34
mveCPallini8-Jun-09 0:34 
QuestionHow to open a document using cpp Pin
Yossi Malka7-Jun-09 22:29
Yossi Malka7-Jun-09 22:29 
AnswerRe: How to open a document using cpp Pin
Cedric Moonen7-Jun-09 22:32
Cedric Moonen7-Jun-09 22:32 
GeneralRe: How to open a document using cpp Pin
Yossi Malka7-Jun-09 23:43
Yossi Malka7-Jun-09 23:43 
QuestionConfused in choosing a declaration over other Pin
ComplexLifeForm7-Jun-09 22:19
ComplexLifeForm7-Jun-09 22:19 
Hi,

I am confused regarding choosing one declaration from a set of two. I could not decided which one should be preferred over other and why it should be preferred. Please see the declarations below and let me know out of (I) and (II) which declaration is more preferred and why.

(I)
#if defined (UNICODE) && defined (_UNICODE)
typedef std::wstring _tstring;
#else
typedef std::string _tstring;
#endif

(II)
#if defined (UNICODE) && defined (_UNICODE)
#define _tstring std::wstring
#else
typedef _tstring std::string;
#endif

Thanks and Regards
Smile | :) Smile | :)
AnswerRe: Confused in choosing a declaration over other Pin
CPallini7-Jun-09 23:19
mveCPallini7-Jun-09 23:19 
AnswerRe: Confused in choosing a declaration over other Pin
Stuart Dootson8-Jun-09 2:41
professionalStuart Dootson8-Jun-09 2:41 
QuestionDifference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
ptr_Electron7-Jun-09 20:49
ptr_Electron7-Jun-09 20:49 
AnswerRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
«_Superman_»7-Jun-09 20:56
professional«_Superman_»7-Jun-09 20:56 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
ptr_Electron7-Jun-09 23:21
ptr_Electron7-Jun-09 23:21 
AnswerRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
CPallini7-Jun-09 21:03
mveCPallini7-Jun-09 21:03 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
ptr_Electron7-Jun-09 22:56
ptr_Electron7-Jun-09 22:56 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
Chandrasekharan P8-Jun-09 0:00
Chandrasekharan P8-Jun-09 0:00 
QuestionMapViewofFile fails because memory not being continuous. Pin
krishnan.s7-Jun-09 20:38
krishnan.s7-Jun-09 20:38 
AnswerRe: MapViewofFile fails because memory not being continuous. Pin
«_Superman_»7-Jun-09 20:59
professional«_Superman_»7-Jun-09 20:59 
QuestionNetShareAdd with user permission Pin
Nyil7-Jun-09 20:13
Nyil7-Jun-09 20:13 
QuestionMaking GUI for Capicom Certificates Pin
UserNameless7-Jun-09 20:05
UserNameless7-Jun-09 20:05 
AnswerRe: Making GUI for Capicom Certificates Pin
Garth J Lancaster7-Jun-09 20:43
professionalGarth J Lancaster7-Jun-09 20:43 
GeneralRe: Making GUI for Capicom Certificates Pin
UserNameless7-Jun-09 20:49
UserNameless7-Jun-09 20:49 
QuestionMemory Alignment - 32 bit Pin
Richard Andrew x647-Jun-09 17:16
professionalRichard Andrew x647-Jun-09 17:16 
AnswerRe: Memory Alignment - 32 bit Pin
Joe Woodbury7-Jun-09 17:25
professionalJoe Woodbury7-Jun-09 17:25 
GeneralRe: Memory Alignment - 32 bit Pin
Richard Andrew x647-Jun-09 19:33
professionalRichard Andrew x647-Jun-09 19:33 

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.