Rfcs: 增加form类型让开发者更开心

Created on 23 Aug 2016  ·  3Comments  ·  Source: rust-lang/rfcs

I will be very happy if there are a form type which can help me build and manage the window-form.
I wish I can by the way of "let example:form=new form" to create a window-form.
And I wish I could call the "example.handle" to get it handle.It seems crazy but very practical.

如果增加一个能够帮我建立并管理窗体的form类型我会非常开心。我希望能够通过类似"let example:form=new form"去建立一个窗体,并且通过"example.handle"这样的方式去访问它的句柄。这看起来疯狂不过会非常实用。

Most helpful comment

@steveklabnik technically this was a feature request, though probably not something we’d ever implement.

@3442853561 Your best bet to create UI using Windows APIs in Rust is to use the winapi crate, which provides bindings for various Windows APIs.

EDIT: also, as been said before by other people, you probably should ask questions on various media such as stackoverflow, reddit or IRC first.

All 3 comments

Hi! This repository is for improving the Rust language itself. Please ask questions like this on http://stackoverflow.com/

Thanks!

@steveklabnik Nice to meet you!I could not to hide or close the window in Rust and I read rust-lang/rfcs#1665 ,But I can not get help.What can I do?

steveklabnik 您好!我现在没有办法隐藏或者关闭Rust的窗体,我已经读过问题1665了但是没有找到解决方法。我应该怎么做?

@steveklabnik technically this was a feature request, though probably not something we’d ever implement.

@3442853561 Your best bet to create UI using Windows APIs in Rust is to use the winapi crate, which provides bindings for various Windows APIs.

EDIT: also, as been said before by other people, you probably should ask questions on various media such as stackoverflow, reddit or IRC first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pnkfelix picture pnkfelix  ·  69Comments

Ericson2314 picture Ericson2314  ·  69Comments

rust-highfive picture rust-highfive  ·  88Comments

emk picture emk  ·  59Comments

steveklabnik picture steveklabnik  ·  86Comments