Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WMDIChild:Send() Method
Send a message to the object
------------------------------------------------------------------------------

Syntax
<oWnd>:Send( <cCmd>, <xValue> )   -->   xRet

Arguments
<cCmd> is the message to send.

<xValue> is any value to pass as a parameter to the message.

Returns
The value returned is not usually used.

Description
This method can be used to send an object a message determined
at run-time.  It is mainly used when a menu item is chosen.
If the message does not exist in the object, it is sent to the
MDI frame.  This mechanism lets you handle messages in the
most appropriate place.

Example
oWnd:Send( "Close", x )  // same as oWnd:Close( x ), if it has a Close()


See Also: WFrameWindow:Send() WAppBase:Send() WMenuBase:Send()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson