January 24th, 2000, 02:35 AM
Is there an API call or something that I can use in VB 6 to get a window to snap to the screen edge (like Winamp does). I figure if I subclass the window and watch for it to approach a certain distance away from any screen edge, I need to do something. What that is, I don't know. If I try to manually place the form, it gets confused and moves back and forth between the current location of the mouse and the new location. Perhaps I need to move the cursor too. Any ideas?