Click here to Skip to main content
15,312,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 1:37
Membercharlieg29-Dec-21 1:37 
AnswerRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 16:49
Membercharlieg29-Dec-21 16:49 
QuestionLink error referencing Windows Desk Top Manager Pin
ForNow28-Dec-21 1:35
MemberForNow28-Dec-21 1:35 
GeneralRe: Link error referencing Windows Desk Top Manager Pin
Richard MacCutchan28-Dec-21 2:03
mveRichard MacCutchan28-Dec-21 2:03 
GeneralRe: Link error referencing Windows Desk Top Manager stupid me Pin
ForNow28-Dec-21 2:45
MemberForNow28-Dec-21 2:45 
GeneralRe: Link error referencing Windows Desk Top Manager stupid me Pin
Richard MacCutchan28-Dec-21 3:38
mveRichard MacCutchan28-Dec-21 3:38 
QuestionDrawing a Caption using CDC Class Pin
ForNow24-Dec-21 3:32
MemberForNow24-Dec-21 3:32 
AnswerRe: Drawing a Caption using CDC Class Pin
Graham Breach24-Dec-21 7:08
MemberGraham Breach24-Dec-21 7:08 
It sounds like you are trying to write in the title bar of the window - is that right? The easy way is to call SetWindowText() on the dialog box HWND (or do whatever the MFC equivalent is) and let the default dialog proc handle drawing your text.

Otherwise you would have to draw in the non-client area, which has its own WM_NCPAINT message to handle.
GeneralRe: Drawing a Caption using CDC Class Pin
ForNow24-Dec-21 7:35
MemberForNow24-Dec-21 7:35 
QuestionWriteFile return access denied? Pin
Le@rner20-Dec-21 21:32
MemberLe@rner20-Dec-21 21:32 
AnswerRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 21:51
mveRichard MacCutchan20-Dec-21 21:51 
GeneralRe: WriteFile return access denied? Pin
Le@rner20-Dec-21 23:33
MemberLe@rner20-Dec-21 23:33 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 23:50
mveRichard MacCutchan20-Dec-21 23:50 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 23:55
mveRichard MacCutchan20-Dec-21 23:55 
GeneralRe: WriteFile return access denied? Pin
Le@rner21-Dec-21 1:11
MemberLe@rner21-Dec-21 1:11 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan21-Dec-21 2:30
mveRichard MacCutchan21-Dec-21 2:30 
AnswerRe: WriteFile return access denied? Pin
jschell23-Dec-21 5:40
Memberjschell23-Dec-21 5:40 
QuestionVS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 4:43
Membercharlieg20-Dec-21 4:43 
AnswerRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 4:54
Membercharlieg20-Dec-21 4:54 
GeneralRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
Randor 20-Dec-21 9:54
professional Randor 20-Dec-21 9:54 
GeneralRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 10:12
Membercharlieg20-Dec-21 10:12 
QuestionBest IDE for golang Pin
Gonzalo Cotanda Gisbert13-Dec-21 11:20
MemberGonzalo Cotanda Gisbert13-Dec-21 11:20 
AnswerRe: Best IDE for golang Pin
Richard MacCutchan13-Dec-21 21:56
mveRichard MacCutchan13-Dec-21 21:56 
QuestionDebugging Pin
CalinNegru13-Dec-21 1:12
MemberCalinNegru13-Dec-21 1:12 
AnswerRe: Debugging Pin
Richard MacCutchan13-Dec-21 2:03
mveRichard MacCutchan13-Dec-21 2:03 

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.