Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Mar : Quasi- Modal Form?

www.cryer.info
Managed Newsgroup Archive

Quasi- Modal Form?

Subject:Quasi- Modal Form?
Posted by:"Andrew Fiddian-Green" (ho ho ho)
Date:Thu, 31 Mar 2005 00:46:17

I need to show a form on top of my application using TForm.Show; but even
though the form is not actually a modal form, I want it to prevent keyboard
inputs and mouse clicks from being sent to going to the underlying forms

i.e. I want it to behave like a modal form for keyboard inputs and mouse
clicks, but to behave like a non modal form for all other intra-application
message handling.

I seem to recall once having seen a way to do this by overlaying the
application window with a transparent window that swallows all mouse and
keyboard activity, and responds with a "beep". => Any ideas?

Regards,
AndrewFG

Replies:

www.cryer.info
Managed Newsgroup Archive