Click here to Skip to main content
12,557,291 members (49,472 online)
Click here to Skip to main content
Add your own
alternative version


22 bookmarked

Drawing trackers And Getting the Selections in your PictureBox.

, 19 Apr 2005
Rate this:
Please Sign up or sign in to vote.
This is a class to help you handle the selections in the PictureBox.

Sample Image - MotoVB_Steven_Jian_.jpg


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.


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


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Taiwan Taiwan
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
manoj kumar choubey28-Apr-13 0:13
membermanoj kumar choubey28-Apr-13 0:13 
Questionget index of selected rectanle Pin
dakshikaJ14-May-12 22:01
memberdakshikaJ14-May-12 22:01 
GeneralpictureBox sizeMode Pin
ilintx17-Aug-09 7:39
memberilintx17-Aug-09 7:39 
GeneralRe: pictureBox sizeMode Pin
Maxxi868-Sep-09 0:06
memberMaxxi868-Sep-09 0:06 
GeneralRe: pictureBox sizeMode Pin
ilintx8-Sep-09 8:53
memberilintx8-Sep-09 8:53 
QuestionHow do I get info on selected section Pin
buyValu26-Aug-08 10:03
memberbuyValu26-Aug-08 10:03 
Generalthe Class ControlPain Pin
Benoit Morneau29-Apr-05 5:20
memberBenoit Morneau29-Apr-05 5:20 
QuestionDo I know you? Pin
Joel Holdsworth19-Apr-05 9:26
memberJoel Holdsworth19-Apr-05 9:26 
AnswerRe: Do I know you? Pin
virdust200320-Apr-05 16:25
membervirdust200320-Apr-05 16:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.161026.1 | Last Updated 19 Apr 2005
Article Copyright 2005 by virdust2003
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid