Click here to Skip to main content
11,926,429 members (54,580 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#2.0 C#

How to draw lines and rectangles shapes on running video
Posted 27-Sep-12 2:03am
Legor 27-Sep-12 7:14am
This a repost to your question

Please do not repost but rather improve your first question.
ravindervilasagar 27-Sep-12 8:51am
I Was Try playing in one window and drawing in another window and its Transparent but not drawing any thing on window
Please send some code


1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I don't have an option to try it out, but my guess is this:

Can't you draw a canvas over your video window? Maybe if you set its background colour to fully transparent you won't see the canvas itself, but when you draw something on it, then it will be visible.

To locate canvas exactly over the video window, maybe you can use an another canvas. To be honest this would be working in WPF ( probably Smile | :) ), but if I'm correct in C# 2.0 also should be a canvas class.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100