摘要: 当我们启动一个线程,并且要给线程函数传递的参数是窗口句柄时,我们应该这样做: HWND hHwnd = GetSafeHwnd(); HANDLE hThread; DWORd dwThreadId; hThread = ::CreateThread(NULL, 0, (LPTHREAD_START 阅读全文