Draw outside the controls clinet area ?

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

Hi

I want to draw grips around my usercontrol.
Becorse the grips are around the customcontrol they are outside the controls
drawing area.
I tried setting the Region to infinit but that does not seem to work.
Any hints or workarounds ?


Johan
 
Sagaert

You are going to associate grip controls, and I am assuming that has to be
moved along with client resize or move. So more like in Visual Studio
designer. I can give a high level idea, - " Get labels (
System.Windows.Forms.Label), and attach them to control edges, make the
label size to be like 8x8 or even smaller if you want.. Move the label in
client move or resize..

I am sure I have a sample for this.. just can't find it now.. Will dig from
my pile and give to you if I find it..But you need to let me know if your
intent is same as what I gave above.

HTH
VJ
 
Hi

Just decided to draw the grips inside my client area, it will save me a lot
of work.

Johan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top