Вниз
Скачать: CL | DM;

как узнать чужой заголовок главной формы   Найти похожие ветки 

← →
buben ©   (2007-05-13 04:16) [0]

знаю только хэндл этой самой формы.


← →
Джо ©   (2007-05-13 06:16) [1]

Пренебрегая неточностями в вопросе, рискну:
GetWindowTextLength,
GetWindowText.


← →
DVM ©   (2007-05-13 11:02) [2]

Вот так как-то:


function GetTextFromWindow(hWnd: HWND): string;
var
 TextLength: integer;
 Text: PChar;
begin
 TextLength := GetWindowTextLength(hWnd) + 1;
 GetMem(Text, TextLength);
 try
   GetWindowText(hWnd, Text, TextLength);
   Result := Text;
 finally
   FreeMem(Text, TextLength);
 end;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.014 c
2-1193394735
kaktus
2007-10-26 14:32
2007.11.18
Уважаемые, дайте совет.


3-1183714878
Xmen
2007-07-06 13:41
2007.11.18
Delphi+FireBird и Диалект


2-1193294118
mrFreeman2007
2007-10-25 10:35
2007.11.18
Использование DLL


2-1193686793
VDnn
2007-10-29 22:39
2007.11.18
TExcelApplication


15-1192303418
ProgRAMmer Dimonych
2007-10-13 23:23
2007.11.18
Вопрос по русскому языку




   Наверх