http://sergworks.wordpress.com/2011/12/08/why-we-need-interfaces-in-delphi/ Why we need interfaces in Delphi. Posted on December 8, 2011 by Serg Objec Read More
posted @ 2016-03-05 00:18 findumars Views(323) Comments(0) Diggs(0)
http://www.xuebuyuan.com/1889769.html Classes单元的AllocateHWnd函数是需要传入一个处理消息的类的方法的作为参数的,原型: function AllocateHWnd(Method: TWndMethod): HWND; 很多时候,我们想要创建一 Read More
posted @ 2016-03-05 00:15 findumars Views(307) Comments(0) Diggs(0)
在delphi线程中实现消息循环 在delphi线程中实现消息循环Delphi的TThread类使用很方便,但是有时候我们需要在线程类中使用消息循环,delphi没有提供. 花了两天的事件研究了一下win32的消息系统,写了一个线程内消息循环的测试. 但是没有具体应用过,贴出来给有这方面需求的DFW Read More
posted @ 2016-03-05 00:12 findumars Views(741) Comments(0) Diggs(0)
http://blog.csdn.net/wishfly/article/details/3726985 你在主线程用了WaitForSingleObject,导致了消息循环的阻塞,界面假死。 然后在线程中调用了SetDlgItemText,而SetDlgItemText实际上调用的是SendMes Read More
posted @ 2016-03-05 00:11 findumars Views(962) Comments(0) Diggs(0)
http://www.txsz.net/xs/delphi/3/Windows%20%E6%B6%88%E6%81%AF%E6%9C%BA%E5%88%B6.htm Windows 消息机制 by machine 大家是不是很奇怪为什么我还没说到Delphi的控件呢? 不过不用着急,有关深入控件的内 Read More
posted @ 2016-03-05 00:09 findumars Views(1946) Comments(0) Diggs(0)