I'm new to Powerbuilder Programming, so I come up with a simple question.
How can I pass a function as an argument to another function?
What I want to do is:
I want to get a list of all windows (including dialogs) that are visible on the screen. Therefore I use the API-function
long EnumWindows(long hwnd, long lParam) library 'user32.dll'
To this function I have to provide a callback function (as first parameter) that is called if EnumWindows() finds a window.
It should look somehow like this: EnumWindows(ADDRESS_OF(of_myCallback), 0)