Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need to get the list of applications working
Message
De
09/10/2000 07:39:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
I need to get the list of applications working
Divers
Thread ID:
00426736
Message ID:
00426736
Vues:
64
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
Fil
Voir

Click here to load this message in the networking platform