Advertisement
3_2004-2005 Custom Controls/ Forms/ Menus #138925

Add a giant crosshair for your whole app!!!

Does what the title says, adds a big crosshair that follows your mouse in your whole application, dig it!

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
' Add a line named Line1 , verticlly up and down
' through the center of your form
' Now add another line named Line2 ,
' horozontally accross the whole form
' if you dont understand look at the screenshot
' then just copy and paste this code
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  Line1.X1 = X
  Line1.X2 = X
  Line2.Y1 = Y
  Line2.Y2 = Y
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine