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
Related to #2120. But there may be some differences.
I am using a win32 UI component provided by a third party library which provides a method to call in window procedure and pass in hwnd/message/wparam/lparam parameters which will internally handle events such as rendering.
So it would be nice to expose a method in EventLoop, e.g. EventLoop::hook_window_procedure to register a callback with signature fn(HWND, MESSAGE, WPARAM, LPARAM) -> Option<LRESULT>. It is called first in thread_event_target_callback to determine if the event is intercept and to decide whether to continue.
The text was updated successfully, but these errors were encountered:
Related to #2120. But there may be some differences.
I am using a win32 UI component provided by a third party library which provides a method to call in window procedure and pass in hwnd/message/wparam/lparam parameters which will internally handle events such as rendering.
So it would be nice to expose a method in
EventLoop
, e.g.EventLoop::hook_window_procedure
to register a callback with signaturefn(HWND, MESSAGE, WPARAM, LPARAM) -> Option<LRESULT>
. It is called first inthread_event_target_callback
to determine if the event is intercept and to decide whether to continue.The text was updated successfully, but these errors were encountered: