Solved

How do I disable the MaxButton on a MDIForm ?

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month5 days, 21 hours left to enroll

626 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