thread_handle = CreateThread(NULL,1024,MainThread,this,0,&threadID);
DWORD WINAPI MainThread(PVOID arg) { CMPIO_A2D_Carrier_UtilityDlg *obj = (CMPIO_A2D_Carrier_UtilityDlg *)arg; while(1) { obj->m_Messages.SetWindowText(_T("Hello...\r\nthis \r\n is a test\r\n")); obj->UpdateData(FALSE); Sleep(1000); } return(0); }
PostMessage
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)