Solved

How do I disable the MaxButton on a MDIForm ?

Posted on 1997-07-01
2
295 Views
Last Modified: 2012-05-04
Hi !

How do I disable the MaxButton on a MDIForm, the property "BorderStyle" does not
exist like on a normal Form ?
Is there any API calls that I can make to disable it ????
How do I make that call ?

Thanks
  Johan
0
Comment
Question by:nubian
2 Comments
 

Accepted Solution

by:
jaalex earned 50 total points
ID: 1427952
As far as I know there is no way to turn off the Max button on the parent MDIform.  Now you can turn off the max button on a MDIChild form.   The reason for this is  that it is possible to have form that are larger than the MDIform.  The max box allows you to see everything.  Give me an Idea of what you are trying to do and maybe I can be of more help
0
 

Author Comment

by:nubian
ID: 1427953
Thanks for your answer.

What I'm trying to do is to make a MDIForm that can not be
resized ( bigger than a given size ). U are supposed t be able to  make the MDIForm smaller but not enlarge it in any way.
I've come so far that I've made a non resizeable form but the problem comes when the user hits the "MAXBUTTON", then everything falls apart.
Can you help me with that ?
       Johan
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Write data from SQL to CSV file - position 1 61
Specify ip address in my connection string for sas 2 59
Hide vba in gp 7 94
Passing a Text Box name to a Sub 6 96
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question