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 - <b>defmdichildproc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DefMDIChildProc()
Pass a message to the default MDI child window procedure
------------------------------------------------------------------------------

Syntax
DefMDIChildProc( <hWnd>, <nMsg>, <nwParam>, <nlParam> )   -->   nResult

Arguments
<hWnd> is the handle to the MDI child window.

<nMsg> is the message (one of the WM_* values defined in
WINDOWS.CH).

<nwParam> depends on <nMsg>.

<nlParam> depends on <nMsg>.

Returns
A numeric value, returned by the default MDI child window
procedure.

Description
This is the "traditional" way to program Windows MDI
applications.  It is allowed (but not required) with Clip-4-Win,
but is not necessarily the easiest way to program.

To use an MDI child window procedure, you register a window
class with a code block to act as a window procedure, and
specify RCF_MDICHILD.  When you create a child window and
subsequently get sent messages, you can use this function to
pass unwanted messages along to the default window procedure.

Example
See source\mdismall.prg and source\mdidemo.prg.

See Also: RegisterClass() CreateWindow() DefFrameProc()

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