Skip to content

Missing events for Window(surface) creation/release #240

@ghost

Description

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)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - win32Affects the Win32/Windows backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions