Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is deep copy and shallow copy?? Pin
Ganesh_T18-May-06 23:25
Ganesh_T18-May-06 23:25 
GeneralRe: what is deep copy and shallow copy?? Pin
Maxwell Chen18-May-06 23:28
Maxwell Chen18-May-06 23:28 
GeneralRe: what is deep copy and shallow copy?? Pin
Nibu babu thomas18-May-06 23:51
Nibu babu thomas18-May-06 23:51 
GeneralRe: what is deep copy and shallow copy?? Pin
Maxwell Chen18-May-06 23:54
Maxwell Chen18-May-06 23:54 
GeneralRe: what is deep copy and shallow copy?? Pin
Nibu babu thomas18-May-06 23:55
Nibu babu thomas18-May-06 23:55 
GeneralRe: what is deep copy and shallow copy?? Pin
Sebastian Schneider19-May-06 1:32
Sebastian Schneider19-May-06 1:32 
GeneralRe: what is deep copy and shallow copy?? Pin
ThatsAlok19-May-06 2:02
ThatsAlok19-May-06 2:02 
QuestionProgress Bar vc++ Pin
sudeep_br18-May-06 23:14
sudeep_br18-May-06 23:14 
I want to add a progress bar to my dialog window which start in the thread function and ends after some process can u help me with this.

-------------------------------------------
BOOL CStatusDlg::OnInitDialog()
{
CDialog::OnInitDialog();
HANDLE hr;
hr = CreateThread(NULL,0,(unsigned long (__stdcall *)(void *))WorkerThreadProc,this,0,0);
return TRUE;
}

---------------------------------------------------


UINT WorkerThreadProc(LPVOID Param)
{
CStatusDlg* status = (CStatusDlg *)Param;

// I want the progress bar to start here

INDX.startIndex();

// I want the progress bar to stop here

return true;

}


Thanks
AnswerRe: Progress Bar vc++ Pin
Naveen18-May-06 23:18
Naveen18-May-06 23:18 
GeneralRe: Progress Bar vc++ Pin
sudeep_br18-May-06 23:22
sudeep_br18-May-06 23:22 
GeneralRe: Progress Bar vc++ Pin
Naveen18-May-06 23:26
Naveen18-May-06 23:26 
GeneralRe: Progress Bar vc++ Pin
Cedric Moonen18-May-06 23:36
Cedric Moonen18-May-06 23:36 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 0:00
Naveen19-May-06 0:00 
GeneralRe: Progress Bar vc++ Pin
sudeep_br18-May-06 23:57
sudeep_br18-May-06 23:57 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 0:01
Naveen19-May-06 0:01 
GeneralRe: Progress Bar vc++ Pin
sudeep_br19-May-06 0:16
sudeep_br19-May-06 0:16 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 0:32
Naveen19-May-06 0:32 
GeneralRe: Progress Bar vc++ Pin
sudeep_br19-May-06 0:44
sudeep_br19-May-06 0:44 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 1:01
Naveen19-May-06 1:01 
GeneralRe: Progress Bar vc++ Pin
sudeep_br19-May-06 2:03
sudeep_br19-May-06 2:03 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 2:09
Naveen19-May-06 2:09 
GeneralRe: Progress Bar vc++ Pin
sudeep_br19-May-06 2:16
sudeep_br19-May-06 2:16 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 2:30
Naveen19-May-06 2:30 
GeneralRe: Progress Bar vc++ Pin
sudeep_br19-May-06 2:32
sudeep_br19-May-06 2:32 
GeneralRe: Progress Bar vc++ Pin
Naveen19-May-06 2:38
Naveen19-May-06 2:38 

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.