向上帝打申请了,下辈子再也不做程序员!! 上帝批复:OK!
如果QQ在托盘显示,则可以在托盘中查找。uses CommCtrl,ShellAPI;var id: array[0..100] of integer;{$R *.dfm}procedure TFrmTray.FormCreate(Sender: TObject);var v_hShellTray: THandle; v_hTrayNotify: THandle; v_hToolBar: THan... Read More
posted @ 2010-05-17 08:59 zywuhao Views(499) Comments(0) Diggs(0)
1.CreateProcess因为使用复杂,比较少用。 2.WinExec主要运行EXE文件。如:WinExec(’Notepad.exe Readme.txt’, SW_SHOW); 3.ShellExecute不仅可以运行EXE文件,也可以运行已经关联的文件。 首先必须引用shellapi.pas单元:uses ShellAPI; 1).标准用法   ShellExec... Read More
posted @ 2010-05-17 08:58 zywuhao Views(542) Comments(0) Diggs(0)
准备工作: 在空白窗体上添加 Button 和 Timer, 并分别激活它们的默认事件. Read More
posted @ 2010-05-17 08:47 zywuhao Views(264) Comments(0) Diggs(0)