 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DML Guest
|
Posted: Mon Sep 20, 2004 2:00 pm Post subject: Delphi application not honoring WinAPI's ShowWindow |
|
|
I have a Delphi application that has been accused of not honoring the
WinAPI call to ShowWindow when SW_HIDE is passed in as a parameter.
My application is being launched from another application, which was
written in C#. That other application starts a process (my Delphi
app), then calls ShowWindow with the handle to my application and the
SW_HIDE parameter.
The problem is that the icon is removed from the taskbar as it
should be, but the main window is not removed from the screen. If
the same calls are made to an application like notepad.exe, ShowWindow
with the SW_HIDE parameter works perfectly.
In searching for this answer on this newsgroup, I haven't been
able to find any similar question with an answer. Other questions
involve using a Delphi application to hide another program, but not
the trouble I'm having in hiding a Delphi app. It certainly seems to
be a flaw in Delphi's interface to the WinAPI. Are there any
workarounds for this?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|