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
{{ message }}
Repository navigation
Missing events for Window(surface) creation/release #240
It seems as there is no way to get notified of the window creation/destruction.
I'm using glutin and the events are based on the winit events.
I need a way to create hw resources when the window is created, and do some cleanup before destroy.
To be more clear: on windows is there any way to get events/handle/notifictions of the WM_CREATE and WM_CLOSE os events?
(WM_DESTROY which triggers the Closed Event is too late for me)
Activity
tomaka commentedon Jul 20, 2017
WM_CLOSEis reported asClosed, butWM_CREATEisn't available unfortunately.Merge next back to dev branch (rust-windowing#305)