At 06:16 AM 6/25/2004 -0700, Larry Lustig wrote:
> How could I do the UDF?
I do most of my systems programming in Delphi. In that language, or in C or C++ you would have to call EnumWindows to iterate over the top level windows until you find one with the right class name for R:Base, then call EnumChildWindows to iterate over the children until you found a matching caption, then call the appropriate API function to focus the window.
Alternatively, there's probably an easier way to do this in VB using a script you could LAUNCH, although there might be a delay while the interpreter is loaded.
Question:
How the UDF would work if, for example, all three windows have the same caption or no caption?
The best option, I think, would be to enhance the SETFOCUS <alias> command to achieve the same goal as embedded function/command in RBG 7.x/8.x.
Very Best R:egards,
Razzak.
