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

C / C++ / MFC

 
QuestionRe: How to change typematic rate in keyboard? Pin
David Crow29-Apr-08 10:22
David Crow29-Apr-08 10:22 
AnswerRe: How to change typematic rate in keyboard? [modified] Pin
ninjanear20-May-08 23:07
professionalninjanear20-May-08 23:07 
QuestionHow do I customize the standard property sheet buttons Pin
si_6929-Apr-08 7:52
si_6929-Apr-08 7:52 
AnswerRe: How do I customize the standard property sheet buttons Pin
David Crow29-Apr-08 8:12
David Crow29-Apr-08 8:12 
AnswerRe: How do I customize the standard property sheet buttons Pin
Hamid_RT29-Apr-08 21:52
Hamid_RT29-Apr-08 21:52 
GeneralDynamically Creating Objects Pin
codeinelogic29-Apr-08 6:09
codeinelogic29-Apr-08 6:09 
QuestionRe: Dynamically Creating Objects Pin
David Crow29-Apr-08 7:29
David Crow29-Apr-08 7:29 
QuestionMFC dosen't care about code quality? Pin
Naveen29-Apr-08 4:16
Naveen29-Apr-08 4:16 
I have read in a book that, the worst thing you can do for "optimizing the storage of constant data" is declaring a variable like..

CString g_str("this is the worst thing I can do");

Why I said this here because, recently I installed Visual studio 2008 feature pack and today while debuggig, I happened to step into the base class( CWinAppEx ) of my app class. There I found the below code..

CString strRegEntryNameWorkspace = _T("Workspace");
m_strRegSection = strRegEntryNameWorkspace;


With a little surprise, I scrolled the file, and in the top, there was another bunch of such declartions..

static const CString strRegEntryNameControlBars = _T("\\ControlBars");
static const CString strWindowPlacementRegSection = _T("WindowPlacement");
static const CString strRectMainKey = _T("MainWindowRect");
static const CString strFlagsKey = _T("Flags");
static const CString strShowCmdKey = _T("ShowCmd");
static const CString strRegEntryNameSizingBars = _T("\\SizingBars");
static const CString strRegEntryVersion = _T("ControlBarVersion");
static const CString strVersionMajorKey = _T("Major");
static const CString strVersionMinorKey = _T("Minor");


So pathetic Frown | :(


modified on Tuesday, April 29, 2008 10:26 AM

AnswerRe: MFC dosen't care about code quality? Pin
David Crow29-Apr-08 4:32
David Crow29-Apr-08 4:32 
GeneralRe: MFC dosen't care about code quality? Pin
Naveen29-Apr-08 4:44
Naveen29-Apr-08 4:44 
AnswerRe: MFC dosen't care about code quality? Pin
toxcct29-Apr-08 5:08
toxcct29-Apr-08 5:08 
GeneralRe: MFC dosen't care about code quality? Pin
Naveen29-Apr-08 5:23
Naveen29-Apr-08 5:23 
GeneralRe: MFC dosen't care about code quality? Pin
toxcct29-Apr-08 5:30
toxcct29-Apr-08 5:30 
AnswerRe: MFC dosen't care about code quality? PinPopular
Randor 29-Apr-08 5:51
professional Randor 29-Apr-08 5:51 
GeneralRe: MFC dosen't care about code quality? Pin
BadKarma29-Apr-08 21:16
BadKarma29-Apr-08 21:16 
QuestionRe: MFC dosen't care about code quality? Pin
bob1697229-Apr-08 21:47
bob1697229-Apr-08 21:47 
QuestionImplementation of gmtime( ) in Windows mobile Pin
Mohanraj D29-Apr-08 2:17
Mohanraj D29-Apr-08 2:17 
QuestionRe: Implementation of gmtime( ) in Windows mobile Pin
David Crow29-Apr-08 3:06
David Crow29-Apr-08 3:06 
QuestionVC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:02
lgatcodeproject29-Apr-08 0:02 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:14
mveCPallini29-Apr-08 0:14 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:29
lgatcodeproject29-Apr-08 0:29 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:38
mveCPallini29-Apr-08 0:38 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:50
lgatcodeproject29-Apr-08 0:50 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 1:02
mveCPallini29-Apr-08 1:02 
QuestionWhich type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 22:55
zengkun10028-Apr-08 22:55 

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.