API窗口函数(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; .......
用户评论