获得窗口的方式
http://blog.csdn.net/xgx198831/article/details/6679064
还有只用 (CMydlg*)afxgetapp()->getmainwnd()->xx;
如果是写子线程时候,可以在在creatthread中传递this给lpthread_start_routine LPARAM;
http://blog.csdn.net/xgx198831/article/details/6679064
还有只用 (CMydlg*)afxgetapp()->getmainwnd()->xx;
如果是写子线程时候,可以在在creatthread中传递this给lpthread_start_routine LPARAM;