Click here to Skip to main content
15,898,035 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Getting Error message in debuging Pin
N a v a n e e t h17-May-09 19:55
N a v a n e e t h17-May-09 19:55 
GeneralRe: Getting Error message in debuging Pin
deadlyabbas18-May-09 3:14
deadlyabbas18-May-09 3:14 
GeneralRe: Getting Error message in debuging Pin
Mark Salsbery18-May-09 5:31
Mark Salsbery18-May-09 5:31 
GeneralRe: Getting Error message in debuging Pin
led mike18-May-09 6:35
led mike18-May-09 6:35 
GeneralRe: Getting Error message in debuging Pin
deadlyabbas18-May-09 23:02
deadlyabbas18-May-09 23:02 
GeneralRe: Getting Error message in debuging Pin
Mark Salsbery19-May-09 6:04
Mark Salsbery19-May-09 6:04 
GeneralRe: Getting Error message in debuging Pin
led mike19-May-09 6:37
led mike19-May-09 6:37 
QuestionDraw Rectangle onto Picture in PictureBox Pin
cherrymotion17-May-09 4:25
cherrymotion17-May-09 4:25 
Hi all,
I know, the question sounds simple, but I do not get it at the moment.
Drawing a rectangle into a picturebox is no problem. But as soon as I loaded
an image (here: a bitmap) into it, the image covers my rectangle and it is not to be
seen anymore.
I tried so much things now, getting a the Graphics-Handle of the image itself seemed to
be most logic for me, like:

Graphics ^g = e->Graphics->FromImage(this->pictureBox1);
g->DrawRectangle(gcnew Pen(Color::Black,3),*m_AreaRoi[i].AreaRect);


Failed!
Another try with this:

<pre>e->Graphics->DrawRectangle(gcnew Pen(Color::Black,3),*m_AreaRoi[i].AreaRect);


inside the OnPaint()-Function also failed.

The Project in this case is a Forms Control Library with a picturebox in it, as additional information.
I just want to draw a "region of interest"-rectangle onto the image loaded in the picturebox, it can't
be that difficult...
Please help me!
Thanks
AnswerRe: Draw Rectangle onto Picture in PictureBox Pin
N a v a n e e t h17-May-09 4:47
N a v a n e e t h17-May-09 4:47 
GeneralRe: Draw Rectangle onto Picture in PictureBox Pin
cherrymotion17-May-09 6:10
cherrymotion17-May-09 6:10 
GeneralRe: Draw Rectangle onto Picture in PictureBox Pin
N a v a n e e t h17-May-09 6:48
N a v a n e e t h17-May-09 6:48 
QuestionReference User32.lib Pin
thenutz7215-May-09 14:16
thenutz7215-May-09 14:16 
AnswerRe: Reference User32.lib Pin
Mark Salsbery15-May-09 20:20
Mark Salsbery15-May-09 20:20 
GeneralRe: Reference User32.lib Pin
thenutz7216-May-09 9:12
thenutz7216-May-09 9:12 
QuestionHow to get machine certificate and user license. Pin
deadlyabbas12-May-09 21:00
deadlyabbas12-May-09 21:00 
AnswerRe: How to get machine certificate and user license. Pin
Randor 14-May-09 15:06
professional Randor 14-May-09 15:06 
QuestionAbout Multiple Windows Forms Pin
savitri11-May-09 20:47
savitri11-May-09 20:47 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h12-May-09 22:24
N a v a n e e t h12-May-09 22:24 
GeneralRe: About Multiple Windows Forms Pin
savitri13-May-09 1:22
savitri13-May-09 1:22 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h13-May-09 2:20
N a v a n e e t h13-May-09 2:20 
QuestionRe: About Multiple Windows Forms Pin
savitri13-May-09 19:41
savitri13-May-09 19:41 
QuestionRe: About Multiple Windows Forms Pin
Mark Salsbery14-May-09 6:58
Mark Salsbery14-May-09 6:58 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 16:02
N a v a n e e t h14-May-09 16:02 
GeneralRe: About Multiple Windows Forms Pin
savitri14-May-09 19:20
savitri14-May-09 19:20 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 23:52
N a v a n e e t h14-May-09 23:52 

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.