Re: [Dev-C++] Subclass inside a class problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Elias P. <eli...@ao...> - 2001-04-06 22:32:56
|
...
>
> class akorichedit{
> private:
> //...
> WNDPROC wpOrigRichEditProc;
> LRESULT CALLBACK RichEditSubclassProc(HWND hwnd, UINT
> uMsg, WPARAM wParam, LPARAM lParam);
> //...
> public:
> void create();
> //...
> };
>
...
I think callback functions have to be static. (I remember reading
something about this in one of the microsoft examples - but maybe i'm
wrong)
Elias Pschernig
|