Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski18-Mar-02 1:17
Tomasz Sowinski18-Mar-02 1:17 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Joan M18-Mar-02 4:17
professionalJoan M18-Mar-02 4:17 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski18-Mar-02 4:36
Tomasz Sowinski18-Mar-02 4:36 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
C-J Berg18-Mar-02 1:58
C-J Berg18-Mar-02 1:58 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Joan M18-Mar-02 5:36
professionalJoan M18-Mar-02 5:36 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
C-J Berg18-Mar-02 6:38
C-J Berg18-Mar-02 6:38 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski18-Mar-02 7:17
Tomasz Sowinski18-Mar-02 7:17 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
C-J Berg19-Mar-02 1:56
C-J Berg19-Mar-02 1:56 
For really tiny wait intervals such as a few ms, there are no obvious advantages, and Sleep might in fact be a better solution than creating a kernel object. However, for longer intervals the thread would remain locked until the timeout value expires, which would cause the application to look as if it was hung (and you don't want to use the dangerous TerminateThread API, since it doesn't allow for object cleanup among other unwanted side effects). In this case, it's always better to implement a solution such as the one I suggested.
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Tomasz Sowinski19-Mar-02 2:08
Tomasz Sowinski19-Mar-02 2:08 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
C-J Berg19-Mar-02 2:37
C-J Berg19-Mar-02 2:37 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
Joan M19-Mar-02 23:20
professionalJoan M19-Mar-02 23:20 
GeneralRe: WM_TIMER? - (semi real time) - (I'M VERY NOVICE) - (4 short questions) Pin
JT Anderson18-Mar-02 8:14
JT Anderson18-Mar-02 8:14 
GeneralRegistry Operations Pin
udayakumar18-Mar-02 0:38
udayakumar18-Mar-02 0:38 
GeneralRe: Registry Operations Pin
Tomasz Sowinski18-Mar-02 0:43
Tomasz Sowinski18-Mar-02 0:43 
GeneralRe: Registry Operations Pin
Abhishek Narula18-Mar-02 0:52
Abhishek Narula18-Mar-02 0:52 
GeneralRe: Registry Operations Pin
Abhishek Narula18-Mar-02 1:05
Abhishek Narula18-Mar-02 1:05 
GeneralRe: Registry Operations Pin
udayakumar18-Mar-02 1:38
udayakumar18-Mar-02 1:38 
GeneralDisable audio port Pin
Halid Niyaz18-Mar-02 0:04
Halid Niyaz18-Mar-02 0:04 
GeneralMultiple View Application Pin
Abhishek Narula17-Mar-02 23:40
Abhishek Narula17-Mar-02 23:40 
GeneralRe: Multiple View Application Pin
Tomasz Sowinski18-Mar-02 0:24
Tomasz Sowinski18-Mar-02 0:24 
GeneralRe: Multiple View Application Pin
Abhishek Narula18-Mar-02 0:32
Abhishek Narula18-Mar-02 0:32 
GeneralRe: Multiple View Application Pin
Tomasz Sowinski18-Mar-02 0:40
Tomasz Sowinski18-Mar-02 0:40 
GeneralActive document container & menu icons Pin
C-J Berg17-Mar-02 23:37
C-J Berg17-Mar-02 23:37 
GeneralWriting Text on Window using TextOut Pin
vkumara17-Mar-02 23:08
vkumara17-Mar-02 23:08 
GeneralRe: Writing Text on Window using TextOut Pin
Tomasz Sowinski17-Mar-02 23:23
Tomasz Sowinski17-Mar-02 23:23 

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.