API窗口函数(delphi)

时间:2014-10-11 10:42:00
【文件属性】:
文件名称:API窗口函数(delphi)
文件大小:128KB
文件格式:DOC
更新时间:2014-10-11 10:42:00
delphi 窗口函数 API窗口函数(delphi) WinAPI: GetDesktopWindow - 返回桌面窗口的句柄 //声明: GetDesktopWindow: HWND; {无参数; 返回桌面窗口的句柄} ________________________________________ //举例: var h: HWND; begin h := GetDesktopWindow; ShowMessage(IntToStr(h)); end; ________________________________________ WinAPI: SetWindowText - 设置窗口标题 //声明: SetWindowText( hWnd: HWND; {窗口句柄} lpString: PChar {新标题串指针} ): BOOL; .......

网友评论

  • 不错,很好理解
  • 都是常用的函数,还有简短事例,不错。