Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAnother MFC Doc/View Question Pin
Aaron Schaefer22-Feb-02 11:22
Aaron Schaefer22-Feb-02 11:22 
GeneralRe: Another MFC Doc/View Question Pin
Michael Dunn22-Feb-02 13:11
sitebuilderMichael Dunn22-Feb-02 13:11 
GeneralMoving objects in GDI+ Pin
Mazdak22-Feb-02 10:57
Mazdak22-Feb-02 10:57 
GeneralRe: Moving objects in GDI+ Pin
Nish Nishant22-Feb-02 11:10
sitebuilderNish Nishant22-Feb-02 11:10 
GeneralRe: Moving objects in GDI+ Pin
Mazdak22-Feb-02 11:42
Mazdak22-Feb-02 11:42 
GeneralRe: Moving objects in GDI+ Pin
Mazdak22-Feb-02 11:55
Mazdak22-Feb-02 11:55 
GeneralRe: Moving objects in GDI+ Pin
Christian Graus22-Feb-02 21:35
protectorChristian Graus22-Feb-02 21:35 
GeneralMFC:: CString & Serialize ::C++ Pin
valikac22-Feb-02 10:33
valikac22-Feb-02 10:33 
Hello.

I am very familiar with C++ STL including the containers string and stringstream. When I learned of CString and other MFC data structure and mutator when I began learning MFC from Prosise's book (chapter 6).

I am learning MFC so that I can design and implement Windows 32bit programming using C++. Ultimate, as far as textchar data is concerned, is it perferrable to use CString over C++ STL (string, vector, list, etc.)? Is it possible to have view draw character from a string object instead of a CString object?

Lastly, does the default implementation for serialize work for C++ STL (string, vecto, list, etc.)? Does the STL container have to transfer data to a CString object first?

One last issue involving NULL. Microsoft seems to like using NULL over '0', which Deitel & Deitel recommend (I highly recommend their C++ How to Program). I do not use NULL term at all in my programs. I use '0'. When using core C++ program I have been working on into MFC, is it a necessity to change from '0' to NULL, bool to BOOL, true to TRUE, etc. for *all* code (even non MFC)?

Thanks,
Kuphryn
GeneralRe: MFC:: CString & Serialize ::C++ Pin
David Fedolfi22-Feb-02 10:54
David Fedolfi22-Feb-02 10:54 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
Michael Dunn22-Feb-02 13:16
sitebuilderMichael Dunn22-Feb-02 13:16 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
valikac22-Feb-02 16:50
valikac22-Feb-02 16:50 
GeneralDrawing Tools Pin
Flatline22-Feb-02 10:12
Flatline22-Feb-02 10:12 
GeneralRe: Drawing Tools Pin
Mazdak22-Feb-02 10:17
Mazdak22-Feb-02 10:17 
GeneralRe: Drawing Tools Pin
Christian Graus22-Feb-02 21:40
protectorChristian Graus22-Feb-02 21:40 
GeneralRe: Drawing Tools Pin
Flatline25-Feb-02 20:32
Flatline25-Feb-02 20:32 
GeneralRe: Drawing Tools Pin
Christian Graus26-Feb-02 10:49
protectorChristian Graus26-Feb-02 10:49 
GeneralRe: Drawing Tools Pin
Flatline1-Mar-02 9:37
Flatline1-Mar-02 9:37 
GeneralATL based spash screen Pin
koteswara22-Feb-02 9:45
koteswara22-Feb-02 9:45 
GeneralRe: ATL based spash screen Pin
Paul M Watt22-Feb-02 18:15
mentorPaul M Watt22-Feb-02 18:15 
QuestionHow do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 9:42
John Cruz22-Feb-02 9:42 
AnswerRe: How do u use AfxGetMainWnd & GetDC Pin
Tim Smith22-Feb-02 9:46
Tim Smith22-Feb-02 9:46 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:02
John Cruz22-Feb-02 10:02 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:07
John Cruz22-Feb-02 10:07 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 10:04
sitebuilderNish Nishant22-Feb-02 10:04 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 18:20
John Cruz22-Feb-02 18:20 

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.