Making function public.
Trying to resize a window.