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

C / C++ / MFC

 
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 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
David Fedolfi22-Feb-02 10:54
David Fedolfi22-Feb-02 10:54 
kuphryn wrote:
is it perferrable to use CString over C++ STL (string, vector, list, etc.)

That depends on the rest of the application. If the only part of MFC you're using is going to be CString, then its a lot of extra ovehead to carry.

kuphryn wrote:
Is it possible to have view draw character from a string object instead of a CString object?

Yes

kuphryn wrote:
Does the STL container have to transfer data to a CString object first?

No, just the oppsoite. If you're using the stl implementation that ships with VC then there is an overloaded << operator that converts the string to a LPCSTR. If you're like me and using a different STL implementation, then you'll need to write your own or manually cast the CString to a LPCSTR

kuphryn wrote:
is it a necessity to change from '0' to NULL, bool to BOOL, true to TRUE

from 0 to NULL - no, but bool and BOOL are different data types. They both mena the same, but a BOOL is just a typedef for an unsigned char (I think)

The opinions expressed in this post are the sole property of the writer and therefore are not guaranteed to contain any accurate statements, nor are they guaranteed to be worth the time you spent reading it.
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 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 20:00
sitebuilderNish Nishant22-Feb-02 20:00 

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.