Solved

How do I disable the MaxButton on a MDIForm ?

Posted on 1997-07-01
2
309 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

680 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