Click here to Skip to main content
15,899,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: status bar problem Pin
Cedric Moonen5-Jun-08 22:11
Cedric Moonen5-Jun-08 22:11 
GeneralRe: status bar problem Pin
sudhir_Kumar5-Jun-08 22:45
sudhir_Kumar5-Jun-08 22:45 
GeneralRe: status bar problem Pin
Cedric Moonen5-Jun-08 23:12
Cedric Moonen5-Jun-08 23:12 
GeneralRe: status bar problem Pin
Mohanraj D6-Jun-08 0:02
Mohanraj D6-Jun-08 0:02 
GeneralRe: status bar problem Pin
Cedric Moonen6-Jun-08 0:07
Cedric Moonen6-Jun-08 0:07 
GeneralRe: status bar problem Pin
Mohanraj D6-Jun-08 0:18
Mohanraj D6-Jun-08 0:18 
GeneralRe: status bar problem Pin
Cedric Moonen6-Jun-08 1:07
Cedric Moonen6-Jun-08 1:07 
GeneralRe: status bar problem Pin
Mohanraj D6-Jun-08 2:17
Mohanraj D6-Jun-08 2:17 
i have done the following in my code...and i have my progress bar too in my status bar in the second pane....i need "inprogress" to be displayed first and then the " complete" text...but inprogress doesn't get displayed...what should be done
void test::OnLbnSelchangeList1()
{
	void (*ptr)(void )=function;
	thread_data td;
	while(1)
	{

		if(Complete == 1)
		{	
			indx=list.GetCurSel();
			//printf("%d",indx);

			 s="in progress";
                         m_bar.SetPaneText(0,s);
			
			td.threadentry=(LPTHREAD_START_ROUTINE)ptr;
                        td.hdArg=NULL;
                        td.udiCreationFlags=0;
 		
   CreateThread(NULL, 0, td.threadentry, td.hdArg, (unsigned long)        td.udiCreationFlags, (td.udiThreadId));

			pPrgCtrl->SetPos(0);
			while(1)
			{
				 
				 
				if(Complete==1)
				{
                                 pPrgCtrl->StepIt();
				break;
   				 }
   			}
			
              break;
			}		
	
	 }
		Sleep(200000);
		pPrgCtrl->SetPos(100);
                printf(" complete\n");
		s="  complete";
	       m_bar.SetPaneText(0,s);
		
	}


Raja

QuestionRe: status bar problem Pin
David Crow6-Jun-08 3:16
David Crow6-Jun-08 3:16 
AnswerRe: status bar problem Pin
Mohanraj D7-Jun-08 20:18
Mohanraj D7-Jun-08 20:18 
GeneralRe: status bar problem Pin
David Crow8-Jun-08 11:50
David Crow8-Jun-08 11:50 
GeneralRe: status bar problem Pin
Mohanraj D10-Jun-08 23:37
Mohanraj D10-Jun-08 23:37 
QuestionRe: status bar problem Pin
David Crow11-Jun-08 3:01
David Crow11-Jun-08 3:01 
AnswerRe: status bar problem Pin
Mohanraj D13-Jun-08 2:18
Mohanraj D13-Jun-08 2:18 
QuestionRe: status bar problem Pin
David Crow13-Jun-08 8:49
David Crow13-Jun-08 8:49 
AnswerRe: status bar problem Pin
Mohanraj D16-Jun-08 19:45
Mohanraj D16-Jun-08 19:45 
GeneralRe: status bar problem Pin
David Crow17-Jun-08 2:27
David Crow17-Jun-08 2:27 
GeneralRe: status bar problem Pin
Mohanraj D18-Jun-08 22:15
Mohanraj D18-Jun-08 22:15 
GeneralRe: status bar problem Pin
David Crow19-Jun-08 3:21
David Crow19-Jun-08 3:21 
QuestionDeleting the using reference Pin
vikramlinux5-Jun-08 19:16
vikramlinux5-Jun-08 19:16 
AnswerRe: Deleting the using reference Pin
Saurabh.Garg5-Jun-08 20:06
Saurabh.Garg5-Jun-08 20:06 
GeneralRe: Deleting the using reference Pin
vikramlinux5-Jun-08 20:39
vikramlinux5-Jun-08 20:39 
GeneralRe: Deleting the using reference Pin
Emilio Garavaglia5-Jun-08 21:13
Emilio Garavaglia5-Jun-08 21:13 
AnswerRe: Deleting the using reference Pin
Jijo.Raj5-Jun-08 21:43
Jijo.Raj5-Jun-08 21:43 
QuestionHow to save history in SHBrowseForFolder in MFC Pin
At_work5-Jun-08 18:53
At_work5-Jun-08 18:53 

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.