Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
zahid_ash17-May-06 0:17
zahid_ash17-May-06 0:17 
GeneralRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
Alton Williams17-May-06 2:46
Alton Williams17-May-06 2:46 
AnswerRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
Sarath C17-May-06 0:20
Sarath C17-May-06 0:20 
GeneralRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
NiceNaidu17-May-06 2:49
NiceNaidu17-May-06 2:49 
AnswerRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
Alton Williams17-May-06 3:00
Alton Williams17-May-06 3:00 
QuestionRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
David Crow17-May-06 3:22
David Crow17-May-06 3:22 
QuestionOutlook _ContactItem Display() function Pin
mhammans16-May-06 23:33
mhammans16-May-06 23:33 
QuestionAccessing values from dialog window Pin
VinayCool16-May-06 23:32
VinayCool16-May-06 23:32 
Hi,,

I am retriving the some values frm previous window and storeing them the dialog
i want to access those values in the thread function how to do that ???

below code i am seting the values for m_ctrlSNAME & m_ctrlSLOCATION which are displyed correctly i want to access these values in thread function but the values are not getting added to loc,can u please help me with this...


BOOL CStatusDlg::OnInitDialog()
{ CDialog::OnInitDialog();


m_ctrlSNAME.SetWindowText(sfile);
m_ctrlSLOCATION.SetWindowText(slocation);


HANDLE hr;
hr = CreateThread(NULL,0,(unsigned long (__stdcall *)(void *))WorkerThreadProc,this,0,0);

return TRUE;
}
------------------

UINT WorkerThreadProc(LPVOID Param)
{
CStatusDlg status;

CString loc = status.slocation + status.sfile;
--
---
}

Regards,
Vinay Charan.
AnswerRe: Accessing values from dialog window Pin
Cedric Moonen16-May-06 23:50
Cedric Moonen16-May-06 23:50 
GeneralRe: Accessing values from dialog window Pin
VinayCool17-May-06 2:21
VinayCool17-May-06 2:21 
GeneralRe: Accessing values from dialog window Pin
Russell'17-May-06 3:24
Russell'17-May-06 3:24 
GeneralRe: Accessing values from dialog window Pin
VinayCool17-May-06 20:17
VinayCool17-May-06 20:17 
AnswerRe: Accessing values from dialog window Pin
VinayCool17-May-06 21:19
VinayCool17-May-06 21:19 
AnswerRe: Accessing values from dialog window Pin
David Crow17-May-06 3:25
David Crow17-May-06 3:25 
GeneralRe: Accessing values from dialog window Pin
VinayCool17-May-06 20:19
VinayCool17-May-06 20:19 
AnswerRe: Accessing values from dialog window Pin
VinayCool17-May-06 21:18
VinayCool17-May-06 21:18 
QuestionTitle for customised menu's child menu. Pin
Swati_18816-May-06 23:30
Swati_18816-May-06 23:30 
QuestionFile or Folder Pin
Anil_vvs16-May-06 23:10
Anil_vvs16-May-06 23:10 
AnswerRe: File or Folder Pin
kk.tvm16-May-06 23:12
kk.tvm16-May-06 23:12 
AnswerRe: File or Folder Pin
Mila02516-May-06 23:18
Mila02516-May-06 23:18 
AnswerRe: File or Folder Pin
Cool Ju16-May-06 23:36
Cool Ju16-May-06 23:36 
AnswerRe: File or Folder Pin
Hamid_RT17-May-06 1:03
Hamid_RT17-May-06 1:03 
QuestionDiff btwn int *p=NULL & int *p=0; ?? Pin
G Haranadh16-May-06 22:49
G Haranadh16-May-06 22:49 
AnswerRe: Diff btwn int *p=NULL & int *p=0; ?? Pin
Cedric Moonen16-May-06 22:56
Cedric Moonen16-May-06 22:56 
AnswerRe: Diff btwn int *p=NULL & int *p=0; ?? Pin
Nibu babu thomas16-May-06 23:00
Nibu babu thomas16-May-06 23:00 

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.