you said remove label so i removed the text. You meant apparently remove the taskbar button
need this
Function TaskbarAddRemoveButton
or simpler try code below
read more here
http://www.quickmacros.com/forum/showthr...bar+button
need this
Function TaskbarAddRemoveButton
;/
function action hwnd ;;action: 1 add, 2 delete
;Adds or deletes taksbar button for window whose handle is hwnd.
interface# ITaskbarList :IUnknown
,HrInit()
,AddTab(hwnd)
,DeleteTab(hwnd)
,ActivateTab(hwnd)
,SetActiveAlt(hwnd)
,{56FDF342-FD6D-11d0-958A-006097C9A090}
ITaskbarList t._create("{56FDF344-FD6D-11D0-958A-006097C9A090}")
t.HrInit
sel action
,case 1 t.AddTab(hwnd)
,case 2 t.DeleteTab(hwnd)
err end _error
int w
run "$system$\notepad.exe" "" "" "" 0xA00 win("" "Notepad") w
;code for
;1.the title bar is hidden
;; if you do this wont be able to move the window with the mouse
SetWinStyle w WS_CAPTION 2|8
;2.the label is not displayed on the taskbar
;_s=""
;_s.setwintext(w)
TaskbarAddRemoveButton 2 w
;3.and the transparency of the window is 50%.
;value between 0 and 255
Transparent w 128
;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
or simpler try code below
int w
run "$system$\notepad.exe" "" "" "" 0xA00 win("" "Notepad") w
;code for
;1.the title bar is hidden
;; if you do this wont be able to move the window with the mouse
SetWinStyle w WS_CAPTION 2|8
;2.the label is not displayed on the taskbar
;_s=""
;_s.setwintext(w)
SetWindowLong(w GWL_HWNDPARENT GetDesktopWindow)
;3.and the transparency of the window is 50%.
;value between 0 and 255
Transparent w 128
;4.After clicking the minimize button, in the lower right corner of the taskbar, a small icon is displayed.
read more here
http://www.quickmacros.com/forum/showthr...bar+button