Peter, I posted the following question to the ooRexx Development team
Does the “ensureVisible” method of ooDialog use a Windows API to accomplish its goal or is this pure ooRexx code?
And here is the response I just received.
It uses a Windows API. What is done is that the DM_REPOSITION message is sent to the dialog window. This is a dialog specific message, not a general window message. (DM_ -> dialog message as opposed to WM_ -> window message.)
When a dialog gets this message it repositions itself so that it is completely on the screen (if it needs to.)
Hope this helps
Lee