Excel 2010 SearchANDReplace对话框是哪种窗体/窗口? [英] What sort of Form/Window is the Excel 2010 SearchANDReplace Dialog?
问题描述
我喜欢Excel 2010的搜索和替换对话框。我可以输入数据,然后在网格后面看到它替换,然后可以在网格中编辑数据,而不会使搜索/替换窗口消失或进入背景。
I like the Search And Replace Dialog of Excel 2010. I can enter data, see it replace in the grid behind AND THEN I can edit the data in grid without the Search/Replace Window disappearing/going into background.
SearchAndReplace窗口不是模型对话框。此外,它还没有诸如保持在顶部 = true的设置,因为切换到其他打开的应用程序时,带有Excel的搜索/替换窗口将同时进入后台。
The SearchAndReplace Window is not a Model dialog. And it also has not settings like "stay at Top" = true because switching to other open applications the Search/Replace Window with Excel together is going into the background.
什么那是一个窗口吗?
What sort of Window is that?
在后面的网格中编辑,但搜索/替换窗口位于应用程序的顶部,但不在操作系统的顶部!
Edit in grid behind but Search/Replace Window stays at top of the application BUT not at top of the operaton system!
公共类MainWindow.cs
public class MainWindow.cs
var window = new Window();
window.Owner = this;
window.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;
window.Width = 200;
window.Height = 200;
window.Show();
推荐答案
在Win32术语中,可能是 WS_POPUP
,并将其所有者设置为顶级Excel窗口。
In Win32 terminology, it's likely to be WS_POPUP
, with its owner set to the top-level Excel window.
不同的编程环境对该窗口的名称有所不同。例如,.NET WinForms称其为拥有的表单。
Different programming environments have different names for this kind of window. For instance, .NET WinForms calls it an owned form.
这篇关于Excel 2010 SearchANDReplace对话框是哪种窗体/窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!