Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to bypass loop ? Pin
jschell29-Jan-24 4:38
jschell29-Jan-24 4:38 
Questionhelp me to replace / clean my hack C++ code PLEASE Pin
Salvatore Terress27-Jan-24 4:41
Salvatore Terress27-Jan-24 4:41 
AnswerRe: help me to replace / clean my hack C++ code PLEASE Pin
Richard MacCutchan27-Jan-24 5:17
mveRichard MacCutchan27-Jan-24 5:17 
QuestionFinding a location for a function that would cause it to get called on a constant basis Pin
Calin Negru26-Jan-24 8:32
Calin Negru26-Jan-24 8:32 
AnswerRe: Finding a location for a function that would cause it to get called on a constant basis Pin
k505426-Jan-24 11:17
mvek505426-Jan-24 11:17 
GeneralRe: Finding a location for a function that would cause it to get called on a constant basis Pin
Calin Negru26-Jan-24 22:03
Calin Negru26-Jan-24 22:03 
QuestionCreating an update function for my game Pin
Calin Negru25-Jan-24 22:13
Calin Negru25-Jan-24 22:13 
AnswerRe: Creating an update function for my game Pin
Richard MacCutchan25-Jan-24 22:21
mveRichard MacCutchan25-Jan-24 22:21 
You need to provide more details about what you are trying to do here. Calling UpdateGame in the message loop as you show, will only work if there are no messages in the queue. And given the way Windows operates, this is not very likely. The only thing you should do in your WM_PAINT handler, is to update the screen. All calculations and measurements should be performed elsewhere.
GeneralRe: Creating an update function for my game Pin
Calin Negru26-Jan-24 0:41
Calin Negru26-Jan-24 0:41 
GeneralRe: Creating an update function for my game Pin
Richard MacCutchan26-Jan-24 0:52
mveRichard MacCutchan26-Jan-24 0:52 
GeneralRe: Creating an update function for my game Pin
CPallini26-Jan-24 1:25
mveCPallini26-Jan-24 1:25 
GeneralRe: Creating an update function for my game Pin
Richard MacCutchan26-Jan-24 1:30
mveRichard MacCutchan26-Jan-24 1:30 
QuestionRe: Creating an update function for my game Pin
CPallini26-Jan-24 0:39
mveCPallini26-Jan-24 0:39 
QuestionHelp me to decipher the error messages Pin
Salvatore Terress20-Jan-24 2:46
Salvatore Terress20-Jan-24 2:46 
AnswerRe: Help me to decipher the error messages Pin
Richard MacCutchan20-Jan-24 3:18
mveRichard MacCutchan20-Jan-24 3:18 
AnswerRe: Help me to decipher the error messages Pin
Dave Kreskowiak20-Jan-24 4:56
mveDave Kreskowiak20-Jan-24 4:56 
AnswerRe: Help me to decipher the error messages Pin
Gerry Schmitz20-Jan-24 6:34
mveGerry Schmitz20-Jan-24 6:34 
AnswerRe: Help me to decipher the error messages Pin
Richard Andrew x6421-Jan-24 11:33
professionalRichard Andrew x6421-Jan-24 11:33 
AnswerRe: Help me to decipher the error messages Pin
CPallini21-Jan-24 20:33
mveCPallini21-Jan-24 20:33 
AnswerRe: Help me to decipher the error messages Pin
jschell22-Jan-24 5:24
jschell22-Jan-24 5:24 
GeneralRe: Help me to decipher the error messages Pin
Richard MacCutchan22-Jan-24 6:22
mveRichard MacCutchan22-Jan-24 6:22 
GeneralRe: Help me to decipher the error messages Pin
Gerry Schmitz26-Jan-24 6:13
mveGerry Schmitz26-Jan-24 6:13 
QuestionLoop thru two dimensional array - edited Pin
Salvatore Terress15-Jan-24 7:41
Salvatore Terress15-Jan-24 7:41 
AnswerRe: Loop thru two dimensional array Pin
jeron115-Jan-24 9:31
jeron115-Jan-24 9:31 
GeneralRe: Loop thru two dimensional array Pin
Salvatore Terress15-Jan-24 9:50
Salvatore Terress15-Jan-24 9: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.