Hmmmmm how do you make a program disappear? I mean like not visible but still running.
ok dont get excited not my program some 3rd party program on my computer!?
thanks
Printable View
Hmmmmm how do you make a program disappear? I mean like not visible but still running.
ok dont get excited not my program some 3rd party program on my computer!?
thanks
Depends on the program. One neat trick I found for All Advantage was to put it to the top of the screen, then adjust your vertical size and position to move it off. Because it's like a docked toolbar, maximizing a program will only go to the bottom of it. Otherwise, could you get its hdc and move it off the screen?
Andrew you read my mind man! Thats why I want to make a programm like that lol but the trick i have known before but a problem is I dont want All advantage even downloading those banners because it takes up too much bandwidth
First you need to find the window's hwnd. To hide or show:
Code:Declare Function showwindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Hide:
Call showwindow("hwnd", SW_HIDE)
Show:
Call showwindow("hwnd", SW_SHOW)
I dont think i understand what u mean by find the windows hwnd or how can i get the hwnd
in declarations
to useCode:Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Code:dim hwnd as long
hwnd=FindWindow (classname,vbnullstring)
To retrieve the hwnd from another program, download and use this program: http://www.patorjk.com/downloads/apispy50.zip
A Word of warning when moving or resizing alladvantage.com using another program.
Alladavatage.com can easily get details about itself and send it back for auditing..and if the auditors find that Alladvatage.com has been running with a width of 1 pixel, and length of 1 pixel for 90% of the time...they may get suspicious...
So they get suspicious, and then what ?
You could set a nullregion to the viewbar wnd and still have it both visible and fullsized.
If they get suspicious they will most undoubtly terminate your account...This is called circumventing the system, and if you read the lisence agreement, this is grounds enough to terminate your account.
How would they figure out the size of the window on your pc ?
If guess you never know, they may have it inbuilt into the viewbar. But i bet they never would know if someone changes it's region
I would just get the window handle, then use it's cordinate to use BitBlt and paint whatever is behind it over it. if you do not want it to be seen.
It's not just pay programs that are doing that. Now, Netzero, a free ISP does that. If you try and hide the banner, it says "NAUGHTY NAUGHTY - You can run Netzero but you can't hide it!"Quote:
Originally posted by terebi
A Word of warning when moving or resizing alladvantage.com using another program.
Alladavatage.com can easily get details about itself and send it back for auditing..and if the auditors find that Alladvatage.com has been running with a width of 1 pixel, and length of 1 pixel for 90% of the time...they may get suspicious...
And like I did, if you delete contents in the file, the information to not load the banner. It now checks to see if the banner is loaded. If it doesn't detect it, you get disconnected automatically in about 20 minutes.
[Edited by Matthew Gates on 06-29-2000 at 01:58 PM]
Any program can easily get details about its current size using API functions, these details can then be sent to be audited. And if these pay to surf programs are getting smarter, resizing a viewbar is a big no-no, unless of course you can find a way to NOP the operations which detect the current width and height. Some of you suggested doing something to the regions, and I would like to know what you mean by this.