Click here to Skip to main content
16,011,647 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to verify: IsCDRomDoorOpend Pin
adynis3-Apr-04 7:16
adynis3-Apr-04 7:16 
AnswerRe: How to verify: IsCDRomDoorOpend Pin
Alexander M.,4-Apr-04 1:05
Alexander M.,4-Apr-04 1:05 
GeneralRe: How to verify: IsCDRomDoorOpend Pin
adynis4-Apr-04 1:18
adynis4-Apr-04 1:18 
GeneralText to speech program Pin
sschilachi3-Apr-04 7:03
sschilachi3-Apr-04 7:03 
GeneralRe: Text to speech program Pin
John M. Drescher3-Apr-04 9:31
John M. Drescher3-Apr-04 9:31 
GeneralRe: Text to speech program Pin
Ravi Bhavnani3-Apr-04 10:46
professionalRavi Bhavnani3-Apr-04 10:46 
GeneralRe: Text to speech program Pin
(Steven Hicks)n+14-Apr-04 16:54
(Steven Hicks)n+14-Apr-04 16:54 
Generalmystery black screen Pin
timjimin3-Apr-04 6:32
timjimin3-Apr-04 6:32 
I'm using a CBitmap and a memory device context for a basic animation
Why does the screen turn black?


void CtennisView::OnTimer(UINT nIDEvent)
{
CClientDC dc(this);
OnPrepareDC(&dc);
curtime+= 0.05f;
CRect rect;
GetClientRect(&rect);
CPoint pl(0,0),ps(rect.Width(),rect.Height());
dc.DPtoLP(&pl);
dc.DPtoLP(&ps);
CDC memdc;
memdc.CreateCompatibleDC(&dc);
CBitmap bitmap;
bitmap.CreateCompatibleBitmap(&dc,rect.Width(),rect.Height());
memdc.SelectObject(&bitmap);
OnPrepareDC(&memdc);
DrawBall(&memdc,ballptnew);
UpdatePos();
dc.BitBlt(pl.x,pl.y,ps.x-pl.x,ps.y-pl.y,&memdc,pl.x,pl.y,SRCCOPY);
DrawBall(&memdc,ballptnew);
UpdatePos();
CView::OnTimer(nIDEvent);
}
GeneralRe: mystery black screen Pin
John R. Shaw3-Apr-04 15:08
John R. Shaw3-Apr-04 15:08 
GeneralInvitation Pin
Member 7951483-Apr-04 6:21
Member 7951483-Apr-04 6:21 
GeneralcFormView controls - font, size, etc. Pin
snoopy3693-Apr-04 5:36
snoopy3693-Apr-04 5:36 
GeneralRe: cFormView controls - font, size, etc. Pin
Michael P Butler3-Apr-04 8:11
Michael P Butler3-Apr-04 8:11 
GeneralRe: cFormView controls - font, size, etc. Pin
gUrM33T3-Apr-04 15:15
gUrM33T3-Apr-04 15:15 
GeneralDetermint String Language Pin
Anonymous3-Apr-04 3:48
Anonymous3-Apr-04 3:48 
GeneralRe: Determint String Language Pin
Alexander M.,4-Apr-04 1:06
Alexander M.,4-Apr-04 1:06 
GeneralHIDE FIRST DIALOG Pin
andresfecas3-Apr-04 3:34
andresfecas3-Apr-04 3:34 
GeneralRe: HIDE FIRST DIALOG Pin
Prakash Nadar3-Apr-04 3:51
Prakash Nadar3-Apr-04 3:51 
GeneralUrgent: Having problem with while loop Pin
dreamerzz3-Apr-04 2:16
dreamerzz3-Apr-04 2:16 
GeneralRe: Urgent: Having problem with while loop Pin
avenger_sb255-Apr-04 7:46
avenger_sb255-Apr-04 7:46 
GeneralRe: Urgent: Having problem with while loop Pin
dreamerzz5-Apr-04 21:56
dreamerzz5-Apr-04 21:56 
GeneralRe: Urgent: Having problem with while loop Pin
avenger_sb256-Apr-04 5:30
avenger_sb256-Apr-04 5:30 
GeneralRe: Urgent: Having problem with while loop Pin
dreamerzz9-Apr-04 6:04
dreamerzz9-Apr-04 6:04 
GeneralRe: Urgent: Having problem with while loop Pin
avenger_sb259-Apr-04 7:57
avenger_sb259-Apr-04 7:57 
GeneralRe: Urgent: Having problem with while loop Pin
dreamerzz20-Apr-04 2:20
dreamerzz20-Apr-04 2:20 
Questionplease help me have a look at below "onInitDialog()",why return true at the end? Pin
vividtang3-Apr-04 2:16
vividtang3-Apr-04 2:16 

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.