执行一个exe时为什么不显示在windows的任务栏中? 执行一个exe时为什么不显示在windows的任务栏中?我也没在程序里设置什么啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我是说我写的一个 exe,怎么运行时,不出现在windows的任务栏中? 麻烦帮一下 ◇[DELPHI]程序不出现在ALT+CTRL+DEL在implementation后添加声明:function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external KERNEL32.DLL;RegisterServiceProcess(GetCurrentProcessID, 1);//隐藏RegisterServiceProcess(GetCurrentProcessID, 0);//显示用ALT+DEL+CTRL看不见◇[DELPHI]程序不出现在任务栏uses windowsvarExtendedStyle : Integer;beginApplication.Initialize;//==============================================================ExtendedStyle := GetWindowLong (Application.Handle, GWL_EXSTYLE);SetWindowLong(Application.Handle, GWL_EXSTYLE, ExtendedStyle OR WS_EX_TOOLWINDOWAND NOT WS_EX_APPWINDOW);//===============================================================Application.CreateForm(TForm1, Form1);Application.Run; 10月26日,与李维老师在线讨论“ECO及企业开发技术”--CSDN F2F俱乐部&博文视点名家讲坛之二 一个数据库查询问题~ 怎么初始化定义一个点 如何模拟一个按钮被按下的效果?? 前些时候在这里看到vss for d6的软件,哪里有下的, 我没找到 一个简单的sql ■■■向大哥们求救!★救命呀★【送300分,送完为止…】 有会用TdxDBGrid控件的吗? 怎么用SQL语句在delphi中修改记录呀? 如何利用EditKeyPress使得不合规则的字符,不能输入edit控件? 散分 这个程序码应该是 Delphi 编写的吧!
在implementation后添加声明:
function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external KERNEL32.DLL;
RegisterServiceProcess(GetCurrentProcessID, 1);//隐藏
RegisterServiceProcess(GetCurrentProcessID, 0);//显示
用ALT+DEL+CTRL看不见◇[DELPHI]程序不出现在任务栏
uses windows
var
ExtendedStyle : Integer;
begin
Application.Initialize;
//==============================================================
ExtendedStyle := GetWindowLong (Application.Handle, GWL_EXSTYLE);
SetWindowLong(Application.Handle, GWL_EXSTYLE, ExtendedStyle OR WS_EX_TOOLWINDOW
AND NOT WS_EX_APPWINDOW);
//===============================================================
Application.CreateForm(TForm1, Form1);
Application.Run;