MFC线程内获取主窗口句柄

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

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