Click here to Skip to main content
15,796,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLatest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Maximilien18-Oct-21 5:43
Maximilien18-Oct-21 5:43 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Mircea Neacsu18-Oct-21 6:08
Mircea Neacsu18-Oct-21 6:08 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Victor Nijegorodov18-Oct-21 10:21
Victor Nijegorodov18-Oct-21 10:21 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) (FIXED) Pin
Maximilien21-Oct-21 7:11
Maximilien21-Oct-21 7:11 
QuestionDialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 6:52
ForNow17-Oct-21 6:52 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard Andrew x6417-Oct-21 15:50
professionalRichard Andrew x6417-Oct-21 15:50 
GeneralRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 16:31
ForNow17-Oct-21 16:31 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard MacCutchan17-Oct-21 23:02
mveRichard MacCutchan17-Oct-21 23:02 
I don't have MFC so I cannot test this control. However, it occurs to me that perhaps the RichEdit control reserves some edge space for its own purposes (possibly a scrollbar). Try calling GetWindowRect on the control and compare that with the dialog's client rect.

[edit]
I just checked the difference between the Window and Client sizes of a simple Edit control. The width was 25 pixels different, and the height 4. So I guess what you are seeing is correct.
[/edit]

modified 18-Oct-21 11:30am.

QuestionInserting a Bitmap into a RichEditctrl Pin
ForNow13-Oct-21 15:08
ForNow13-Oct-21 15:08 
SuggestionRe: Inserting a Bitmap into a RichEditctrl Pin
David Crow14-Oct-21 10:10
David Crow14-Oct-21 10:10 
GeneralRe: Inserting a Bitmap into a RichEditctrl Pin
ForNow14-Oct-21 10:49
ForNow14-Oct-21 10:49 
QuestionUnable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 14:15
ForNow7-Oct-21 14:15 
AnswerRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
Richard MacCutchan7-Oct-21 22:53
mveRichard MacCutchan7-Oct-21 22:53 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 22:58
ForNow7-Oct-21 22:58 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
Richard MacCutchan7-Oct-21 23:34
mveRichard MacCutchan7-Oct-21 23:34 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow8-Oct-21 0:12
ForNow8-Oct-21 0:12 
QuestionC language exercise - beginner Pin
Senhor League6-Oct-21 18:49
Senhor League6-Oct-21 18:49 
AnswerRe: C language exercise - beginner Pin
Victor Nijegorodov6-Oct-21 20:43
Victor Nijegorodov6-Oct-21 20:43 
AnswerRe: C language exercise - beginner Pin
CPallini6-Oct-21 23:46
mveCPallini6-Oct-21 23:46 
GeneralRe: C language exercise - beginner Pin
David Crow7-Oct-21 3:08
David Crow7-Oct-21 3:08 
AnswerRe: C language exercise - beginner Pin
jsc427-Oct-21 6:18
professionaljsc427-Oct-21 6:18 
GeneralRe: C language exercise - beginner Pin
Graham Breach7-Oct-21 12:30
Graham Breach7-Oct-21 12:30 
GeneralRe: C language exercise - beginner Pin
Bram van Kampen15-Oct-21 14:35
Bram van Kampen15-Oct-21 14:35 
GeneralRe: C language exercise - beginner Pin
Richard MacCutchan15-Oct-21 23:04
mveRichard MacCutchan15-Oct-21 23:04 
AnswerRe: C language exercise - beginner Pin
Bram van Kampen15-Oct-21 14:29
Bram van Kampen15-Oct-21 14:29 

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.