Solved

How do I disable the MaxButton on a MDIForm ?

Posted on 1997-07-01
2
280 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now