Solved

How to avoid flickering when creating MDI child forms as wsMaximized?

Posted on 2002-03-08
2
776 Views
Last Modified: 2012-05-05
I have an MDI child form (derived from TForm), whose WindowState property is set to wsMaximized (by using the object inspector).

When I create it from my MDI parent form ( TMDIChild.Create(Self); ), it first shows up with not the maximized state and just after that it becomes maximized. This causes annoying flickering and my question is how to avoid this?

My Delphi version is Delphi 6 Pro.
0
Comment
Question by:Kelmi
[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:
ginsonic earned 100 total points
ID: 6852338
Read this tip :

'How to avoid flicker when moving or sizing a MDI child form'

http://www.lmc-mediaagentur.de/dpool/tips06/0532.htm
0
 

Author Comment

by:Kelmi
ID: 6852748
Thanks for the link you gave.

I noticed that the LockWindowUpdate block works best when you use it round the whole MDI child form's create statement, like: (I call this from my MDI parent form)

  LockWindowUpdate(ClientHandle);
  TMDIChildForm.Create(Self);
  LockWindowUpdate(0);

If you use the LockWindowUpdate block inside MDI child form's constructor, some flickering still exists. I don't know why.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

691 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