it code is :
Code: Select all
handle=FindWindow_("Shell_TrayWnd",0)
If handle
handle=GetWindow_(handle,#GW_CHILD)
If handle
class$=Space(1024):
GetClassName_(handle,@class$,Len(class$))
If Left(class$,Len(class$))="Button"
PostMessage_(handle,#WM_CLOSE,0,0)
EndIf
EndIf
EndIf
I know this code close button and can't restore it but i want know can i do this without #WM_CLOSE for just hide and show it again ?