Hello!
In my C-Dll there is a Windows hook:
hook = SetWindowsHookEx(WH_CALLWNDPROC, CallWndProc, hinstance, 0);
With this Callback method:
LRESULT CALLBACK CallWndProc(int nCode, WPARAM wParam, LPARAM lParam)
{
...
CWPSTRUCT* cw = reinterpret_cast<CWPSTRUCT*>(lParam);
myfile << "CallWndProc allg. " << cw->message << "\n";
if (cw->message == WM_GETMINMAXINFO)
{
// I don't get the message here
}
}
I get all Windows messages except the WM_GETMINMAXINFO message. I want to modify the maximum size of a window. How can I resolve this problem?
Thank you very much!
Andy