Click here to Skip to main content
15,042,397 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Inserting value in list control through worker thread Pin
Nibu babu thomas27-Aug-08 20:50
MemberNibu babu thomas27-Aug-08 20:50 
GeneralRe: Inserting value in list control through worker thread Pin
VCProgrammer27-Aug-08 20:53
MemberVCProgrammer27-Aug-08 20:53 
GeneralRe: Inserting value in list control through worker thread Pin
Nibu babu thomas27-Aug-08 21:47
MemberNibu babu thomas27-Aug-08 21:47 
GeneralRe: Inserting value in list control through worker thread Pin
Dhiraj kumar Saini27-Aug-08 21:54
MemberDhiraj kumar Saini27-Aug-08 21:54 
QuestionRe: Inserting value in list control through worker thread Pin
Roger Stoltz27-Aug-08 20:56
MemberRoger Stoltz27-Aug-08 20:56 
AnswerRe: Inserting value in list control through worker thread Pin
Arman S.27-Aug-08 21:20
MemberArman S.27-Aug-08 21:20 
QuestionWaitForSingleObject and SetEvent Pin
laksh220427-Aug-08 20:36
Memberlaksh220427-Aug-08 20:36 
AnswerRe: WaitForSingleObject and SetEvent Pin
Roger Stoltz27-Aug-08 20:46
MemberRoger Stoltz27-Aug-08 20:46 
All synchronization objects works the same way regarding this, e.g. locking a mutex, releasing a semaphore or setting an event.
In your case the event will be set until some thread calls any of the wait functions such as ::WaitForSingleObject(). The event may be set up to automatically reset when the thread that waits on the event gets released, or it may be set to be "manual reset" in which case you have to call ::ResetEvent() to set the event in a non-signalled state.

But, you have to call any of the waiting functions in order to find out whether the event is signalled or not.
You may call ::WaitForSingelObject() with a timeout value of zero in which case the function will return with WAIT_TIMEOUT unless the event was set.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


QuestionFTP client application Pin
anandi_codeproject27-Aug-08 20:23
Memberanandi_codeproject27-Aug-08 20:23 
AnswerRe: FTP client application Pin
Rathore Amit27-Aug-08 23:09
MemberRathore Amit27-Aug-08 23:09 
AnswerRe: FTP client application Pin
anandi_codeproject28-Aug-08 1:52
Memberanandi_codeproject28-Aug-08 1:52 
GeneralRe: FTP client application Pin
Rathore Amit28-Aug-08 17:24
MemberRathore Amit28-Aug-08 17:24 
AnswerRe: FTP client application Pin
Mark Salsbery28-Aug-08 6:06
MemberMark Salsbery28-Aug-08 6:06 
QuestionCListCtrl LVITEM lvItem problem Pin
Dhiraj kumar Saini27-Aug-08 19:31
MemberDhiraj kumar Saini27-Aug-08 19:31 
AnswerRe: CListCtrl LVITEM lvItem problem Pin
Nibu babu thomas27-Aug-08 19:39
MemberNibu babu thomas27-Aug-08 19:39 
AnswerRe: CListCtrl LVITEM lvItem problem Pin
Varghese Paul M27-Aug-08 20:14
MemberVarghese Paul M27-Aug-08 20:14 
GeneralRe: CListCtrl LVITEM lvItem problem Pin
Dhiraj kumar Saini27-Aug-08 20:40
MemberDhiraj kumar Saini27-Aug-08 20:40 
GeneralRe: CListCtrl LVITEM lvItem problem Pin
Nibu babu thomas27-Aug-08 20:48
MemberNibu babu thomas27-Aug-08 20:48 
GeneralRe: CListCtrl LVITEM lvItem problem Pin
Dhiraj kumar Saini27-Aug-08 20:52
MemberDhiraj kumar Saini27-Aug-08 20:52 
QuestionRe: CListCtrl LVITEM lvItem problem Pin
Varghese Paul M27-Aug-08 22:07
MemberVarghese Paul M27-Aug-08 22:07 
AnswerRe: CListCtrl LVITEM lvItem problem Pin
Dhiraj kumar Saini27-Aug-08 22:47
MemberDhiraj kumar Saini27-Aug-08 22:47 
QuestionRe: CListCtrl LVITEM lvItem problem Pin
David Crow28-Aug-08 3:52
MemberDavid Crow28-Aug-08 3:52 
Questionshortkeys inside propertypage Pin
hari_honey27-Aug-08 19:27
Memberhari_honey27-Aug-08 19:27 
QuestionWhat is the difference between GetMessage ,PeekMessage and PostMessage? Pin
nisha0000027-Aug-08 18:53
Membernisha0000027-Aug-08 18:53 
AnswerRe: What is the difference between GetMessage ,PeekMessage and PostMessage? Pin
Manish K. Agarwal27-Aug-08 19:16
MemberManish K. Agarwal27-Aug-08 19:16 

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.