Function GetWindowText overload(byval hWin As HWND) As String
Function GetWindowText overload(byval hWin as HWND, byval buf as LPSTR, byval lenBuf as integer) as Integer
Функция возвращает текст заголовка окна.
hWin - хендл окна
buf - указатель на буфер, куда будет возвращено значение
lenbuf - размер буфера
Windows , Linux
#Include "window9.bi"
Dim As Integer event
var hwnd=OpenWindow("Окно 1",20,15,200,200)
CenterWindow(hwnd)
MessBox("",GetWindowText(hwnd))
Do
event=WaitEvent()
If Event=EventClose Then End
Loop
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor