Solved

Set the max MDIChild's window size

Posted on 1997-06-23
2
217 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
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…
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…

943 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

19 Experts available now in Live!

Get 1:1 Help Now