65.9K
CodeProject is changing. Read more.
Home

Drawing trackers And Getting the Selections in your PictureBox.

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.46/5 (7 votes)

Apr 19, 2005

viewsIcon

47492

downloadIcon

2595

This is a class to help you handle the selections in the PictureBox.

Sample Image - MotoVB_Steven_Jian_.jpg

Introduction

In VC++, we have a class CRectTracker which helps to draw the trackers and also there is function a DrawFocusRect() with which tracker behavior can be achieved. In C#, I did not find any kind of such functionality (if there is, then I am unaware at the moment.). So I decided to make program which draws box with tracker and allows manipulation with the box with the help of trackers. This is a class to help you handle the selections in the PictureBox.

Reference

Drawing trackers, moving and resizing the objects using double buffering.