Correcto le creo un label al from principal luego de cerrar el Acerca de.
ventanita AcercaDe.. con sus respectivos eventos
Código: Seleccionar todo
Func _Clic_acerca_de_avy()
Local $Link,$posWin
GUISetState(@SW_DISABLE, $WinH)
$posWin = WinGetPos("Avy Antivirus ")
$Form2 = GUICreate('Acerca_de_Avy', 355, 170, $posWin[0] + 260, $posWin[1] + 180, $WS_POPUP, BitOR($WS_EX_TOOLWINDOW, $GUI_WS_EX_PARENTDRAG), $guiPrincipalAvy)
GUISetBkColor(0x9ba7b6)
GUICtrlCreatePic(@AppDataDir & "\Avy_Antivirus\imagenavy.jpg", 8, 35, 116, 130, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlCreateLabel("Acerca de Avy", 0, 0, 390, 30, BitOR($SS_CENTER, $SS_CENTERIMAGE), $GUI_WS_EX_PARENTDRAG)
GUICtrlSetColor(-1, 0xffffff)
GUICtrlSetBkColor(-1, 0x4b5968);0x222935
GUICtrlSetFont(-1, 10, 400, -1, "Arial")
GUICtrlCreateLabel('AVY ' & FileGetVersion(@ScriptFullPath), 135, 35, 260, 33, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlSetFont(-1, 12, 800, 0, 'Verdana')
GUICtrlCreateLabel('Protege tu unidad, protege tu ordenador.', 135, 60, 284, 17, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlCreateLabel('Identificador: ', 135, 75, 60, 17, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlCreateInput(StringReverse(DriveGetSerial(@HomeDrive)), 198, 75, 130, 15, BitOR($GUI_SS_DEFAULT_INPUT, $ES_READONLY), 0)
GUICtrlSetBkColor(-1, 0x9ba7b6)
GUICtrlCreateLabel('Desarrollador: Yasmany Curimilma', 135, 90, 284, 17, -1, $GUI_WS_EX_PARENTDRAG)
$Link1 = GUICtrlCreateLabel('yasmanycurimilma.wordpress.com', 135, 105, 250, 17, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlSetOnEvent($Link1, "_link1")
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor(-1, 0)
$Link2 = GUICtrlCreateLabel('www.facebook.com/yasmanycurimilma', 135, 120, 250, 17, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlSetOnEvent($Link2, "_link2")
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor(-1, 0)
$2Button = GUICtrlCreateButton('Aceptar', 235, 140, 105, 25)
GUICtrlSetOnEvent($2Button, "_salirDeAcercaDeAvy")
GUICtrlSetState($2Button, $GUI_DEFBUTTON)
GUISetState(@SW_SHOW,WinGetHandle($Form2))
_GuiRoundCorners($Form2, 0, 0, 10, 10, 0)
Do
Until $GUI_EVENT_CLOSE
EndFunc ;==>_Clic_acerca_de_avy
Func _link1()
ShellExecute('http://yasmanycurimilma.wordpress.com')
EndFunc ;==>_link1
Func _link2()
ShellExecute('http://www.facebook.com/yasmanycurimilma')
EndFunc ;==>_link2
Func _salirDeAcercaDeAvy()
GUISetState(@SW_ENABLE, $guiPrincipalAvy)
GUIDelete(WinGetHandle('Acerca_de_Avy'))
GUICtrlCreateLabel("",10, 105, 210, 17); para que no se cuelgue
EndFunc ;==>_salirDeAcercaDeAvy