Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Termiating an MFC app from a separate thread Pin
Jagadeesh VN16-Sep-03 7:15
Jagadeesh VN16-Sep-03 7:15 
GeneralScreensaver with Mpeg problem Pin
Mortis16-Sep-03 2:08
Mortis16-Sep-03 2:08 
GeneralCMemDC help Pin
Zizilamoroso16-Sep-03 1:28
Zizilamoroso16-Sep-03 1:28 
GeneralRe: CMemDC help Pin
dan o16-Sep-03 3:38
dan o16-Sep-03 3:38 
GeneralRe: CMemDC help Pin
Zizilamoroso16-Sep-03 6:55
Zizilamoroso16-Sep-03 6:55 
GeneralRe: CMemDC help Pin
Jagadeesh VN16-Sep-03 7:29
Jagadeesh VN16-Sep-03 7:29 
GeneralRe: CMemDC help Pin
Zizilamoroso16-Sep-03 11:18
Zizilamoroso16-Sep-03 11:18 
GeneralRe: CMemDC help Pin
KaЯl17-Sep-03 0:15
KaЯl17-Sep-03 0:15 
* If you want to set the background color, you should have a look to this article: http://www.codeproject.com/miscctrl/colorcontols.asp?target=ccolorstatic[^]

On the use of MemDC:
* To avoid flickering, OnEraseBkgnd should return FALSE.
* you should use pointers with CDC::SelectObject
CBrush *pOldBrush = memDC->SelectObject(&brush);<br />
CPen *pOldPen = memDC->SelectObject(&pen);

...
memDC->SelectObject(pOldBrush);<br />
memDC->SelectObject(pOldPen);








Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed - Dwight D. Eisenhower

GeneralCRichEditCtrl - Text Align Pin
Ph@ntom16-Sep-03 1:14
Ph@ntom16-Sep-03 1:14 
GeneralRe: CRichEditCtrl - Text Align Pin
David Crow16-Sep-03 4:27
David Crow16-Sep-03 4:27 
QuestionHow can we spy[hook] Registry Actions? Pin
Behzad Ebrahimi16-Sep-03 1:12
Behzad Ebrahimi16-Sep-03 1:12 
AnswerRe: How can we spy[hook] Registry Actions? Pin
Roger Allen16-Sep-03 1:41
Roger Allen16-Sep-03 1:41 
GeneralTerminate MFC App in CView::OnInitialUpdate() Pin
CodeBrain16-Sep-03 1:03
CodeBrain16-Sep-03 1:03 
GeneralRe: Terminate MFC App in CView::OnInitialUpdate() Pin
Steve S16-Sep-03 1:26
Steve S16-Sep-03 1:26 
GeneralRe: Terminate MFC App in CView::OnInitialUpdate() Pin
Jagadeesh VN16-Sep-03 1:26
Jagadeesh VN16-Sep-03 1:26 
GeneralRe: Terminate MFC App in CView::OnInitialUpdate() Pin
Roger Allen16-Sep-03 1:42
Roger Allen16-Sep-03 1:42 
GeneralRe: Terminate MFC App in CView::OnInitialUpdate() Pin
Jagadeesh VN16-Sep-03 1:56
Jagadeesh VN16-Sep-03 1:56 
QuestionWhat MFC is capable of? Can it create full-screen 3D games? Pin
Link260016-Sep-03 0:13
Link260016-Sep-03 0:13 
AnswerRe: What MFC is capable of? Can it create full-screen 3D games? Pin
Zizilamoroso16-Sep-03 1:32
Zizilamoroso16-Sep-03 1:32 
GeneralRe: What MFC is capable of? Can it create full-screen 3D games? Pin
Link260016-Sep-03 5:41
Link260016-Sep-03 5:41 
GeneralRe: What MFC is capable of? Can it create full-screen 3D games? Pin
Zizilamoroso16-Sep-03 6:54
Zizilamoroso16-Sep-03 6:54 
GeneralRe: What MFC is capable of? Can it create full-screen 3D games? Pin
Link260016-Sep-03 12:21
Link260016-Sep-03 12:21 
AnswerRe: What MFC is capable of? Can it create full-screen 3D games? Pin
Michael P Butler17-Sep-03 0:29
Michael P Butler17-Sep-03 0:29 
QuestionHow to get Description of ActiveX from resource? Pin
vgrigor15-Sep-03 23:40
vgrigor15-Sep-03 23:40 
QuestionHow to detect ping ? Pin
brapler15-Sep-03 23:00
brapler15-Sep-03 23:00 

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.