codedisplaying colors in a list box
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
hiiiii i m developing an application in which i m picking pixel colors from an image and display these colors in a list box with the help of loop. can any body give me code.its urgent plz. tc regarfds Tahir
-
hiiiii i m developing an application in which i m picking pixel colors from an image and display these colors in a list box with the help of loop. can any body give me code.its urgent plz. tc regarfds Tahir
You can use SetPixel and GetPixel its a win32 API
Public Declare Function SetPixel Lib "gdi32" Alias "SetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long Public Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long