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

Получить все Хенделы дочерных окон...?   Найти похожие ветки 

 
Deren   (2005-10-27 19:08) [0]

Как SPY++ делает?

Как получить все дочерные окна определенного окна
например "progman"


 
Sumor   (2005-10-27 23:05) [1]

Используй EnumChildWindows

program Program1;
uses windows;

var
hMain : Cardinal;

procedure Show(hWin : Cardinal; p:pointer);winapi;
Var Cap : Array[0..255] of char;
begin
GetWindowText(hWin, Cap, 256);
MessageBox(0, Cap, "Окно", 0);
end;

begin //main
 hMain := FindWindow(nil, "Мой компьютер");
 If hMain = 0 then Exit;
 EnumChildWindows(hMain, @Show, 0);
end.


 
Leonid Troyanovsky ©   (2005-10-28 08:45) [2]


> Sumor   (27.10.05 23:05) [1]
> Используй EnumChildWindows
..
> procedure Show(hWin : Cardinal; p:pointer);winapi;


function Show(hWin: HWND; p: LParam): Bool; stdcall;

--
Regards, LVT.



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

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



Память: 0.45 MB
Время: 0.063 c
3-1131211822
Дмитрий Молчанов
2005-11-05 20:30
2005.12.25
Как прикруть индексы к существующему DBF файлу


14-1133616555
VirEx
2005-12-03 16:29
2005.12.25
Щет! FoxMail после получения почты стал жестоко глючит!


2-1134039155
l2k
2005-12-08 13:52
2005.12.25
Скроулинг


2-1133954653
Id
2005-12-07 14:24
2005.12.25
IBDataSet.


2-1133679694
Lizz
2005-12-04 10:01
2005.12.25
Работа с TreeView




   Наверх