|
-
Jul 31st, 2001, 11:51 PM
#1
Thread Starter
Fanatic Member
Minimize a window and keep it there?
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?
Alcohol & calculus don't mix.
Never drink & derive.
-
Aug 1st, 2001, 12:01 AM
#2
PowerPoster
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
-
Aug 2nd, 2001, 04:45 PM
#3
Thread Starter
Fanatic Member
Yeah, but isn't there an API call or something I can use?
Alcohol & calculus don't mix.
Never drink & derive.
-
Aug 2nd, 2001, 05:17 PM
#4
PowerPoster
The only way I can find is terminating the process if you like to
-
Aug 2nd, 2001, 07:17 PM
#5
Thread Starter
Fanatic Member
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*/
Alcohol & calculus don't mix.
Never drink & derive.
-
Aug 4th, 2001, 02:13 AM
#6
Monday Morning Lunatic
If you use a timer then you can keep checking for the window and hide it if it appears.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|