Is there a way to minimize a window and keep it minimized? The reason I am asking is I am using netzero right now and this ad window is really annoying me. When i move it off the screen it pops right back... is this possible?
Printable View
Is there a way to minimize a window and keep it minimized? The reason I am asking is I am using netzero right now and this ad window is really annoying me. When i move it off the screen it pops right back... is this possible?
You can hide that window if you want to. If you want then.. I wrote a program that hides and shows a window. There are also some other function too. You can download it here if you want to(it is eventually open source)
http://www.planetsourcecode.com/vb/s...=TRUE&lngWId=1
Yeah, but isn't there an API call or something I can use?
The only way I can find is terminating the process if you like to
I found this in a thread, I don't know if it keeps the window minimized but it does do it once.
Code:#include <windows.h>
...
HWND h = FindWindow(NULL,"caption");
ShowWindow(h,0); /*or use SW_HIDE, try both*/
If you use a timer then you can keep checking for the window and hide it if it appears.