Click here to Skip to main content
15,903,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LVM_FINDITEM Pin
Dody_DK19-Nov-05 10:34
Dody_DK19-Nov-05 10:34 
GeneralRe: LVM_FINDITEM Pin
PJ Arends19-Nov-05 10:41
professionalPJ Arends19-Nov-05 10:41 
GeneralRe: LVM_FINDITEM Pin
Dody_DK19-Nov-05 11:37
Dody_DK19-Nov-05 11:37 
QuestionCWnd::SetTimer - machine dependant ? Pin
ddmcr19-Nov-05 7:36
ddmcr19-Nov-05 7:36 
AnswerRe: CWnd::SetTimer - machine dependant ? Pin
Joel Lucsy19-Nov-05 9:37
Joel Lucsy19-Nov-05 9:37 
AnswerRe: CWnd::SetTimer - machine dependant ? Pin
Maximilien19-Nov-05 9:59
Maximilien19-Nov-05 9:59 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr19-Nov-05 10:31
ddmcr19-Nov-05 10:31 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
Gary R. Wheeler19-Nov-05 11:00
Gary R. Wheeler19-Nov-05 11:00 
SetTimer and the WM_TIMER message are defined to have 10 millisecond resolution. Unfortunately, they are treated as least priority messages, and are handled only if there are no other messages pending. This means that the timer may trigger every 10 ms, or it might be 100 ms. As others have mentioned, system load affects WM_TIMER behavior as well.

You can measure much more accurate intervals using QueryPerformanceCounter().


Software Zen: delete this;
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ThatsAlok21-Nov-05 0:55
ThatsAlok21-Nov-05 0:55 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr21-Nov-05 1:54
ddmcr21-Nov-05 1:54 
QuestionProper Programming Style Pin
Magadass19-Nov-05 5:07
Magadass19-Nov-05 5:07 
AnswerRe: Proper Programming Style Pin
Trollslayer19-Nov-05 6:24
mentorTrollslayer19-Nov-05 6:24 
AnswerRe: Proper Programming Style Pin
Bob Stanneveld19-Nov-05 6:59
Bob Stanneveld19-Nov-05 6:59 
QuestionProblem in initializing the structure member in VC++ Pin
Sasikumar.SR19-Nov-05 2:27
Sasikumar.SR19-Nov-05 2:27 
AnswerRe: Problem in initializing the structure member in VC++ Pin
PJ Arends19-Nov-05 13:32
professionalPJ Arends19-Nov-05 13:32 
AnswerRe: Problem in initializing the structure member in VC++ Pin
Gary R. Wheeler20-Nov-05 4:07
Gary R. Wheeler20-Nov-05 4:07 
GeneralRe: Problem in initializing the structure member in VC++ Pin
Sasikumar.SR20-Nov-05 22:54
Sasikumar.SR20-Nov-05 22:54 
QuestionLNK2005 error when using structure Pin
Sasikumar.SR19-Nov-05 2:19
Sasikumar.SR19-Nov-05 2:19 
AnswerRe: LNK2005 error when using structure Pin
Gary R. Wheeler19-Nov-05 5:36
Gary R. Wheeler19-Nov-05 5:36 
QuestionHow to round float number to the closest int?? Pin
Ming Luo19-Nov-05 0:44
Ming Luo19-Nov-05 0:44 
AnswerRe: How to round float number to the closest int?? Pin
toxcct19-Nov-05 0:48
toxcct19-Nov-05 0:48 
AnswerRe: How to round float number to the closest int?? Pin
Stan Shannon19-Nov-05 1:19
Stan Shannon19-Nov-05 1:19 
GeneralRe: How to round float number to the closest int?? Pin
Tim Smith20-Nov-05 7:02
Tim Smith20-Nov-05 7:02 
AnswerRe: How to round float number to the closest int?? Pin
Rick York19-Nov-05 7:37
mveRick York19-Nov-05 7:37 
Questionproblems in Pointer overflow/underflow Pin
K. narasimharao19-Nov-05 0:20
K. narasimharao19-Nov-05 0:20 

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.