here is a small list of very simple API functions that work by just knowing the handle of the window:

Call EnableWindow(windowhandle, True/False) depending on if that window is enabled or disabled.

Call ShowWindow(windowhandle, True/False) depending if you want to hide or show it.

there are many more stuff, but those are just 2 of them. plus im new to API so i dont know many functions.