/* 窗口样式参考列表(都是GetWindowLong的GWL_STYLE风格,都是TCreateParams.Sytle的一部分),详细列表如下:https://msdn.microsoft.com/en-us/library/windows/desktop/ms632600(v=vs.85).a Read More
posted @ 2015-08-18 17:57 findumars Views(1956) Comments(0) Diggs(0)
The component below works perfectly, except for the following problem: 1) Saves the component below in a file "trancomp.pas".Then, install this compon Read More
posted @ 2015-08-18 17:55 findumars Views(3001) Comments(1) Diggs(0)
子窗体显示在任务栏时,procedure Tfrm_SendSmartMsg.CreateParams(var Params: TCreateParams);begin inherited; Params.WndParent := 0;end;这时子窗体会在任务栏有单独的按钮,如果这时这个子窗体上又... Read More
posted @ 2015-08-18 17:50 findumars Views(668) Comments(0) Diggs(0)
H:=FindWindow('Tfrm_MainForm','aa'); if H>0 then begin ShowWindowAsync(h,SW_MAX); SetForegroundWindow(h); end;参考:http://m.blog.csdn.net/blog/fghydx/... Read More
posted @ 2015-08-18 17:42 findumars Views(2247) Comments(0) Diggs(0)
本文试着从分析Synchronize同步执行的实现机制入手,来解决DLL/ActiveForm中线程同步的问题。 线程中进行同步时调用的Synchronize函数,仅仅是把调用调用线程、调用方法地址、异常对象封装在一个同步结构中,然后调用处理同步结构的类方法Synchronize。 proced... Read More
posted @ 2015-08-18 17:40 findumars Views(376) Comments(0) Diggs(0)