Skip to content

How to hide and maximize when creating and maximize immediately when displaying? #193

@imxood

Description

@imxood

Below is to hide by default when creating, but not maximize when displaying
because in src\platform_impl\windows\window.rs:950, the set_maximized does not work when winuser::IsWindowVisible(window)

image
image

I can do:

hello_window.show().unwrap();
hello_window.maximize().unwrap();

but, sometimes the effect is not good, size change (default size -> maximize size) will cause flicker

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions