There is TWinControl.Broadcast( Message ),
but I think it suffers some of the same problems.
>From memory I wrote my own Application.Broadcast procedure - iterate through
the componets on the Application variable and for each TForm do a Broadcast(
Message );

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 12, 1999 3:46 AM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:        POSTMESSAGE
> 
> 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
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to