Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Use TabCtrl ocx in VC? Pin
tiger20-Apr-00 13:59
tiger20-Apr-00 13:59 
QuestionCan I change text and background colors on dialogs? Pin
Mike20-Apr-00 9:40
Mike20-Apr-00 9:40 
GeneralVC++ Intelligent Editor Pin
Manjunath20-Apr-00 9:30
Manjunath20-Apr-00 9:30 
GeneralRe: VC++ Intelligent Editor Pin
Neville Franks20-Apr-00 14:59
Neville Franks20-Apr-00 14:59 
GeneralRe: VC++ Intelligent Editor Pin
Mike Dunn21-Apr-00 5:32
Mike Dunn21-Apr-00 5:32 
GeneralRe: VC++ Intelligent Editor Pin
wwwaaattt21-Apr-00 7:08
wwwaaattt21-Apr-00 7:08 
QuestionWhat is the accepted naming convention of the controls? Pin
Vintage19-Apr-00 16:49
Vintage19-Apr-00 16:49 
AnswerRe: What is the accepted naming convention of the controls? Pin
Mike Dunn19-Apr-00 19:13
Mike Dunn19-Apr-00 19:13 
The Hungarian prefixes are:
p = pointer, eg pu = pointer to a UINT
b = boolean (Microsoft uses f instead, meaning "flag". MS uses b for byte. If you use b for boolean, use by for byte.)

As for naming of controls, what I do is make the name short but descriptive. Eg, if I have a list control I might call it m_FilenameList or m_ItemList. I don't like using Hungarian for controls, but that's just my personal preference. m_listItems just seems awkward to me.

--Mike--
AnswerRe: What is the accepted naming convention of the controls? Pin
Member 168320-Apr-00 9:32
Member 168320-Apr-00 9:32 
AnswerRe: What is the accepted naming convention of the controls? Pin
Bill Heffner22-Apr-00 7:45
sussBill Heffner22-Apr-00 7:45 
AnswerRe: What is the accepted naming convention of the controls? Pin
J Cardinal27-Apr-00 11:46
sussJ Cardinal27-Apr-00 11:46 
GeneralADMIN: Forum usage Pin
Chris Maunder19-Apr-00 19:29
cofounderChris Maunder19-Apr-00 19:29 
GeneralException handling Pin
Member 432119-Apr-00 6:13
Member 432119-Apr-00 6:13 
QuestionHow do I to change CMDIChildWnd's client area? Pin
Member 453918-Apr-00 21:30
Member 453918-Apr-00 21:30 
AnswerRe: How do I to change CMDIChildWnd's client area? Pin
Cristi Posea19-Apr-00 0:46
Cristi Posea19-Apr-00 0:46 
GeneralImage Display Pin
arshadwkhan18-Apr-00 19:40
arshadwkhan18-Apr-00 19:40 
GeneralRe: Image Display Pin
Jeremy Davis20-Apr-00 3:03
Jeremy Davis20-Apr-00 3:03 
Generaltemplate function in DLL Pin
0x0000000018-Apr-00 6:26
0x0000000018-Apr-00 6:26 
GeneralRe: template function in DLL Pin
1111119-Apr-00 1:39
1111119-Apr-00 1:39 
Generalcompositing two HBITMAPs Pin
Michael S. Scherotter17-Apr-00 9:15
Michael S. Scherotter17-Apr-00 9:15 
GeneralRe: compositing two HBITMAPs Pin
Cristi Posea19-Apr-00 9:35
Cristi Posea19-Apr-00 9:35 
QuestionHow can I make the "__stdcall" function to be local? Pin
jame17-Apr-00 8:02
jame17-Apr-00 8:02 
AnswerRe: How can I make the Pin
Member 147418-Apr-00 13:38
Member 147418-Apr-00 13:38 
Generalundo operation Pin
Member 432117-Apr-00 5:35
Member 432117-Apr-00 5:35 
GeneralRe: undo operation Pin
Chris Maunder18-Apr-00 1:27
cofounderChris Maunder18-Apr-00 1:27 

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.