Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem on bitmap Pin
RockyJames3-Jun-06 1:28
RockyJames3-Jun-06 1:28 
GeneralRe: Problem on bitmap Pin
_AnsHUMAN_ 3-Jun-06 2:04
_AnsHUMAN_ 3-Jun-06 2:04 
AnswerRe: Problem on bitmap Pin
John R. Shaw3-Jun-06 3:12
John R. Shaw3-Jun-06 3:12 
GeneralRe: Problem on bitmap Pin
preethip4-Jun-06 20:34
preethip4-Jun-06 20:34 
QuestionMessage loop not branching properly Pin
Goldstandard2-Jun-06 21:24
Goldstandard2-Jun-06 21:24 
AnswerRe: Message loop not branching properly Pin
John R. Shaw3-Jun-06 4:01
John R. Shaw3-Jun-06 4:01 
GeneralRe: Message loop not branching properly Pin
Goldstandard3-Jun-06 20:21
Goldstandard3-Jun-06 20:21 
GeneralRe: Message loop not branching properly Pin
John R. Shaw13-Jun-06 22:17
John R. Shaw13-Jun-06 22:17 
Sorry I have been away for a while; almost any thing using a PeekMessage loop is probably old school. I had to reread the original post and I recommend visiting gaming sights. A WM_TIMER message will work fine (also old school); just make sure you have a flag to tell you when an update is needed. You will normally here the term dirty flag (like a modified flag), which simply means something has changed. So your timer function will check the flag and if nothing has changed then you do nothing, quick and clean. If something has changed then you need to redraw the screen or preferably only the portions that have changed. Given time you will figure it all out, provided no one else is breathing down your neck.

INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
QuestionCBitmapButton Pin
akshita_152-Jun-06 21:22
akshita_152-Jun-06 21:22 
AnswerRe: CBitmapButton [modified] Pin
_AnsHUMAN_ 2-Jun-06 23:46
_AnsHUMAN_ 2-Jun-06 23:46 
GeneralRe: CBitmapButton [modified] Pin
akshita_153-Jun-06 0:36
akshita_153-Jun-06 0:36 
GeneralRe: CBitmapButton [modified] Pin
_AnsHUMAN_ 3-Jun-06 1:04
_AnsHUMAN_ 3-Jun-06 1:04 
Questioninteresting question, number of 0s at the end of N! Pin
George_George2-Jun-06 21:16
George_George2-Jun-06 21:16 
AnswerRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw3-Jun-06 4:15
John R. Shaw3-Jun-06 4:15 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George4-Jun-06 16:31
George_George4-Jun-06 16:31 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw13-Jun-06 22:29
John R. Shaw13-Jun-06 22:29 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George13-Jun-06 22:37
George_George13-Jun-06 22:37 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw13-Jun-06 23:51
John R. Shaw13-Jun-06 23:51 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George14-Jun-06 2:35
George_George14-Jun-06 2:35 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw14-Jun-06 2:59
John R. Shaw14-Jun-06 2:59 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George14-Jun-06 3:42
George_George14-Jun-06 3:42 
AnswerRe: interesting question, number of 0s at the end of N! [modified] Pin
Stephen Hewitt4-Jun-06 14:06
Stephen Hewitt4-Jun-06 14:06 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
George_George4-Jun-06 16:30
George_George4-Jun-06 16:30 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
Stephen Hewitt4-Jun-06 17:48
Stephen Hewitt4-Jun-06 17:48 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
George_George4-Jun-06 17:50
George_George4-Jun-06 17:50 

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.