在一些碰到过的多媒体软件编制过程中通常需要彻底屏蔽任务条,通常的办法是调用showwindow(h,sw_hide)来隐藏任务条,但是不能屏蔽开始菜单,通过键盘的win功能键还是可以打开开始菜单,所以配合键盘钩子,来屏蔽开始菜单.
library hide; 【程序编程相关:delphi2005 启动加快】 【推荐阅读:Delphi2005的使用感受】 【扩展信息:Dephi快捷健】{ important note about dll memory management: sharemem must be the
first unit in your librarys uses clause and your projects (select project-view source) uses clause if your dll exports any procedures or functions that pass strings as parameters or function results. this applies to all strings passed to and from your dll--even those that are nested in records and classes. sharemem is the interface unit to the borlndmm.dll shared memory manager, which must be deployed along with your dll. to avoid using borlndmm.dll, pass string information using pchar or shortstring parameters. }uses
sysutils, classes, windows, messages;var
hhk :hhook; type pkbdllhookstruct = ^kbdllhookstruct; kbdllhookstruct = record ... 下一页