home *** CD-ROM | disk | FTP | other *** search
/ The Elite Hackers Toolkit / TheEliteHackersToolkitVolume1_1998.rar / HACKERS.BIN / appcraks / ADCHOICE.ZIP / ADCHOICE.TXT < prev   
Text File  |  1990-01-01  |  2KB  |  38 lines

  1. AdChoice V1.0 for PointCast V2.0/2.5 for Windows 95/NT
  2. ------------------------------------------------------
  3.  
  4. AdChoice allows you to turn the ad window on and off in PointCast.
  5. Simply double-click the executable AdChoice.exe, and the ad window
  6. will disappear. Double-click it again to turn the ad window back on.
  7. That's all there is to it!
  8.  
  9. PointCast is a registered trademark of PointCast, Inc.
  10. AdChoice is not written or supported by PointCast, Inc. AdChoice is
  11. free and is not copyrighted. You are encouraged to distribute it to
  12. anyone who uses PointCast and would find it useful.
  13.  
  14. AdChoice only affects the online browser. The screen saver will continue
  15. to display ads. The purpose of this program is to make it easy to read
  16. news without the distraction of a moving and flashing ad on the screen.
  17.  
  18. ---------------------------------------------------------------------------
  19.  
  20. Technical Information
  21. ---------------------
  22.  
  23. As you can see from the source code, this is a very small and simple
  24. program. All it does is search for PointCast, search for the ad window,
  25. and send it a SW_HIDE command, causing the ad window to vanish. Changing
  26. panes will cause the window to be redisplayed, so the message is resent
  27. every second. If PointCast exits and is restarted, the program will find
  28. its window again.
  29.  
  30. If you run the program again while it is already running, it uses a mutex
  31. to signal the running copy to exit. The running copy sends a SW_RESTORE
  32. on the way out to bring the ad window back up.
  33.  
  34. Programmers: There is a better way to do this with message hooks. However,
  35. that requires a separate DLL file, and is noticeably more complex. This is
  36. a low-tech approach that works. The disadvantage is that you will see the
  37. ad window pop up momentarily after changing panes.
  38.