Solved

hide icons in task bar for forms in DLL

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
indy Tmemory stream non latin charcter issue 2 121
how to center only a line in richedit? 4 61
Create Database on Android via Delphi dbExpress 3 108
Delphi 2 68
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 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