Re: WindowProc in a class - function and pointer problem

2013-05-22 Thread D-sturbed
On Wednesday, 22 May 2013 at 21:22:52 UTC, Diggory wrote: On Wednesday, 22 May 2013 at 20:25:40 UTC, Simen Kjaeraas wrote: On 2013-05-22, 21:30, D-sturbed wrote: Hello, is there a way to wrap a WindowProc (so "LRESULT WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) no

WindowProc in a class - function and pointer problem

2013-05-22 Thread D-sturbed
Hello, is there a way to wrap a WindowProc (so "LRESULT WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) nothrow") in a class and to link it to a WindowClass without puting it as "static" ? Because defacto every datum used in the WindowProc must also be static. The problem te