October 20th, 2014, 12:32 PM
Thank you for the link Victor. It mentions subclassing the edit window in order to handle all messages. Now, the CMFCRibbonEdit class contains a protected pointer to a rich edit control which,...
October 18th, 2014, 04:45 PM
For a ribbon bar with edit controls (CMFCRibbonEdit) I want to handle the mouse scroll events for the edit controls. That is, when the user clicks and then scrolls on the edit it will navigate a...
January 29th, 2013, 10:16 AM
Yes, I did that, and I'm afraid it isn't just a matter of copy-pasting.
Here is my OnDraw() code, right now just five lines of code:
void CMyView::OnDraw(CDC* pDC)
{
// CBitmap bmp;...
January 29th, 2013, 06:29 AM
Thank you D_Drmmr.
The solution described in that example creates the DC object (CMemDC) and its bitmap within OnDraw, so they only exist and have to be updated within that scope. I'm looking for a...
January 27th, 2013, 07:46 AM
Hello everyone,
I'm new to codeguru and beginner with MFC.
Can anyone please explain, or point out to an internet resource that explains how to create, initialize, and maintain a memory device...