上一页 1 ··· 148 149 150 151 152 153 154 155 156 ··· 215 下一页
摘要: 本例效果图: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, Grids; type TForm1 = class(TForm) TreeView1: T... 阅读全文
posted @ 2008-03-12 01:59 万一 阅读(5923) 评论(8) 推荐(0)
摘要: 获取方法: 运行: tdump.exe C:\windows\system32\winmm.dll c:\temp\winmm.txt CloseDriver DefDriverProc DriverCallback DrvGetModuleHandle GetDriverModuleHandle MigrateAllDrivers MigrateSoundEvents NotifyCallb... 阅读全文
posted @ 2008-03-11 23:51 万一 阅读(2663) 评论(0) 推荐(0)
摘要: 获取方法: 运行: tdump.exe C:\windows\system32\gdi32.dll c:\temp\gdi32.txt AbortDoc AbortPath AddFontMemResourceEx AddFontResourceA AddFontResourceExA AddFontResourceExW AddFontResourceTracking AddFontReso... 阅读全文
posted @ 2008-03-11 23:49 万一 阅读(6698) 评论(2) 推荐(0)
摘要: 获取方法: 运行: tdump.exe C:\windows\system32\gdiplus.dll c:\temp\gdiplus.txt GdipAddPathArc GdipAddPathArcI GdipAddPathBezier GdipAddPathBezierI GdipAddPathBeziers GdipAddPathBeziersI GdipAddPathClosedCu... 阅读全文
posted @ 2008-03-11 23:46 万一 阅读(7329) 评论(4) 推荐(0)
摘要: 本例效果图: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls; type TForm1 = class(TForm) TreeView1: TTreeVie... 阅读全文
posted @ 2008-03-11 15:14 万一 阅读(8322) 评论(3) 推荐(0)
摘要: 本例效果图: 源码: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls; type TForm1 = class(TForm) TreeView1: TT... 阅读全文
posted @ 2008-03-11 02:44 万一 阅读(8427) 评论(7) 推荐(0)
摘要: 填写 TTreeView 的内容一般是这样开始的(下图), 不过我觉得最好习惯用动态建立. 打个比方: 譬如 TreeView 是一个军营的"营部"! 这里会有营长、连长、排长、班长、战士等等. 我们把它们分成三种对象: 营部、营长(总当家)、营长的下属. 在这里的对应关系是: TTreeView - 营部 TTreeNodes - 营长 TTreeNode - 营长的下属 上面... 阅读全文
posted @ 2008-03-10 14:56 万一 阅读(10275) 评论(27) 推荐(0)
摘要: //声明: {返回进程的句柄} OpenProcess( dwDesiredAccess: DWORD; {访问选项} bInheritHandle: BOOL; {能否继承; True 表示能用 CreateProcess 继承句柄创建新进程} dwProcessId: DWORD {指定进程 ID} ): THandle; {成... 阅读全文
posted @ 2008-03-10 12:19 万一 阅读(18446) 评论(17) 推荐(0)
摘要: //声明: GetWindowThreadProcessId( hWnd: HWND; {指定窗口句柄} lpdwProcessId: Pointer = nil {返回进程 ID 的指针} ): DWORD; {返回线程 ID} //举例: unit Unit1; interface uses Wi... 阅读全文
posted @ 2008-03-10 11:59 万一 阅读(18174) 评论(1) 推荐(0)
摘要: {返回当前线程的虚拟句柄} GetCurrentThread: THandle; {返回当前线程 ID} GetCurrentThreadId: DWORD; {返回当前进程的虚拟句柄} GetCurrentProcess: THandle; {返回当前进程 ID} GetCurrentProcessId: DWORD; 提示: ID 是系统唯一的标识. 所谓虚拟句柄, 就是该句柄只... 阅读全文
posted @ 2008-03-10 10:43 万一 阅读(19955) 评论(0) 推荐(0)
上一页 1 ··· 148 149 150 151 152 153 154 155 156 ··· 215 下一页