I try to get the hwnd handler from SDL focus event
I cannot compile this part with visual studio 2019
it says pointer to incomplete class type "SDL_SysWMmsg" is not allowed around pMsg->
if (e.type == SDL_SYSWMEVENT)
{
SDL_SysWMmsg* pMsg = e.syswm.msg;
if (pMsg && pMsg->msg == WM_SETFOCUS)
{
...
}
break;
}