Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : capture change in ShowState

www.cryer.info
Managed Newsgroup Archive

capture change in ShowState

Subject:capture change in ShowState
Posted by:"Marc Pelletier" (marc@stopspam.goldak.ca)
Date:23 Nov 2006 12:53:33

Hello,

I have a tool that I load into another app via their api. My form gets
parented to something with a classname of 'AfxWnd70u', which seems to be a
panel of some sort with an X button in the corner. If the user presses the
X my tool disappears. It doesn't get closed, deactivated, resized, or any
other event I can think of. The visible property of my form is true, but
the Windows.IsWindowVisible method returns false.

I want to know when this visible state changes. Obviously I have to capture
a windows message, but which one?

Any ideas?

Thanks,

Marc Pelletier
Goldak Airborne Surveys

Replies:

www.cryer.info
Managed Newsgroup Archive