谁在vb 2008中禁用桌面 [英] who to disable desktop in vb 2008

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

问题描述

我正在制作安全摄像机项目的朋友
我正在捕捉秘密
当程序最小化时,它们就停止工作了
我发现,像游戏或游戏机之类的软性作品的灵魂感
的任何帮助:doh:

Friends i m making a project of security camera''s
i m captureing secreen
when the program is minimize they left working
i find soultion that soft work like game or like console
any help for that :doh:

推荐答案

要禁用桌面,您需要从"User32"库中声明函数.

声明功能BlockInput Lib"User32"(ByVal fBlockIt为布尔值)为布尔值

然后只要将参数"True"传递给该函数,桌面将被禁用.您可以通过更改为"False"或按"Ctr + Alt + Del"来启用.
To disable Desktop you need to declare function from "User32" library.

Declare Function BlockInput Lib "User32" (ByVal fBlockIt As Boolean) As Boolean

then just pass parameter "True" to this function, the desktop will be disable. You can enable by change to "False" or press "Ctr + Alt + Del".


这篇关于谁在vb 2008中禁用桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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