Windows Develop Bookmark and Share   
 index > Windows Forms Designer > drag-and-drop,resize,and moving controls in runtime
 

drag-and-drop,resize,and moving controls in runtime

Hi,

I am working on a windows application where the user should be able to move,resize and drag and drop a control (a picture box in my case).


I am pretty much ok with the moving and drag and drop except that I cant differentiate between MouseDown and Click events, because everytime I press the mouse button on the control the MouseDown event fires up and I cant really use the click event. Is there a way that i can differentiate between MouseDown and Single Click. 

Second: I am trying to highlight the control when the user selects the objects so that I highlight the control or get that resizing rectangle around the control so that user can drag it to resize the object. Something we do while creating a application (we add a control on the form and then resize it) . Can any one please help me out with this. 


Thanks
smartyosu


p:s I have seen similar queries in this form before. If you have done something similar you can mail me at smartyosu@yahoo.com. I would really appreciate your help )
MigrationUser 1  Monday, August 02, 2004 1:19 PM
Hi,

We are also running into the same kind of requirement. It would be highly appreciable if you can share the solution you opted for this problem.

Your help in this regard is highly appreciable.

Thanks & Regards,
-Sekhar
Bala Sekhar  Wednesday, December 27, 2006 12:27 PM

You can use google to search for other answers

Custom Search

More Threads

• Controls Disappearing vs 2k5 Professional
• How to use SetupCopyOEMInf in C#
• How to show directory structure on Windows Form in VB.Net 2005?
• usercontrol !
• Right Click disabled for TextBox
• Folder Hierarchy View Control
• How do they make these kind of Interfaces?
• DataGridView control bug in drag-and-drop
• Inherited Control - How to Set Prop in Win Form which Will USe Control
• Clicking on a form component creates an event method too easily