Solved

hide icons in task bar for forms in DLL

Posted on 1997-05-29
2
399 Views
Last Modified: 2010-04-06
I have an application with a main form and some more forms in DLLs. When I use my DLL forms, I hide my mainform. Each DLL form shown produces an icon in the taskbar.
How do you hide the icons in the task bar for the DLL forms, leaving only the icon for the mainform, such that when I minimize a DLL form, I can restore it by clicking on the mainform icon in the taskbar.
0
Comment
Question by:chrisyap
2 Comments
 

Accepted Solution

by:
batsoft earned 50 total points
ID: 1336649
If these DLL's created with Delphi you should give an application.Handle to DLL and at initialization of DLL give this handle to Handle property of Application in DLL.
Example:
 {In DLL }
 procedure Entry01(Handle:Integer);stdcall;
 begin
  Application.Handle := Handle;
  MyFOrm := TMyForm.Create(Application);
 {MyForm will be child window of application }
end;
0
 

Author Comment

by:chrisyap
ID: 1336650
Thanks, that works. But could I have the child windows minimize to the same icon in the task bar instead of a little window title bar at the bottom of the screen?
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

Suggested Solutions

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 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

16 Experts available now in Live!

Get 1:1 Help Now