(*´д`*)アハァ… VB初心者質問スレ Part21
■ このスレッドは過去ログ倉庫に格納されています
0477デフォルトの名無しさん
NGNG入れ替える方法頼む。
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim udtCursorPoint As tagPOINT
Dim lngResult As Long
' 現在のカーソル位置を取得
lngResult = GetCursorPos(udtCursorPoint)
With Image4
If udtCursorPoint.x * Screen.TwipsPerPixelX <= .Left + .Width _
And udtCursorPoint.y * Screen.TwipsPerPixelY <= .Top + .Height Then
Debug.Print udtCursorPoint.x * Screen.TwipsPerPixelX
.Picture = LoadPicture("D:\album\image\close02.jpg")
.Refresh
Else
.Picture = LoadPicture("D:\album\image\close01.jpg")
.Refresh
End If
End With
End Sub
↑いまいち反応鈍いんだよね(*´д`*)アハァ…
■ このスレッドは過去ログ倉庫に格納されています