Click here to Skip to main content
15,883,810 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessage Closed Pin
19-Oct-21 7:36
Member 1496877119-Oct-21 7:36 
GeneralMessage Closed Pin
21-Oct-21 9:00
Member 1496877121-Oct-21 9:00 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Richard MacCutchan21-Oct-21 21:33
mveRichard MacCutchan21-Oct-21 21:33 
QuestionLatest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Maximilien18-Oct-21 4:43
Maximilien18-Oct-21 4:43 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Mircea Neacsu18-Oct-21 5:08
Mircea Neacsu18-Oct-21 5:08 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Victor Nijegorodov18-Oct-21 9:21
Victor Nijegorodov18-Oct-21 9:21 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) (FIXED) Pin
Maximilien21-Oct-21 6:11
Maximilien21-Oct-21 6:11 
QuestionDialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 5:52
ForNow17-Oct-21 5:52 
Hi
I have a richedit control as child control in my modeless dialog. I have populated editcontrol via streamin SF_TEXT with a program listing. I am looking to insert a bullet to specify a breakpoint.

After doing some research there were a number of articles about the richedit ole interface. With the bitmap being an ole client. I remember at one time getting this work (had different computer but still had windows 10)

regardless just looking back at those articles it seems the ole support would only work with RTF format text.

I am now thinking of going back to original API for bitmaps by that I mean BitBlt and or Strechbilt.


In my initdialog after creating the rich edit both object via new and creating a HWND via DDX_CONTROL I did a Clientrect on bot the modless dialog box and the richedit control it showed that right variable of the RECT structure for richedit window was 20 pixels less than the right viariable of the parent modeless dialog box. I think those 20 pixels would be enough for me to insert a bullet bmp

Yet when eyeballing the output, it seemed the text of the richedit was right up against the frame of the modeless dialog box

I think 20 pixels would be something I would notice

am I not understanding things correctly

thanks
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard Andrew x6417-Oct-21 14:50
professionalRichard Andrew x6417-Oct-21 14:50 
GeneralRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 15:31
ForNow17-Oct-21 15:31 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard MacCutchan17-Oct-21 22:02
mveRichard MacCutchan17-Oct-21 22:02 
QuestionInserting a Bitmap into a RichEditctrl Pin
ForNow13-Oct-21 14:08
ForNow13-Oct-21 14:08 
SuggestionRe: Inserting a Bitmap into a RichEditctrl Pin
David Crow14-Oct-21 9:10
David Crow14-Oct-21 9:10 
GeneralRe: Inserting a Bitmap into a RichEditctrl Pin
ForNow14-Oct-21 9:49
ForNow14-Oct-21 9:49 
QuestionUnable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 13:15
ForNow7-Oct-21 13:15 
AnswerRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
Richard MacCutchan7-Oct-21 21:53
mveRichard MacCutchan7-Oct-21 21:53 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 21:58
ForNow7-Oct-21 21:58 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
Richard MacCutchan7-Oct-21 22:34
mveRichard MacCutchan7-Oct-21 22:34 
GeneralRe: Unable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 23:12
ForNow7-Oct-21 23:12 
QuestionC language exercise - beginner Pin
Senhor League6-Oct-21 17:49
Senhor League6-Oct-21 17:49 
AnswerRe: C language exercise - beginner Pin
Victor Nijegorodov6-Oct-21 19:43
Victor Nijegorodov6-Oct-21 19:43 
AnswerRe: C language exercise - beginner Pin
CPallini6-Oct-21 22:46
mveCPallini6-Oct-21 22:46 
GeneralRe: C language exercise - beginner Pin
David Crow7-Oct-21 2:08
David Crow7-Oct-21 2:08 
AnswerRe: C language exercise - beginner Pin
jsc427-Oct-21 5:18
professionaljsc427-Oct-21 5:18 
GeneralRe: C language exercise - beginner Pin
Graham Breach7-Oct-21 11:30
Graham Breach7-Oct-21 11:30 

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.