Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleMake a strange reflection of a button
DescriptionThis example shows how to make a strange reflection of a button in Visual Basic 6.
Keywordsbutton, strange, stupid code trick
CategoriesMiscellany, Puzzles and Games
 
Thanks to Ariel Canievsky.

This is very weird! You have to try it to see what it does.

 
Private Sub Bt_MouseMove(Button As Integer, Shift As _
    Integer, X As Single, Y As Single)
    Bt.Move Bt.Left + 1000, Bt.Top + 1000
    Bt.Move Bt.Left - 1000, Bt.Top - 1000
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated