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

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

Arguments
<nProc> is a value returned previously by SubClassWindow().

<hWnd> is the handle to the window that was subclassed.

<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, from the window procedure identified by
<nProc>.

Description
When you subclass a window and subsequently get sent messages,
you can use this function to pass unwanted messages along to
the original window procedure.

If you have any previous knowledge of window subclassing, you
might be tempted to use SetWindowLong() with GWL_WNDPROC.
That's OK if you're using C, but not for Clipper code.

Example
See SubClassWindow(), source\od.prg, source\addmgr\.

See Also: SubClassWindow()

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