C#/ Win32控件是什么使用无线网络对话框?

时间:2022-02-11 00:07:00

I'm working on an application, and I have a screen that in my mind, looks a lot like the Wireless Network List in Windows Vista. For those who are unaware, its basically a listview, but in each row, instead of a line of text, there's a large 'panel' that contains all sorts of useful information. Does anyone know if that's an actual UI control available on windows, or should I roll my own with some sort of autosizing table layout panel hosting a collection of custom controls?

我正在开发一个应用程序,我有一个屏幕,在我看来,看起来很像Windows Vista中的无线网络列表。对于那些不知道的人来说,它基本上是一个列表视图,但是在每一行中,有一个包含各种有用信息的大“面板”,而不是一行文本。有谁知道这是否是Windows上可用的实际UI控件,或者我应该使用某种自动化表格布局面板来托管自定义控件集合?

3 个解决方案

#1


I know this is pretty easy to make using WPF using the stackpanel layout along with a series of user controls containing grid controls for internal layout. Or are you using windows forms?

我知道使用栈窗口布局使用WPF以及包含内部布局的网格控件的一系列用户控件非常容易。或者您使用的是Windows窗体吗?

#2


The wireless network dialog isn't using a standard Win32 control, it's using a custom control (effectively).

无线网络对话框没有使用标准的Win32控件,它使用自定义控件(有效)。

If you want to emulate that behavior, you're going to have to use WPF or roll your own.

如果你想模仿这种行为,你将不得不使用WPF或自己动手。

#3


Not an exact answer but you may want to look at the various Vista TaskDialog libraries and dialogs that have been based on that. You may be able to borrow some of the code since they share some UI functionality. I need to do the something similar with WPF.

不是一个确切的答案,但您可能想要查看基于此的各种Vista TaskDialog库和对话框。您可以借用一些代码,因为它们共享一些UI功能。我需要做与WPF类似的事情。

#1


I know this is pretty easy to make using WPF using the stackpanel layout along with a series of user controls containing grid controls for internal layout. Or are you using windows forms?

我知道使用栈窗口布局使用WPF以及包含内部布局的网格控件的一系列用户控件非常容易。或者您使用的是Windows窗体吗?

#2


The wireless network dialog isn't using a standard Win32 control, it's using a custom control (effectively).

无线网络对话框没有使用标准的Win32控件,它使用自定义控件(有效)。

If you want to emulate that behavior, you're going to have to use WPF or roll your own.

如果你想模仿这种行为,你将不得不使用WPF或自己动手。

#3


Not an exact answer but you may want to look at the various Vista TaskDialog libraries and dialogs that have been based on that. You may be able to borrow some of the code since they share some UI functionality. I need to do the something similar with WPF.

不是一个确切的答案,但您可能想要查看基于此的各种Vista TaskDialog库和对话框。您可以借用一些代码,因为它们共享一些UI功能。我需要做与WPF类似的事情。