Don't worry - I already access to current MSG message in processEvent(..).
But when knocking to my message - got error access to another cell of memory.
Trying to fix it.
Don't scare its my mod of Sfml. MSG message at WindowImpl.hpp
I using this trick at WindowImplWin32::processEvent(..) >>
RECT rc;
rc.left = 0;
rc.top = 0;
rc.right = 1000;
rc.bottom = 500;
*((RECT*)WindowImplWin32::message.lParam) = rc;
And ugly error
>>
Its saying me in message.lParam not wrote RECT* in this moment.
Need to detect what MSG was before.
Its > WM_ENTERSIZEMOVE 0x0231(561)
And lParam here pure...
Ok can check > if(!message.lParam)
To make sure message stores this previous...
Maybe solution is throw to methods LPARAM &lparam instead LPARAM lparam
Try this now.
Nope (.
YEAAAAAAAAAAAAh I did it
Simlpy needed change from void processEvent(UINT message, WPARAM wParam, LPARAM lParam);
to
void processEvent(UINT message, WPARAM wParam,
LPARAM &lParam);
And then change this lParam.