Solved

hide icons in task bar for forms in DLL

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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