windows 在信息亭模式下打开 IE 但未最大化
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4130317/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Open IE in kiosk mode BUT not maximized
提问by deveffort
Can we open IE in a kiosk mode - but not in a maximized view? We are trying to open an IE instance from a C#.NET app. This instance opens in a kiosk mode but disables the user to select 'OK' on the print preview pop up (as IE is maximized covering the whole screen). We want some way to open ONLY a specific page in IE (thus in kiosk mode) but not covering the full screen so that the user can choose the print options. Alternatively is there a way to completely disable the print options and print silently using the default options? Any ideas/suggestions?
我们可以在 kiosk 模式下打开 IE - 但不能在最大化视图中打开吗?我们正在尝试从 C#.NET 应用程序打开 IE 实例。此实例以 kiosk 模式打开,但禁止用户在打印预览弹出窗口中选择“确定”(因为 IE 被最大化覆盖整个屏幕)。我们想要某种方式在 IE 中仅打开特定页面(因此在 kiosk 模式下)但不覆盖全屏,以便用户可以选择打印选项。或者,有没有办法完全禁用打印选项并使用默认选项静默打印?任何想法/建议?
回答by SLaks
It sounds like you're looking for the WebBrowser control, which allows you to embed IE inside your program.
听起来您正在寻找WebBrowser 控件,它允许您将 IE 嵌入到您的程序中。
回答by Justin Beckwith
I would take a look into Microsoft HTML Applications:
我会看看 Microsoft HTML 应用程序:
http://msdn.microsoft.com/en-us/library/ms536496%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms536496%28VS.85%29.aspx
They are going to give a little more control over how the chrome of the application is displayed, and runs within the context of the currently logged in user.
他们将对应用程序的 chrome 显示方式提供更多控制,并在当前登录用户的上下文中运行。