Prevent Or Disable Access Application Resize

threeo2

Registered User.
Local time
Today, 23:05
Joined
Feb 11, 2003
Messages
31
Is it possible to disable the "Resize" or "Restore Down" buttons in the Access application. In other words, not the form's controls but the main Access window?

Any suggestions?
 
You will have to delete the options in the SystemMenu of MsAccess with API-calls:

Dim hMenu As Long
Const SC_SIZE = &HF000
Const MF_BYCOMMAND = &H0
hMenu = GetSystemMenu(hWndAccessApp, 0)
Call DeleteMenu(hMenu, SC_SIZE, MF_BYCOMMAND)
 
jvangils, forgive my ignorance but I'm a newbie. Where would I paste the above code? Thanks for the reply.
 

Users who are viewing this thread

Back
Top Bottom