Hi Curt, I don't use TopMost at all. I've used it before and you are right, it's not as one would expect. Far better to use Owned was what I found.
On 12/6/07, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > > On 12/5/07, Jason Nah <[EMAIL PROTECTED]> wrote: > > > > Firstly, has anybody experienced this sort of thing and how did they go > > about fixing it? I'm tempted to rip up all my modal dialog code and just > go > > modaless - and rely on callbacks and states rather than on deterministic > > 'blocking' and handle user input blocking myself. Seems a bloody awful > waste > > of time - to have to re-implement modality though. > > Other than parenting issues, the only time I've seen this kind of > problem is when Form.TopMost is set. A modal dialog whose owner is > TopMost should also get the TopMost flag -- but I've seen cases where > it's not set properly. > > TopMost is evil and should be avoided in any event :). > > -- > Curt Hagenlocher > [EMAIL PROTECTED] > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Cheers, Jason =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com