您的位置:程序门 -> vc/mfc -> 基础类



如何使程序不在任务栏中显示?


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


如何使程序不在任务栏中显示?[已结贴,结贴人:zhaoyu_me]
发表于:2007-08-12 18:30:19 楼主
如题,要求用api   实现
发表于:2007-08-12 18:54:051楼 得分:20
窗口扩展样式加上ws_ex_toolwindow这个
发表于:2007-08-13 09:49:452楼 得分:0
关注。
发表于:2007-08-13 10:07:203楼 得分:0
一楼正解
发表于:2007-08-13 10:30:594楼 得分:0
ws_ex_toolwindow       creates   a   tool   window,   which   is   a   window   intended   to   be   used   as   a   floating   toolbar.   a   tool   window   has   a   title   bar   that   is   shorter   than   a   normal   title   bar,   and   the   window   title   is   drawn   using   a   smaller   font.   a   tool   window   does   not   appear   in   the   task   bar   or   in   the   window   that   appears   when   the   user   presses   alt+tab.
发表于:2007-08-13 10:57:365楼 得分:0
还可以改变你主窗口的父窗口为progman,这样能防止能防止边际效应带来标题栏收缩的问题:

cwnd   *   pwnd   =   findwindow( "progman ",null);
setparent(pwnd);


快速检索

最新资讯
热门点击