...用户是否用到了这些事件,当对象被创建起来时就得付出这些成本,这在窗口应用程序上更显得可怕,因为Window Message(窗口消息)的数量以千为单位,假如一个简单的窗口程序就必须付出相对于Windows Message数量的变量成本,这样一来对象岂不成了庞然大物了。
基于228个网页-相关网页
...用户是否用到了这些事件,当对象被创建起来时就得付出这些成本,这在窗口应用程序上更显得可怕,因为Window Message(窗口消息)的数量以千为单位,假如一个简单的窗口程序就必须付出相对于Windows Message数量的变量成本,这样一来对象岂不成了庞然大物了。
基于12个网页-相关网页
应用程序可以使用其它手法来实现。但窗口消息通常会更为简单。
An application can use either technique. Window notification is usually simpler.
窗口消息和异常的处理是多个不同窗口之间如何相互通信的问题。
The process of Windows messages and exceptions is how various Windows communicate with each other.
在处理窗口消息时,系统已经切换到线程A。 这是验证窗口对象的有效性会成功。
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.
应用推荐