SimpleEditorView.FContinueMessageLoop(UInt32, IntPtr, MSG[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在消息循环的每次迭代过程中调用。
public:
virtual int FContinueMessageLoop(System::UInt32 uReason, IntPtr pvLoopData, cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ pMsgPeeked);
public virtual int FContinueMessageLoop (uint uReason, IntPtr pvLoopData, Microsoft.VisualStudio.OLE.Interop.MSG[] pMsgPeeked);
abstract member FContinueMessageLoop : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.FContinueMessageLoop : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Overridable Function FContinueMessageLoop (uReason As UInteger, pvLoopData As IntPtr, pMsgPeeked As MSG()) As Integer
参数
- pvLoopData
-
IntPtr
nativeint
指向私有数据的指针。
返回
true 如果消息循环应继续,则 false 为; 否则为。
实现
注解
默认情况下,不实现此方法,只是返回 true 。
继承者说明
uReason 和 pvLoopData 是已传递到的 \private 数据 Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop 。 此方法在查看队列中的下一条消息之后、从队列中删除消息之前调用。 pMsgPeeked null 如果队列) 中没有消息,则扫视消息会传入参数 (。 当已从队列中删除下一条消息时,还可以调用此方法,在这种情况下, pMsgPeeked 将传递为 null 。 如果此方法返回 false ,则组件管理器将终止循环,而不 pMsgPeeked 从队列中移除。