Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > VS 2005 Pro - How do I make my own control show move not resize handles?
 

VS 2005 Pro - How do I make my own control show move not resize handles?

When adjusting a label on windows forms editing - when autoSize is enabled - the label handles change to a single drag handle from the eight resize handles.  I have my own forms object which I'd like to make duplicate this behavior: that is when autosize is true it should display only a single move handle not the resize handles.  Anybody have example code for how to accomplish this?

Thanks in advance for your help!

smmoraco  Friday, December 23, 2005 2:15 AM

If you want to do it at design time, your control’s designer will need to do it.  Take a look at “System.Windows.Forms.Design.IOleDragClientâ€?  Or just have your designer derive from â€œParentControlDesignerâ€?

 

Later

sprayer

sprayer  Wednesday, January 04, 2006 7:13 PM

If you want to do it at design time, your control’s designer will need to do it.  Take a look at “System.Windows.Forms.Design.IOleDragClientâ€?  Or just have your designer derive from â€œParentControlDesignerâ€?

 

Later

sprayer

sprayer  Wednesday, January 04, 2006 7:13 PM

You can use google to search for other answers

Custom Search

More Threads

• Random Tip
• Problems Creating an Installer Package
• TaskVision for Palm OS?
• What is the data member when using a stored procedure?
• how to publish database in my win application project
• Getting Started.. verificationexception in sample code
• Windows form components
• TaskVision
• Client Source Code Availability
• what is the code(UDP )bettween server and multible client in C#