I'm trying to subclass a form, but inside of a usercontrol ...

WndProcOld& = SetWindowLong(hwnd, GWL_WNDPROC, AddressOf WindProc) <- using that to initiate the subclassing

WindProc being the function name ... but it doesn't work inside the usercontrol ? .. (as the function isn't in a module, at least I think that's why) ... Is there a way around this ?