Solved

Set the max MDIChild's window size

Posted on 1997-06-23
2
223 Views
Last Modified: 2006-11-17
The MDIchild window's size (windowstate) cannot be setting to Maximal (2). ( You "can" set it, but it don't work.) I found this problem in VB5.0 . But this problem never appeared in VB3.0/4.0. What should I do to set maximal windows size of MDIchild, or this is a bug of vb5.0 ?  
0
Comment
Question by:sccheng
[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
 
LVL 9

Accepted Solution

by:
cymbolic earned 20 total points
ID: 1427595
1) use a move method to resize midichild form based upon form size properties of your MIDI form.
2) This characteristic results from the Micorsoft development philosophy of "When it's fixed, break it!"
0
 

Author Comment

by:sccheng
ID: 1427596
This method might be useful to solve my problem. But I had found another method to do this. Calling the API function "showwindow"
. Such that window can show any size/style what we want.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
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…

739 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