PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD22] Name of all visible Windows (not in WX)
[WD22] Name of all visible Windows (not in WX)
Iniciado por guest, 19,jun. 2018 09:48 - 3 respuestas
Publicado el 19,junio 2018 - 09:48
Hi,

is there any function (or API call) to get the name of all currently opened windows (not the WX-windows).

I need this to check if there is a running application ....
Publicado el 19,junio 2018 - 14:26
Michael

Pls see functions as below:

API("user32", "FindWindowA", Null, Null)
API("User32", "GetWindow", nWindowHandle, GW_HWNDFIRST)
API("User32", "GetWindowThreadProcessId", nWindowHandle, &nIdProcess)
API("USER32", "IsWindowVisible", nWindowHandle)

and you have to loop thru to get all windows process running.

HTH

King
Publicado el 19,junio 2018 - 14:31
Hi Michael,

there is an example called WD APISystemes including what yo are looking for.

Best regards
Publicado el 19,junio 2018 - 15:40
Hi,

thx for your reply.

@Fabrice: That´s what I need