cwnd 又为计算机网络中拥塞窗口(congestion window)的简写。拥塞窗口的大小取决于网络的拥塞程度,并且动态地在变化。发送方让自己的发送窗口还可能小于拥塞窗口。
其中公共成员保存了窗口指针 m_pMainWnd 保存指向应用程序的主窗口的指针 (CWnd) m_pActiveWnd 当前活动窗口指针(CWnd) 这样你就可以调用窗口的方法了. 不过我个人还是觉得你发消息比较好一些,消息传递参数可以通过无符号指针的切换来解决.
基于60个网页-相关网页
When these messages are processed, you are back in the context of thread A and calls to CWnd::AssertValid() to check thread A's window handle maps will succeed.
在处理窗口消息时,系统已经切换到线程A。 这是验证窗口对象的有效性会成功。
Points to the parent window object (of type CWnd) to which the dialog object belongs. If it is NULL, the dialog object's parent window is set to the main application window.
指向含有对话框地父窗口对象地指针。假如为NULL,对话框对象地父窗口设置为应用地主窗口。
应用推荐