PIXEL
Gostaria de saber como faz para saber o pixel que a gente está passando o mouse por cima?
Veja se isso te atende:
Ou pode usar API:
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Cor = Picture1.Point(X, Y)
MsgBox Cor
End Sub Ou pode usar API:
Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long) As Long
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
msgbox GetPixel(Picture1.hdc, X, Y)
End Sub
Tópico encerrado , respostas não são mais permitidas