I've got an inherited panel on my form which overrides WndProc() and catches the 0x84 (WM_NCHITTEST) message. I do some processing on it and I'd like to know if there's a way to send that message, along with the result that I calculate, up to the parent form that contains the panel. I looked into the API method SendMessage(), but all you can send is the message (0x84), lparam and wparam, not the result (unless I'm missing something).
Does anyone know a way I could do this? I want to use this panel to control the sizing and moving of the form. Right now I can size and move the panel just fine, as though it were its own window, but I need to send it up to the parent.
Does anyone know a way I could do this? I want to use this panel to control the sizing and moving of the form. Right now I can size and move the panel just fine, as though it were its own window, but I need to send it up to the parent.
Comment