Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Displaying the child windows of an applicatin in the taskbar on minimizing

Posted on 2001-06-12
Medium Priority
Last Modified: 2010-04-06
hello experts,

I am developing a chat application where the
messages from each of the online members will
be displayed in the window specific to the
member. On getting a new message to a
particular window I want to display that
particular window in the taskbar with the window state 'wsMinimized'.Since these windows are the
child windows of the application,it can't be
displayed in the task bar as minimized instead
it will appear above the taskbar as minimized.

Can you help me with some source code?..
Question by:mrk_raj
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
LVL 17

Accepted Solution

geobul earned 600 total points
ID: 6180190
Define your child forms this way:

  TForm2 = class(TForm)
    { Private declarations }
    { Public declarations }
    procedure CreateParams(var Params:TCreateParams); override;

  Form2: TForm2;


{$R *.DFM}

procedure TForm2.CreateParams(var Params:TCreateParams);
 inherited CreateParams(Params);
 Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;

When you are showing that form do:

procedure TForm1.Button1Click(Sender: TObject);
  Form2.WindowState := wsMinimized;
  Form2.Visible := true;

Regards, Geo
LVL 17

Expert Comment

ID: 6181724
Is there something wrong with my proposal to award it using 'B' option? It was fast and complete, I think.

Regards, Geo

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

604 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