Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - changeproc() changes the procedure of a window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ChangeProc()           Changes the procedure of a Window
--------------------------------------------------------------------------------

   Syntax:              ChangeProc( <hWnd> )  --> <nOldProc>

                        This function replaces the procedure that controls
                        the behavior of a function, for a FiveWin special one.

                        RestProc() replaces again this new procedure for
                        the old one.

   Parameters:

   <hWnd>               The handle of the window to change its proc.

   Returns:

   <nOldProc>           A number ( long pointer ) of the old procedure.

   Observations:        This function is used internally by FiveWin to
                        automatically subclass windows and controls and to
                        make them compatible with the OOPS architecture of
                        FiveWin.


   Source code:         SOURCE\\WINAPI\\ChangePr.c


See Also: RestProc()

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