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