Solved

hide icons in task bar for forms in DLL

Posted on 1997-05-29
2
419 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
[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
 

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

734 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