Closed GoogleCodeExporter closed 9 years ago
Original comment by andrew.k...@gmail.com
on 11 Jun 2009 at 8:20
Original comment by andrew.k...@gmail.com
on 18 Aug 2009 at 2:16
Original comment by andrew.k...@gmail.com
on 18 Aug 2009 at 2:16
Was unable to reproduce with different combinations of camera. I tried showing
property pages for 2 identical cameras of the same model - works fine. Also
tried
showing property pages for 2 different cameras - works fine. In both cases two
pages
are displayed simultaniosly.
Here is my code:
private void button1_Click( object sender, EventArgs e )
{
VideoCaptureDevice videoSource = (VideoCaptureDevice)
videoSourcePlayer1.VideoSource;
videoSource.DisplayPropertyPage( IntPtr.Zero );
}
private void button2_Click( object sender, EventArgs e )
{
VideoCaptureDevice videoSource = (VideoCaptureDevice)
videoSourcePlayer2.VideoSource;
videoSource.DisplayPropertyPage( IntPtr.Zero );
}
One thing to note! You need to pass IntPtr.Zero to DisplayPropertyPage() in
order to
get both pages. If you pass your form's handle (this.Handle), the property page
will
become modal dialog and you will be unable to click any buttons on your form to
show
another property page. Will update documentation.
Original comment by andrew.k...@gmail.com
on 4 Sep 2009 at 10:02
If the above note does not help, then it may be something wrong with camera's
drivers.
Original comment by andrew.k...@gmail.com
on 4 Sep 2009 at 10:07
Original comment by andrew.k...@gmail.com
on 19 Sep 2009 at 7:12
Original issue reported on code.google.com by
ekar...@gmail.com
on 10 Jun 2009 at 10:33