Re: Forms: modal and stay-on-top



"Tom de Neef" <tdeneef@xxxxxxxx> wrote in message
news:45644d1c$0$334$e4fe514c@xxxxxxxxxxxxxxxxx
[...]
If you've been able to follow me this far: is there an easier way of
keeping the helpForm visible and accessible while opening modal forms
in the application?

If you've ever read the source to TCustomForm.ShowModal, you probably
got the same impression that I did (apart from the urge to re-examine
your breakfast): that Delphi uses its very own, very different way of
making forms modal.

One step in it is 'DisableTaskWindows', a procedure that appears to
walk all the windows of a thread and call DoDisableWindow on them.
Perhaps you could modify this code to not disable the help window?

Groetjes,
Maarten Wiltink


.