I found the following code on the web which disables the MDI X control:
Option Explicit
Private Const MF_BYPOSITION = &H400
Private Const MF_REMOVE = &H1000
Private Declare Function DrawMenuBar Lib "user32" _
(ByVal hwnd As Long) As Long
Private Declare Function GetMenuItemCount...
What seems to work is accessing the form within the application but not making it a child form. Do you know how to disable the form controls (maximize, minimize and close) of an MDI form?
Thanks for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.