Solved

MDI Application

Posted on 1998-05-19
4
194 Views
Last Modified: 2010-04-06
hi

In an MDI application, i want to create a child in the maximised state. i have done so by creating a child form and setting it's window state property to wsMaximized

this works well, but whenever i create the form, ie

  ChildForm := TChildForm.Create(Application);

it appears in a default size, then maximises.

is there anyway of displaying the child form directly in a maximised state, ie i don't want to see it maximising on the screen, but appear maximised when it is created.

Keith
0
Comment
Question by:keithcsl
  • 2
4 Comments
 
LVL 1

Author Comment

by:keithcsl
ID: 1346255
Edited text of question
0
 
LVL 1

Expert Comment

by:pjdb
ID: 1346256
If it's a problem of showing duration, you create it hidden and then make it visible

JDB
0
 

Accepted Solution

by:
jhunt earned 30 total points
ID: 1346257
Before you create the from:
LockWindowUpdate(ClientHandle);

After the form is crated and all handling is done
(file open etc..) then release the lock by:

LockWindowUpdate(0);

0
 
LVL 1

Author Comment

by:keithcsl
ID: 1346258
pjdb,
thanks for the comment. however, an MDI child form cannot be made not visible.

jhunt
thanks for the help...

regards
Keith
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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 121
Convert GUI app into console app for Win32 Env 5 110
Performance of SQL statement 37 128
shape, triangle, dbctrlgrid 3 17
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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