You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is the right place to ask this, but is there some way I can tell SDL to let me handle windows messages specially? I know that there's SDL_SetWindowsMessageHook, but this doesn't quite do what I want because I need to call UiaReturnRawElementProvider, which returns an LRESULT which I need to return to the WNDPROC for returning to Windows. I suppose I could turn off SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP, but this seems like a very bad idea and like it could very easily go wrong. Does functionality like this exist? Or if it doesn't, can it be added?
The text was updated successfully, but these errors were encountered:
After you create the window, you can get the window handle and get/set the window proc used. You can get the window handle with SDL_PROP_WINDOW_WIN32_HWND_POINTER and change the window proc with GWLP_WNDPROC
Not sure if this is the right place to ask this, but is there some way I can tell SDL to let me handle windows messages specially? I know that there's
SDL_SetWindowsMessageHook
, but this doesn't quite do what I want because I need to callUiaReturnRawElementProvider
, which returns anLRESULT
which I need to return to theWNDPROC
for returning to Windows. I suppose I could turn offSDL_HINT_WINDOWS_ENABLE_MESSAGELOOP
, but this seems like a very bad idea and like it could very easily go wrong. Does functionality like this exist? Or if it doesn't, can it be added?The text was updated successfully, but these errors were encountered: