Answered by:
Resizing Toolbar Control

Question
-
I have created a toolbar for internet explorer using band objects in c# like the Google toolbar. This toolbar have some buttons and a textbox. I want to add the functionality like the functionality in google toolbar that you can resize the search text box by dragging. I have written my code code in onMousedown, OnMouseUp event of seperator which i want to use for dragging but the problem is that if mouse gets out of the boundry of that seperator or toolbar it stop resizing textbox.
While in google toolbar textbox remain resizing weather the mouse is on toolbar or outside the boundry of toolbar. How can i do this.
Thanks in advance.
- Moved by jack 321 Friday, June 13, 2008 7:36 AM off topic
Wednesday, June 11, 2008 12:50 PM
Answers
-
Discussion in Windows Forms General
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
Friday, June 13, 2008 7:36 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
Thursday, May 10, 2012 6:48 AM
All replies
-
I use a toolstrip on my BandObjects and use it's resize event to resize all controls on it.
You don't have to use toolstriptextboxes....just put your "regular" textbox on the toolstrip.
I need a job!Wednesday, June 11, 2008 5:08 PM -
I want to resize my textbox control using mouse like google toolbar in which you can click on a sperator and drag it to resize the textbox.Thursday, June 12, 2008 4:02 AM
-
Discussion in Windows Forms General
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
Friday, June 13, 2008 7:36 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:48 AM
Thursday, May 10, 2012 6:48 AM