i have some class based code that is closely based on Ken Fitlike's code from his website. The thing is, Ken's class for a standard application window calls a global window procedure which then calls the member function window procedure that is part of that class. The way i want to do things, it would be better to be able to specify that the class calls the member function window proc directly. eg:
but the compiler wont let me. it says:
'type cast' : cannot convert from '' to 'long (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
i really want to get this to work, how do i do it?