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

C / C++ / MFC

 
AnswerRe: Const VS Defines Pin
den2k8818-Feb-15 22:52
professionalden2k8818-Feb-15 22:52 
QuestionAdd Record in MySQL Pin
Django_Untaken16-Feb-15 3:22
Django_Untaken16-Feb-15 3:22 
AnswerRe: Add Record in MySQL Pin
Richard Andrew x6416-Feb-15 5:25
professionalRichard Andrew x6416-Feb-15 5:25 
AnswerRe: Add Record in MySQL Pin
Jochen Arndt16-Feb-15 6:02
professionalJochen Arndt16-Feb-15 6:02 
Question'RegisterClass' - MS Documentation Error? Pin
Bram van Kampen15-Feb-15 14:39
Bram van Kampen15-Feb-15 14:39 
AnswerRe: 'RegisterClass' - MS Documentation Error? Pin
Richard Andrew x6415-Feb-15 16:28
professionalRichard Andrew x6415-Feb-15 16:28 
GeneralRe: 'RegisterClass' - MS Documentation Error? Pin
Bram van Kampen15-Feb-15 18:17
Bram van Kampen15-Feb-15 18:17 
AnswerRe: 'RegisterClass' - MS Documentation Error? Pin
Daniel Pfeffer15-Feb-15 20:32
professionalDaniel Pfeffer15-Feb-15 20:32 
lpszClassName
Type: LPCTSTR
    
A pointer to a null-terminated string or is an atom. If this parameter is an atom, it must be a class atom created by a previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpszClassName; the high-order word must be zero. 
    
If lpszClassName is a string, it specifies the window class name. The class name can be any name registered with RegisterClass or RegisterClassEx, or any of the predefined control-class names. 
    
The maximum length for lpszClassName is 256. If lpszClassName is greater than the maximum length, the RegisterClassEx function will fail.

As I read this, the lpszClassName member must be either an atom or a string. Only if it is an atom must the atom be one created by a previous call to the RegisterClass() or RegisterClassEx() APIs.

In my experience, most programmers use a string for this member.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.

--Winston Churchill

AnswerRe: 'RegisterClass' - MS Documentation Error? Pin
Richard MacCutchan15-Feb-15 21:54
mveRichard MacCutchan15-Feb-15 21:54 
GeneralRe: 'RegisterClass' - MS Documentation Error? Pin
Bram van Kampen15-Feb-15 22:51
Bram van Kampen15-Feb-15 22:51 
GeneralRe: 'RegisterClass' - MS Documentation Error? Pin
Richard MacCutchan15-Feb-15 23:02
mveRichard MacCutchan15-Feb-15 23:02 
QuestionChange EditBox Font in MFC Pin
Janani9314-Feb-15 5:50
Janani9314-Feb-15 5:50 
AnswerRe: Change EditBox Font in MFC Pin
Richard MacCutchan14-Feb-15 21:23
mveRichard MacCutchan14-Feb-15 21:23 
GeneralRe: Change EditBox Font in MFC Pin
Janani9315-Feb-15 2:43
Janani9315-Feb-15 2:43 
GeneralRe: Change EditBox Font in MFC Pin
Richard MacCutchan15-Feb-15 2:51
mveRichard MacCutchan15-Feb-15 2:51 
GeneralRe: Change EditBox Font in MFC Pin
Bram van Kampen15-Feb-15 15:04
Bram van Kampen15-Feb-15 15:04 
Questionsteganography source code in c Pin
Member 1144386110-Feb-15 23:04
Member 1144386110-Feb-15 23:04 
SuggestionRe: steganography source code in c Pin
Jochen Arndt10-Feb-15 23:17
professionalJochen Arndt10-Feb-15 23:17 
AnswerRe: steganography source code in c Pin
Chris Losinger11-Feb-15 5:07
professionalChris Losinger11-Feb-15 5:07 
AnswerRe: steganography source code in c Pin
CPallini11-Feb-15 10:23
mveCPallini11-Feb-15 10:23 
QuestionTool for automation Pin
Member 162132310-Feb-15 19:48
Member 162132310-Feb-15 19:48 
AnswerRe: Tool for automation Pin
Richard MacCutchan10-Feb-15 21:38
mveRichard MacCutchan10-Feb-15 21:38 
AnswerRe: Tool for automation Pin
Albert Holguin16-Feb-15 2:54
professionalAlbert Holguin16-Feb-15 2:54 
QuestionControls are flickering in MFC CView(MDI) Pin
D.Manivelan9-Feb-15 19:13
D.Manivelan9-Feb-15 19:13 
AnswerRe: Controls are flickering in MFC CView(MDI) Pin
Freak3010-Feb-15 1:09
Freak3010-Feb-15 1:09 

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.