Skip to content

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

Closed

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

Activity

  1. tomaka commented on Jul 20, 2017

    @tomaka
    Contributor

    WM_CLOSE is reported as Closed, but WM_CREATE isn't available unfortunately.

  2. added
    DS - win32
    on Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - win32

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions