Hello, I have borderless forms using API - and I would like to know if there is any code to help RESIZE the form when it has no border

like, is there api or could someone create some code so if the mouse is so far off the form, the mouse cursor changes, and u can RESIZE?

thanks alot