|
-
September 25th, 2002, 11:57 PM
#1
MDI and copy/cut/paste menu and toolbar activation
In Microsoft Visual Studio .NET IDE, copy/cut/paste menus (and the equivalent toolbar buttons) are only activated when the carret is in an inputtable control such as text box and combo box of property window, or the text editor. If the carret is in property window, when I click paste button, the text is pasted to property window.
Do you know SharpDev? It's a clone of Visual Studio .NET written with C#. In SharpDev, if the carret is not in an inputtable control (therefore copy/paste/cut can't be operated), copy/cut/paste menus are always active as long as there is an open document. Moreover, though the carret is in property window, when you click paste button, the text is always pasted to the main text editor.
Of course, I want my program to behavior like Visual Sutio.NET. I want copy/cut/paste buttons are only activated when there is a child form and the carret is in some inputtable control. I want my program to paste the text into the control the carret is in.
How can I achieve this? Please teach me the concept. Thank you.
Last edited by Sin Jeong-hun; September 26th, 2002 at 12:03 AM.
ALEA JACTA EST ET TEMPUS FUGIT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|