Information générale
Catégorie:
Fonctions Windows API
Titre:
I need to get the list of applications working
What is wrong here
Thanks
DECLARE INTEGER GetWindow IN win32api ;
INTEGER ncurr_window_handle, ;
INTEGER ndirection
DECLARE INTEGER GetWindowText IN win32api ;
INTEGER n_win_handle, ;
STRING @ cwindow_title, ;
INTEGER ntitle_length
DECLARE INTEGER EnumWindows IN win32api ;
INTEGER lpEnumFunc, ;
INTEGER lparam
ret = EnumWindows(EnumWindowsProc(), 0)
FUNCTION EnumWindowsProc(hwnd, lParam)
? hwnd
buffer = SPACE(255)
cWinCap = GetWindowText(hwnd, buffer, LEN(buffer))
RETURN 1
ENDFUNC
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement