WPF对应的C#程序有时需要与Window32程序进行通信,会使用到窗口过程函数来接受Windows消息。 引入 System.Windows.Interop 命名空间,将使用到其中的 HwndSource 使用实例如下: // Add an event handler that receives all window messages, // 该函数的调用必须要当前程序的 MainWin
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有