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

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

Arguments
<hWnd> is the handle to the window.

<hWndMDIClient> is the handle to the MDI client 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 frame 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 a window procedure, you register a window class with a
code block to act as a window procedure, and specify
RCF_MDIFRAME.  When you create a frame window and subsequently
get sent messages, you can use this function to pass unwanted
messages along to the default frame window procedure.

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

See Also: RegisterClass() CreateWindow() DefMDIChildProc()

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