Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I disable the MaxButton on a MDIForm ?

Posted on 1997-07-01
2
Medium Priority
?
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
jaalex earned 100 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

704 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