Detecting if an access form is maximized

G

Guest

You can use the WinAPI IsZoomed() function.

Add the follwing declaration in a Standard Module:

Declare Function IsZoomed Lib "user32" ( _
ByVal hwnd As Long) As Long

To check whether Form Object F is maximized or not, use
 

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