The message will be dispatched to the window's procedure on window creation thread, that is on STA thread and the message handler would be a safe place to fire COM event from.
该消息将被派遣到在窗口创建线程窗口的程序,即在STA线程和消息处理程序将火COM事件从安全的地方。
An event handler is a procedure, but the event itself is a signaling device, which must be raised and handled.
事件处理常式是一个程序,但是事件本身则是必须引发和处理的信号装置。
An event handler is a procedure in your code that determines what actions are performed when an event occurs, such as when the user clicks a button or a message queue receives a message.
事件处理常式是程序码中的程序,它会决定当事件发生时所要执行的动作,例如,当使用者按一下按钮时,或是当讯息伫列收到讯息时。
In your application design, you may find it necessary to use a single event handler for multiple events or have multiple events perform the same procedure.
设计应用程序时,您可能会发现多个事件必须使用同一个事件处理常式,或是多个事件会执行相同的程序。
In your application design, you may find it necessary to use a single event handler for multiple events or have multiple events perform the same procedure.
设计应用程序时,您可能会发现多个事件必须使用同一个事件处理常式,或是多个事件会执行相同的程序。
应用推荐