Size form to access window height.

G

Guest

Hope someone can help.

I am trying to size a form at runtime to the height of the
visible area within access to give the appeareance of a
docked window.

Using apiGetWindowRect I can successfully retrieve the
settings BUT the height includes the menubar(s) that are
visible which means that when I set the height it is too
large for the client area and a scroll bar then appears.

Does anyone know how I can take the menubar(s) into
consideration?

Thanks

Nathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top