rodrigocfd / winsafe

Windows API and GUI in safe, idiomatic Rust.
https://crates.io/crates/winsafe
MIT License
523 stars 30 forks source link

Never sets `class name` correctly for window #134

Closed yu-d closed 4 months ago

yu-d commented 4 months ago

I encountered an issue while using the 01_button_click example. The class name is not being set correctly.

Upon tracking the code, I found that the problem is around raw_main.rs#L57. Although options with a class name are accepted, they are never used. The class name is always set to the default value as seen in raw_base.rs#L68.

Could you please take a look at this issue?

Thank you for your assistance.

rodrigocfd commented 4 months ago

Oh I completely overlooked that.

Let me know if it works for you now.