Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating View without document? Pin
ptse17-Apr-14 3:30
ptse17-Apr-14 3:30 
GeneralRe: Creating View without document? Pin
prasanth_mv5-May-14 19:28
prasanth_mv5-May-14 19:28 
QuestionMicrosoft Project Kind of free Application developed in MFC or C# Pin
sma123#15-Apr-14 20:12
sma123#15-Apr-14 20:12 
AnswerRe: Microsoft Project Kind of free Application developed in MFC or C# Pin
CPallini15-Apr-14 20:34
mveCPallini15-Apr-14 20:34 
QuestionOutlook Addins Question Pin
None_li15-Apr-14 15:50
None_li15-Apr-14 15:50 
QuestionCStaic SetWindowText() blinking problem [Solved] Pin
econy14-Apr-14 6:55
econy14-Apr-14 6:55 
QuestionRe: CStaic SetWindowText() blinking problem Pin
David Crow14-Apr-14 9:04
David Crow14-Apr-14 9:04 
AnswerRe: CStaic SetWindowText() blinking problem Pin
econy14-Apr-14 9:21
econy14-Apr-14 9:21 
GeneralRe: CStaic SetWindowText() blinking problem Pin
CPallini14-Apr-14 9:44
mveCPallini14-Apr-14 9:44 
GeneralRe: CStaic SetWindowText() blinking problem Pin
econy15-Apr-14 4:54
econy15-Apr-14 4:54 
GeneralRe: CStaic SetWindowText() blinking problem Pin
CPallini15-Apr-14 6:10
mveCPallini15-Apr-14 6:10 
QuestionWaitForMultipleObjects keeps catching timeout event (RESOLVED) Pin
bkelly1313-Apr-14 11:36
bkelly1313-Apr-14 11:36 
AnswerRe: WaitForMultipleObjects keeps catching timeout event Pin
SoMad13-Apr-14 12:28
professionalSoMad13-Apr-14 12:28 
GeneralRe: WaitForMultipleObjects keeps catching timeout event Pin
bkelly1313-Apr-14 14:03
bkelly1313-Apr-14 14:03 
I have the answer. Wait 0 in most places, all that I have used until now, means no wait period. In this case it means immediately time out. I should have read the documentation more carefully. Still, that is not a good option to have.

Argument 3 is wait for any event, not wait for all. This is still in the initial stages of testing, just getting the events right and not doing anything useful. (Then again, that test is quite useful.)

To help me in the future I changed my time out constants as follows:

CSS
// "INFINITE" is defined by Microsoft and is a valid timeout value
const DWORD       WAIT_TIMEOUT_05_SECONDS =  5000;
const DWORD       WAIT_TIMEOUT_60_SECONDS = 60000;
const DWORD       IMMEDIATE_TIMEOUT       =     0;


Thank you for the re-direct.
Thank you for your time
If you work with telemetry, please check this bulletin board: www.irigbb.com


GeneralRe: WaitForMultipleObjects keeps catching timeout event Pin
SoMad13-Apr-14 14:13
professionalSoMad13-Apr-14 14:13 
QuestionLinking errors Pin
tre412-Apr-14 11:51
tre412-Apr-14 11:51 
AnswerRe: Linking errors Pin
Richard Andrew x6412-Apr-14 15:07
professionalRichard Andrew x6412-Apr-14 15:07 
GeneralRe: Linking errors Pin
tre412-Apr-14 22:18
tre412-Apr-14 22:18 
QuestionProgram keeps looping [Solved] Pin
CounterClockWise11-Apr-14 14:13
CounterClockWise11-Apr-14 14:13 
AnswerRe: Program keeps looping Pin
Richard Andrew x6411-Apr-14 16:26
professionalRichard Andrew x6411-Apr-14 16:26 
GeneralRe: Program keeps looping Pin
CounterClockWise11-Apr-14 16:41
CounterClockWise11-Apr-14 16:41 
QuestionDraw two monitors syncron Pin
_Flaviu10-Apr-14 22:11
_Flaviu10-Apr-14 22:11 
AnswerRe: Draw two monitors syncron Pin
Richard MacCutchan10-Apr-14 22:41
mveRichard MacCutchan10-Apr-14 22:41 
AnswerRe: Draw two monitors syncron Pin
pasztorpisti11-Apr-14 6:17
pasztorpisti11-Apr-14 6:17 
GeneralRe: Draw two monitors syncron Pin
_Flaviu13-Apr-14 22:23
_Flaviu13-Apr-14 22: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.