I've found a function which can be used for moving window and also hiding it when set width & height to 0.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms633534(v=vs.85).aspx
I wonder if there are any ways with winform to prevent this function from being executed on another process (i.e: notepad.exe) or not.
Can anyone help me please ? Thank you.