方法:自定义桌面 [英] How-To: Custom Desktop

查看:81
本文介绍了方法:自定义桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个朋友有小孩。足够大,可以使用电脑。

他为他的孩子创建了一个限制用户帐户的小孩用户,但他会想要删除令人困惑的开始菜单等等...一个简单的,自制的,
自助服务终端风格,全屏GUI界面。


这可能只是推出一堆游戏和注销/关闭。 />

他问怎么做。

但是我不知道!


它是'为什么..啊......我在问你,如何(或者最好的方式)写一个

kiosk风格,全屏GUI在会议开始的时候,

阻止了WINDOWS,WINDOWS + E,WINDOWS + M和ALT + TAB键的工作,或者那些

的东西。 ..


任何提示或链接?

解决方案



"劳埃德杜邦 < net.galador@ldwrote in message

news:uX **************** @ TK2MSFTNGP03.phx.gbl ...
< blockquote class =post_quotes>
>我的一个朋友有点小孩。足够大,可以使用电脑。

他为孩子创建了一个限制用户帐号的小孩用户,但是他想要删除令人困惑的开始菜单等等...用一个简单的,家庭制作的b
,全屏GUI界面。



不是gdi问题。


Hi Lloyd,


您可以编写一个HTML应用程序(.hta),它支持全屏信息亭模式,呈现网页风格的界面,并且可以执行JavaScript来运行程序,等等。不幸的是,你赢了能够阻止ALT + TAB(也可能是Windows键)

被激活。您可以在启动时运行此程序(或任何程序),方法是在用户的开始 - >程序

文件 - >启动文件夹中删除快捷方式。

MSDN上的HTML应用程序简介:
http://msdn.microsoft.com/library/de...taoverview.asp


如果你使用.NET更加舒服,或者只是想要更多控制,那么你可以使用HTA作为shell并编写一个自定义的

WinForms UserControl来提供接口(使用HTA中的< objecttag)在IE(MSDN)中托管WinForms UserControl:
http://msdn.microsoft.com/msdnmag/is...2/01/UserCtrl/


从技术上讲,如果你愿意,你也可以用托管代码编写整个应用程序必须弄清楚如何隐藏

任务栏。创建一个WinForms应用程序并添加一个启动表单。隐藏所有边框镶边并将窗体的WindowState设置为

最大化。在Startup文件夹中添加.exe的快捷方式就像使用HTA一样。


我相信Windows支持您可以使用的自助服务终端模式;但是,它可能仅适用于Windows XP Embedded,

虽然我也不确定。


无论如何,我认为HTA如果您有任何编写网页的经验,并且编写管理

代码的经验很少,那么这是您的最佳选择。 HTA支持真正的自助服务终端模式,您还可以嵌入.NET控件来呈现GUI,或者如果你想要的话,还可以使用MDX(托管的DirextX)GUI。但是,无论你选择什么,它都不可能禁用某些键组合,如ALT + TAB和

CTRL + ALT + DEL。


GL


-

Dave Sexton


" Lloyd Dupont" < net.galador@ldwrote in message news:uX **************** @ TK2MSFTNGP03.phx.gbl ...


>我的一个朋友有小孩。足够大,可以使用电脑。

他为孩子创建了一个限制用户帐户的小孩用户,但是他想删除令人困惑的开始菜单等....

a简单,自制,自助终端风格,全屏GUI界面。


这可能只是推出一堆游戏和注销/关闭。


他问怎么做。

但我不知道!


这就是为什么......啊......我'问你,如何(或者最好的方式)写一个自助服务终端风格,全屏幕GUI。哪个lauch在会议开始时会阻止WINDOWS,WINDOWS + E,WINDOWS + M和ALT + TAB键工作,或者那类东西......


任何提示或链接?



Lloyd Dupont写道:


我的一个朋友有点小孩。足够大,可以使用电脑。

他为他的孩子创建了一个限制用户帐户的小孩用户,但他会想要删除令人困惑的开始菜单等等...一个简单的,自制的,
自助服务终端风格,全屏GUI界面。


这可能只是推出一堆游戏和注销/关闭。 />

他问怎么做。

但是我不知道!


它是'为什么..啊......我在问你,如何(或者最好的方式)写一个

kiosk风格,全屏GUI在会议开始的时候,

阻止了WINDOWS,WINDOWS + E,WINDOWS + M和ALT + TAB键的工作,或者那些

的东西。 ..


任何提示或链接?



听起来你需要更换shell,从explorer到其他/更简单的东西。 ALT + TAB和Windows键快捷键将保留。但是,您可以通过适当的注册表项轻松禁用Windows键(或任何其他)。有scandcode地图这样的东西,虽然我不确定它是否可以单独为每个用户定义。


-

GrzegorzWróbel
http://www.4neurons.com/

677265676F727940346E6575726F6E732E636F6D


A friend of mine has little kid. Big enough to use the computer.
He created a kid user with restricted user account for his kid but he would
like to remove the confusing start menu, etc.... with a simple, home made,
kiosk style, fullscreen GUI interface.

Which could just launch a bunch of game and logout/shutdown.

And he ask how to do that.
But I don''t know!

It''s why.. ahum.. I''m asking you, how to (or what''s the best way to) write a
"kiosk style, fullscreen GUI" which lauch at the start of the session and
prevent the WINDOWS, WINDOWS+E, WINDOWS+M and ALT+TAB keys to work, or that
sort of things...

Any tip or link?

解决方案


"Lloyd Dupont" <net.galador@ldwrote in message
news:uX****************@TK2MSFTNGP03.phx.gbl...

>A friend of mine has little kid. Big enough to use the computer.
He created a kid user with restricted user account for his kid but he
would like to remove the confusing start menu, etc.... with a simple, home
made, kiosk style, fullscreen GUI interface.

Not a gdi problem.


Hi Lloyd,

You can write an HTML application (.hta), which supports a full-screen kiosk mode, renders a web page-style interface and can
execute JavaScript to run programs, etc. Unfortunately, you won''t be able to prevent ALT+TAB (and probably the Windows keys too)
from being activated. You can run this program (or any program) at startup by dropping a shortcut in the Start-->Program
Files-->Startup folder for the user.

Introduction to HTML Applications on MSDN:
http://msdn.microsoft.com/library/de...taoverview.asp

If you''re more comfortable using .NET or would just like more control then you can use an HTA as the shell and write a custom
WinForms UserControl to supply the interface (using the <objecttag in your HTA).

Hosting WinForms UserControl in IE (MSDN):
http://msdn.microsoft.com/msdnmag/is...2/01/UserCtrl/

Technically, you could also write the entire application in managed code if you want but you''ll have to figure out how to hide the
task bar. Create a WinForms application and add a startup Form. Hide all border chrome and set the Form''s WindowState to
Maximized. Add a shortcut to your .exe in the Startup folder just like you would with an HTA.

I believe Windows supports a kiosk mode that you might be able to use; however, it might only be available on a Windows XP Embedded,
although I''m not really sure of that either.

Anyway, I think HTA is your best option if you have any experience writing web pages already and little experience writing managed
code. HTA supports a true kiosk mode and you can also embed .NET controls to render a GUI, or an MDX (managed DirextX) GUI, if you
want. However, no matter your choice it''s not going to be possible to disable certain key combinations such as ALT+TAB and
CTRL+ALT+DEL.

GL

--
Dave Sexton

"Lloyd Dupont" <net.galador@ldwrote in message news:uX****************@TK2MSFTNGP03.phx.gbl...

>A friend of mine has little kid. Big enough to use the computer.
He created a kid user with restricted user account for his kid but he would like to remove the confusing start menu, etc.... with
a simple, home made, kiosk style, fullscreen GUI interface.

Which could just launch a bunch of game and logout/shutdown.

And he ask how to do that.
But I don''t know!

It''s why.. ahum.. I''m asking you, how to (or what''s the best way to) write a "kiosk style, fullscreen GUI" which lauch at the
start of the session and prevent the WINDOWS, WINDOWS+E, WINDOWS+M and ALT+TAB keys to work, or that sort of things...

Any tip or link?



Lloyd Dupont wrote:

A friend of mine has little kid. Big enough to use the computer.
He created a kid user with restricted user account for his kid but he would
like to remove the confusing start menu, etc.... with a simple, home made,
kiosk style, fullscreen GUI interface.

Which could just launch a bunch of game and logout/shutdown.

And he ask how to do that.
But I don''t know!

It''s why.. ahum.. I''m asking you, how to (or what''s the best way to) write a
"kiosk style, fullscreen GUI" which lauch at the start of the session and
prevent the WINDOWS, WINDOWS+E, WINDOWS+M and ALT+TAB keys to work, or that
sort of things...

Any tip or link?

Sounds like you need to replace the shell, from explorer to something other/simpler. ALT+TAB and windows key shortcuts will remain. However you can easily disable the windows keys (or any other) by a proper registry entries. There is such thing like scandcode map, though I''m not sure if it can be defined for each user individually.

--
Grzegorz Wróbel
http://www.4neurons.com/
677265676F727940346E6575726F6E732E636F6D


这篇关于方法:自定义桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆