Im creating custom controls and I need to use my own windows procedure.
I know I can replace the winproc using something like
SetWindowLong(m_hwnd, GWL_WNDPROC, AddressOf CtrlHandler)
But I can only get it to work with the Ctrlhandler function in a module.
How can I get this to work so I can have my message handler in the class?? Is it possible?
