Sub Window_OnInit()
End Sub

Sub Window_OnSize(cx,cy)
	nLogoRight = Picture_Icon.left + Picture_Icon.width

	If Picture_Sep1.left <= nLogoRight Then
		Picture_Sep1.visible = false
	Else
		Picture_Sep1.visible = true
	End If

	If Button_Forward.left <= nLogoRight Then
		Button_Forward.visible = false
	Else
	   	Button_Forward.visible = true
	End If

	If Button_Backward.left <= nLogoRight Then
		Button_Backward.visible = false
	Else
		Button_Backward.visible = true
	End If

    	If Button_Config.left <= nLogoRight Then
		Button_Config.visible = false
	Else
		Button_Config.visible = true
	End If
	
	If Button_SearchLyric.left <= nLogoRight Then
		Button_SearchLyric.visible = false
	Else
		Button_SearchLyric.visible = true
	End If

	If CheckBox_KaLaOK.left <= nLogoRight Then
		CheckBox_KaLaOK.visible = false
	Else
		CheckBox_KaLaOK.visible = true
	End If

	If Button_TextColor.left <= nLogoRight Then
		Button_TextColor.visible = false
	Else
		Button_TextColor.visible = true
	End If
	
	If Picture_Sep3.left <= nLogoRight Then
		Picture_Sep3.visible = false
	Else
		Picture_Sep3.visible = true
	End If
	
	If Button_Zoomout.left <= nLogoRight Then
		Button_Zoomout.visible = false
	Else
		Button_Zoomout.visible = true
	End If
	
	If Button_Zoomin.left <= nLogoRight Then
		Button_Zoomin.visible = false
	Else
		Button_Zoomin.visible = true
	End If

End Sub

'处理QQMusic程序发来的事件
Sub Window_OnNotify(code,var)
End Sub
