The obtuse answer is don't use MDI... Have you tried SendMessage? >From: [EMAIL PROTECTED] (Rohit Gupta) >Reply-To: [EMAIL PROTECTED] >To: Multiple recipients of list delphi <[EMAIL PROTECTED]> >Subject: [DUG]: POSTMESSAGE >Date: Wed, 11 Aug 1999 15:46:22 > >I have a problem with this function. The window handle that it >requires can be :- > >1. Hwnd_broadcast - which means MDIchild windows dont get it > >2. null - which appears to mean noone gets it > >3. screen.activeform.handle - the mainform does not get it, only the >current window does > >4. application.handle - noone gets it > >5. application.mainform.handle - no one gets it > >6. getactivewindow - mainform gets it, MDI children dont get it > >So how do I get the message to percolate thru all the windows - >mainform and MDIchildren ? > >Any why do I always strike these limitations at testing time ? No >dont answer to this. :-) > >Regards > >Rohit > >====================================================================== >CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand >PH (649) 489-2280 >FX (649) 489-2290 >email [EMAIL PROTECTED] or [EMAIL PROTECTED] >====================================================================== > >--------------------------------------------------------------------------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz