
GUI 开发
文章平均质量分 64
lyrebing
这个作者很懒,什么都没留下…
展开
-
Grasp WPF with key points
When the Windows Presentation Foundation (WPF) first appeared , most of the articles and demo applications touted its superb rendering engine and 3D capabilities. That does not demonstrate the powerfu原创 2011-07-08 15:48:53 · 761 阅读 · 0 评论 -
在WinForm应用程序中嵌入WPF控件
我们知道,在WPF界面上添加WinForm的控件需要使用WindowsFormHost类。而在WinForm界面上添加WPF控件该如何做呢?有没有类似的类呢?明显是有的,ElementHost就是为了在WinForm应用程序中嵌入WPF元素而定义的。它继承自System.Windows.Forms.Control,是一个WinForm控件,但它知道如何显示WPF内容。 接下来演示如何使用E原创 2011-04-12 10:06:00 · 6765 阅读 · 0 评论 -
ActiveX整理
一:ActiveX控件(VC++深入详解) 1:ActiveX控件是基于com的,其后缀名一般是ocx,但也可以是其它的,如dll.一个典型的Activex控件,它具有方法,属性和事件这三种特性,一个OCX文件中可以包括多个ActiveX控件.所有的ActiveX控件必须在注册之后才能使用.ActiveX控制是OLE控制的更新版本,即AcitveX控件以前叫做OLE控件. 2:转载 2011-09-01 11:19:56 · 1101 阅读 · 0 评论 -
Windows消息循环
Windows 程序是以消息为基础,以事件驱动的 (message based, event driven) ,用户的操作如移动鼠标,敲击键盘等动作可看成是事件 Event, 这些事件会产生相应的消息,这些消息为硬件设备产生的消息,会被放在 System queue 中。除此之外, Windows 系统或其它 Windows 程序也有可能传送消息到Application queue 中2015-11-27 09:59:25 · 270 阅读 · 0 评论 -
Windows UI 消息循环
Windows 程序是以消息为基础,以事件驱动的 (messagebased, event driven) ,用户的操作如移动鼠标,敲击键盘等动作可看成是事件 Event, 这些事件会产生相应的消息,这些消息为硬件设备产生的消息,会被放在 System queue 中。除此之外, Windows 系统或其它 Windows 程序也有可能传送消息到Application queue 中,当然原创 2015-11-27 11:22:07 · 636 阅读 · 0 评论 -
线程安全的.Net UI
一、为什么要考虑Window UI的线程安全问题?Access to Windows Forms controls is not inherently thread safe. Ifyou have two or more threads manipulating the state of a control, it ispossible to force the control into a原创 2015-11-27 17:10:50 · 413 阅读 · 0 评论