AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别
来源:互联网 发布:linux ide 编辑:程序博客网 时间:2024/04/29 13:33
在多线程程序中
AfxGetApp()->m_pMainWnd 应用程序主线程的句柄,在一个多线程应用程序中是唯一的
AfxGetMainWnd() 调用线程的句柄,暨当前语句所在线程的句柄,不唯一。
If AfxGetMainWnd is called from the application's primary thread, it returns the application's main window according to the above rules. If the function is called from a secondary thread in the application, the function returns the main window associated with the thread that made the call.
0 0
- AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别
- AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别
- AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别
- AfxGetApp()->m_pMainWnd和AfxGetMainWnd()
- 多线程中AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别?
- 多线程中AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别?
- AfxGetMainWnd与AfxGetApp->m_pMainWnd
- AfxGetApp()->GetMainWnd()和AfxGetMainWnd()的区别
- AfxGetApp()->GetMainWnd()和AfxGetMainWnd()的区别
- AfxGetApp()->GetMainWnd与AfxGetMainWnd的区别
- AfxGetMainWnd ,GetDocument ,AfxGetApp ,GetActiveDocument区别
- AfxGetApp和AfxGetMainWnd 用法举例
- afxgetapp->afxmainwnd 与afxgetmainwnd的区别 /线程中调用afxgetmainwnd的问题
- AfxGetApp()->m_pMainWnd
- AfxGetApp->GetMainWnd()与AfxGetMainWnd的不同
- 得到视图的句柄((CFrameWnd*)(AfxGetApp()->m_pMainWnd))->GetActiveView()->m_hWnd;
- AfxGetApp->GetMainWnd()与AfxGetMainWnd
- AfxGetApp->GetMainWnd()与AfxGetMainWnd
- iOS网络编程层次模型
- 数学能力测试
- maven 项目构建
- .vimrc的设置
- leetcode002:Add Two Numbers
- AfxGetApp()->m_pMainWnd和AfxGetMainWnd() 的区别
- Lua 字符串查找函数 string.find(s, pattern [, init [, plain]] )
- mac os 10.10以上安装win系统,mac下搞个GPT分区表的磁盘
- nginx fpm
- 黄金法则&retainCount
- POJ 2187 Beauty Contest(凸包_旋转卡壳之最远点对)
- 网络字节转换inet_aton & inet_ntoa & inet_addr和inet_pton
- 【DP+SPFA】【ZJOI2006】【bzoj1003】【cogs1824】物流运输trans
- 图示rfid系统组成及其功能