Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CImageList for CTreeCtrl [modified] Pin
anu_889-Jul-06 20:57
anu_889-Jul-06 20:57 
AnswerRe: CImageList for CTreeCtrl Pin
Hamid_RT9-Jul-06 21:07
Hamid_RT9-Jul-06 21:07 
QuestionRe: CImageList for CTreeCtrl Pin
anu_889-Jul-06 21:14
anu_889-Jul-06 21:14 
AnswerRe: CImageList for CTreeCtrl Pin
Hamid_RT9-Jul-06 21:23
Hamid_RT9-Jul-06 21:23 
GeneralRe: CImageList for CTreeCtrl Pin
anu_889-Jul-06 22:26
anu_889-Jul-06 22:26 
Question_endthreadex() Pin
Programmer Anju9-Jul-06 19:43
Programmer Anju9-Jul-06 19:43 
AnswerRe: _endthreadex() Pin
ThatsAlok9-Jul-06 20:39
ThatsAlok9-Jul-06 20:39 
AnswerRe: _endthreadex() Pin
ThatsAlok9-Jul-06 20:49
ThatsAlok9-Jul-06 20:49 
Programmer Anju wrote:
The other condition I want to add is that if it sees a global boolean variable is set (which needs to be set by some other thread of the same application) it should end that particular listen thread only (not the whole application). If I use _endthreadex() how will the other thread form which the boolean variable was set know that the listen thread has actually ended?

 program listen thread something line this
 
g_bEndListenThread=FALSE;
while(1)
{
  if(g_bEndApplication==TRUE)
   // End listen thread
     return 0; or _endthreadex();
 
  if(g_bEndListenThread==TRUE)
   // End listen thread
     return 0; or _endthreadex();

// Dyour Thread functioning


}
 


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
AnswerRe: _endthreadex() Pin
Daniel Lohmann9-Jul-06 21:48
Daniel Lohmann9-Jul-06 21:48 
GeneralRe: _endthreadex() Pin
ThatsAlok9-Jul-06 21:59
ThatsAlok9-Jul-06 21:59 
Questionother then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 19:18
Krishnatv9-Jul-06 19:18 
AnswerRe: other then resource editor any method to create dialogbox Pin
_AnsHUMAN_ 9-Jul-06 19:29
_AnsHUMAN_ 9-Jul-06 19:29 
GeneralRe: other then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 19:38
Krishnatv9-Jul-06 19:38 
GeneralRe: other then resource editor any method to create dialogbox Pin
_AnsHUMAN_ 9-Jul-06 19:46
_AnsHUMAN_ 9-Jul-06 19:46 
GeneralRe: other then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 20:07
Krishnatv9-Jul-06 20:07 
GeneralRe: other then resource editor any method to create dialogbox Pin
_AnsHUMAN_ 9-Jul-06 20:28
_AnsHUMAN_ 9-Jul-06 20:28 
GeneralRe: other then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 20:45
Krishnatv9-Jul-06 20:45 
GeneralRe: other then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 20:53
Krishnatv9-Jul-06 20:53 
AnswerRe: other then resource editor any method to create dialogbox Pin
ThatsAlok9-Jul-06 19:40
ThatsAlok9-Jul-06 19:40 
AnswerRe: other then resource editor any method to create dialogbox Pin
Hamid_RT9-Jul-06 20:29
Hamid_RT9-Jul-06 20:29 
GeneralRe: other then resource editor any method to create dialogbox Pin
ThatsAlok9-Jul-06 20:36
ThatsAlok9-Jul-06 20:36 
GeneralRe: other then resource editor any method to create dialogbox Pin
Hamid_RT9-Jul-06 21:03
Hamid_RT9-Jul-06 21:03 
GeneralRe: other then resource editor any method to create dialogbox Pin
Krishnatv9-Jul-06 20:51
Krishnatv9-Jul-06 20:51 
GeneralRe: other then resource editor any method to create dialogbox Pin
Hamid_RT9-Jul-06 21:30
Hamid_RT9-Jul-06 21:30 
QuestionOnCbnEditchangeCombo1() Pin
Joy Anne9-Jul-06 19:08
Joy Anne9-Jul-06 19:08 

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.