Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win2K not drawing rectangle Pin
generic_user_id12-Dec-02 5:54
generic_user_id12-Dec-02 5:54 
GeneralWindow not updating entirely Pin
jimNLX12-Dec-02 3:30
jimNLX12-Dec-02 3:30 
GeneralRe: Window not updating entirely Pin
retZ12-Dec-02 4:43
retZ12-Dec-02 4:43 
GeneralRe: Window not updating entirely Pin
valikac12-Dec-02 8:01
valikac12-Dec-02 8:01 
GeneralRe: Window not updating entirely Pin
Alvaro Mendez12-Dec-02 8:24
Alvaro Mendez12-Dec-02 8:24 
GeneralRe: Window not updating entirely Pin
jimNLX12-Dec-02 8:29
jimNLX12-Dec-02 8:29 
GeneralRe: Window not updating entirely Pin
Alvaro Mendez12-Dec-02 9:36
Alvaro Mendez12-Dec-02 9:36 
QuestionResumeThread not Resuming? Pin
RobJones12-Dec-02 3:11
RobJones12-Dec-02 3:11 
Hello,
I posted a question yesterday about loggin a text fle from with in a UI Thread.. Anyway, I started logging all the threads actions all the way up to ExitThread and found no problems at all.. I think my problem is that I create the thread and some times the ResumeThread doesn't really resume the thread. It gets created then it sits there. Which causes a bunch of extra threads that are on my process doing nothing.. Is there anyway to ensure that the thread has resumed and if not just kill it?

Heres an example of how I am starting up the threads...

n = 10;	
while(n > 0)
{
	CConnectThread* thread = (CConnectThread*)AfxBeginThread(RUNTIME_CLASS(CConnectThread),
								THREAD_PRIORITY_NORMAL,
								0, // stack size
								CREATE_SUSPENDED);
	// Set the thread vars.. then resume the thread.
	thread->m_strMessage = strMessage;
	thread->m_strDns = strDns;
	thread->m_iPort = iPort;
	thread->m_bAutoDelete = TRUE;
	thread->ResumeThread();
	n --;
}


Thanks,
Rob
AnswerRe: ResumeThread not Resuming? Pin
Arjan Schouten12-Dec-02 3:25
Arjan Schouten12-Dec-02 3:25 
GeneralRe: ResumeThread not Resuming? Pin
RobJones12-Dec-02 4:18
RobJones12-Dec-02 4:18 
QuestionHow can I get the current line of a xml element / node ? Pin
Daniel Strigl12-Dec-02 2:59
Daniel Strigl12-Dec-02 2:59 
AnswerRe: How can I get the current line of a xml element / node ? Pin
Ranjan Banerji12-Dec-02 7:48
Ranjan Banerji12-Dec-02 7:48 
Generalchild windows z-order Pin
mihan_12-Dec-02 2:50
mihan_12-Dec-02 2:50 
GeneralRe: child windows z-order Pin
Alois Kraus12-Dec-02 3:09
Alois Kraus12-Dec-02 3:09 
GeneralRe: child windows z-order Pin
mihan_12-Dec-02 4:52
mihan_12-Dec-02 4:52 
GeneralRe: child windows z-order Pin
Alois Kraus12-Dec-02 5:45
Alois Kraus12-Dec-02 5:45 
GeneralRe: child windows z-order Pin
mihan_12-Dec-02 6:11
mihan_12-Dec-02 6:11 
GeneralRe: child windows z-order Pin
User 665812-Dec-02 6:48
User 665812-Dec-02 6:48 
GeneralRe: child windows z-order Pin
mihan_12-Dec-02 7:16
mihan_12-Dec-02 7:16 
Questionhow to delete Win NT system start-up option Pin
woonkop12-Dec-02 2:37
woonkop12-Dec-02 2:37 
AnswerRe: how to delete Win NT system start-up option Pin
RobJones12-Dec-02 4:24
RobJones12-Dec-02 4:24 
GeneralLast question....atleast for a while!! Pin
Autunmsky12-Dec-02 1:23
Autunmsky12-Dec-02 1:23 
GeneralTAPI Application Pin
vin12-Dec-02 0:47
vin12-Dec-02 0:47 
GeneralRe: TAPI Application Pin
Michael P Butler12-Dec-02 0:58
Michael P Butler12-Dec-02 0:58 
QuestionHow does IShellDispatch4.ToggleDesktop minimize an app. without closing its modal dialog box ? Pin
Andrew Webb12-Dec-02 0:30
Andrew Webb12-Dec-02 0:30 

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.