Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hide icons in task bar for forms in DLL

Posted on 1997-05-29
2
Medium Priority
?
426 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 150 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

Technology Partners: 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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

721 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