BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi application not honoring WinAPI's ShowWindow

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI
View previous topic :: View next topic  
Author Message
DML
Guest





PostPosted: Mon Sep 20, 2004 2:00 pm    Post subject: Delphi application not honoring WinAPI's ShowWindow Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.