隐藏这个任务栏图标
本帖最后由 lqs_lfzz 于 2009-10-16 07:32 编辑即,只要在托盘区显示图标,不出现在程序列表。
代码尽量简短,看得头晕..
再请问,为什么点击关闭按钮关不了?
GUI上面怎样只留关闭,最小化、还原按钮不要?
GUICreate ("工作快乐",220,280,50,560)
GUISetState()
GUICtrlCreateGroup("准备",10,12,163,58)
$1 = GUICtrlCreateLabel("登录 Ctrl+Shift+L",20,30)
$2 = GUICtrlCreateLabel("文本整理器 Ctrl+Shift+T",20,48)
GUICtrlCreateGroup("整理",10,72,163,200)
$3 = GUICtrlCreateLabel("整理Ctrl+↑",20,90)
$4 = GUICtrlCreateLabel("整理Ctrl+↓",20,110)
$5 = GUICtrlCreateLabel("整理Ctrl+←",20,130)
$6 = GUICtrlCreateLabel("整理Ctrl+→",20,150)
$7 = GUICtrlCreateLabel("替换 Ctrl+R",20,170)
$8 = GUICtrlCreateLabel("编辑 Ctrl+",20,190)
$10 = GUICtrlCreateLabel("插入图片 Ctrl+Shift+I",20,210)
$lqs = GUICtrlCreateLabel("^_^",188,8)
GUISetState()
While 1
Sleep(100)
WEnd 什么意思/,没有搞懂.!
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
GUICreate ("工作快乐",220,280,50,560,-1,$WS_EX_TOOLWINDOW)
GUICtrlCreateGroup("准备",10,12,163,58)
$1 = GUICtrlCreateLabel("登录 Ctrl+Shift+L",20,30)
$2 = GUICtrlCreateLabel("文本整理器 Ctrl+Shift+T",20,48)
GUICtrlCreateGroup("整理",10,72,163,200)
$3 = GUICtrlCreateLabel("整理Ctrl+↑",20,90)
$4 = GUICtrlCreateLabel("整理Ctrl+↓",20,110)
$5 = GUICtrlCreateLabel("整理Ctrl+←",20,130)
$6 = GUICtrlCreateLabel("整理Ctrl+→",20,150)
$7 = GUICtrlCreateLabel("替换 Ctrl+R",20,170)
$8 = GUICtrlCreateLabel("编辑 Ctrl+",20,190)
$10 = GUICtrlCreateLabel("插入图片 Ctrl+Shift+I",20,210)
$lqs = GUICtrlCreateLabel("^_^",188,8)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
谢谢这位大哥!!:face (26): 这是什么呀,看不明白 Sxd好厉害,佩服
页:
[1]