General information
Category:
Windows API functions
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only