Method Activate Activate() Activates the window, bringing it to front and giving focus. Declaration void Activate()