passing device context of picture box in VC++ dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

sandy_pt_in_at_yahoo.com
Date: 11/05/04


Date: 4 Nov 2004 22:58:48 -0800

I am very new to C#... i have one VC++ dll using that i have to
display video frames in
picture box but VC++ dll function asking device context... how can I
get device context of
picture box as i heared there is no dc in picturebox of C#...

   
             
          VC++ dll function is like this
 
            function1(ConnectionHandle,DeviceContext,Rectangle,cameraNo)
            

please tell me how to do this...



Relevant Pages

  • Re: Colors -- What Am I Missing
    ... > With a pure white background the line shows up LtBlue. ... The device context of the picture box is not guaranteed ... to reflect the properties of the picture box set in VB. ... windows API procedures. ...
    (microsoft.public.vb.winapi)
  • DEVICE CONTEXT FOR BITMAP
    ... the above function moves a picture image from one picture box to another ... is there an API function to get device context for a picture box ... Prev by Date: ...
    (microsoft.public.vb.winapi)