Hi again swas,
I've seen the follow-up to my reply posted by Stuart McCall, and that may
help you.
But if it doesn't, I'm sorry that I can't help further. Except for these
comments (on an area that I'm not exactly expert in):
The API I referenced will return either the overall windowsize available to
the application (if it's maximized - via the call
fGetSysStuff("windowsize") ), or the screen resolution (via the call
fGetSysStuff("resolution") ); the first of these take into account any
system toolbars which are present. In either case, you can easily parse the
returned values to give you the horizontal and vertical screen space
available. Note that neither of these calls will return the actual screen
space used by the current instance of your Access application.
There are other code examples that may be useful, such as
http://www.mvps.org/access/forms/frm0042.htm. And browsing the Access Web
site may also help. I must say that I don't really understand what you mean
by "to the right of the main window, out of the way of other Access forms".
If your instance of Access which is running happens to maximized, there will
be no space "to the right of the main window". I suspect that if you are
trying to force a form to appear outside the current Access window's space
you will be out of luck - I don't think it's possible. Maybe an MVP, or
other contributor, may be able to offer further enlightment.
Again, HTH,
Rob