MFC线程内获取主窗口句柄

CWnd* h_q = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄

posted @ 2016-04-07 10:37  hellohyi  阅读(541)  评论(0编辑  收藏  举报