Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: What is the accepted naming convention of the controls? Pin
Member 168320-Apr-00 9:32
Member 168320-Apr-00 9:32 
Typically I use a modified form of Hungarian Notation.

As an example a if I have a dialog with a button
resource ID of IDC_APPLY and a label of Apply, I would have a tendency to call the variable m_wndApplyButton

the "m_" means it is a member of the class (a dialog class in this case).

"wnd" most controls are actually windows of one sort or another

"Apply" which is its function

and finally "Button" because it is.

Note: The specifics of a Naming Convention are really unimportant. What is important is that there is ONLY ONE Convention, that it is well documented, it is supported by all users and it must be consistently applied to all projects.
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 
GeneralIWebBrowser2 Pin
C. Shawn Bowlin17-Apr-00 5:11
sussC. Shawn Bowlin17-Apr-00 5:11 

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.