I was just wondering the following.
In my win32 GUI application I have callback functions like
static BOOL CALLBACK UserInterface::DialogProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
Is it possitble like in my other callback functions to pass a this pointer, so it would look something like this:
static BOOL CALLBACK UserInterface::DialogProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, void* vptr)
and still be using the CreateDialog function?
That way I can get rid of all other members of the UserInterface class being static.