Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I have a Custom CButton which loads a bitmap, using CButton::SetBitmap(bitmap); Meanwhile, I want to display a text above the bitmap, on the same button.
I am not able to read the contents in the file if I manually write something in the file...If there are contents existing already am able to read the contents...but if I go and manually write somethin
I have a MFC document/view C++ graphics application that does all its drawing to an off screen bitmap, and then copys that to the supplied CDC pointer in the OnDraw method.Over the last couple of days
I\'ve written some code in c++ using a CScrollbar which scrolls a CWnd and treeview at the same time. This works perfectly find on my pc, but on other pc\'s in the office it has problems:
This is the first time that i want开发者_Go百科 to use threads, so i don\'t understand them fully for now.
The add-to-clip-board code we have in our code base is quite low-level - allocating global memory and so on. For the simple case I just want to put some plain text on the clipboard, are there any rout
I am receiving a EM_CHARFORMAT message in my message handler when SetFont() is called on my custom control. But when I change the data in the CHARFORMAT structure pointed to in the LPARAM, it isn\'t b
First I add TVS_EX_PARTIALCHECKBOXES to the CTreeCtrl\'s extended styles: TreeView_SetExtendedStyle(tree->GetSafeHwnd(), TVS_EX_PARTIALCHECKBOXES, TVS_EX_PARTIALCHECKBOXES);
I\'ve never been a big fan of MFC, but that\'s not really the point. I read that Microsoft is due to release a new version of MFC in 2010 and it really struck me as odd - I thought MFC 开发者_Go百科wa