User Profile

Collapse

Profile Sidebar

Collapse
junkmatred
junkmatred
Last Activity: Mar 11 '08, 11:07 PM
Joined: Mar 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • The exact same thing as this guy. http://www.thescripts. com/forum/thread765261.ht ml . Turns out that in the end, he thought he solved his problem, but it turns out he didn't. All he did was get the program to return the value of the specific pixel of the picturebox color, not the webcam window (which is what he thought his code did), and didn't realize it.

    I'm trying to do this by using the GetPIxel function because I can only reference...
    See more | Go to post

    Leave a comment:


  • Picture1.hdc returning different value than GetDC(Picture1.hwnd)

    Please help guys,

    Picture1.hdc is returning a different value than GetDC(Picture1. hwnd)

    Look at the source code I've provided. This doesn't make any sense! I need help!

    [CODE=vb]Option Explicit
    Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long
    Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long...
    See more | Go to post
    Last edited by debasisdas; Mar 11 '08, 08:39 AM. Reason: added code=vb tags
No activity results to display
Show More
Working...