Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get List Of Child Process from currentprocess! Pin
divyesh14325-Apr-10 19:33
divyesh14325-Apr-10 19:33 
Questionado.net object transaction + sql trigger fails Pin
Wendell.S23-Mar-10 19:50
Wendell.S23-Mar-10 19:50 
AnswerRe: ado.net object transaction + sql trigger fails Pin
Mycroft Holmes23-Mar-10 20:23
professionalMycroft Holmes23-Mar-10 20:23 
QuestionAddString() Pin
manushi8823-Mar-10 19:24
manushi8823-Mar-10 19:24 
AnswerRe: AddString() Pin
Luc Pattyn23-Mar-10 19:50
sitebuilderLuc Pattyn23-Mar-10 19:50 
AnswerRe: AddString() Pin
carlecomm24-Mar-10 15:34
carlecomm24-Mar-10 15:34 
QuestionPass values from Textbox To Datagridview C# Pin
zafax_23-Mar-10 19:13
zafax_23-Mar-10 19:13 
QuestionHow do I access the Textbox context menu to add items? Pin
steveski7423-Mar-10 18:23
steveski7423-Mar-10 18:23 
Hi,

I've seen many articles online attempting to answer this but none seem to do what I'm after.

I have a .NET 3.5 C# project for which I created a context menu strip with an "Explore" item. This context menu is assigned to a text box. The explore item opens Windows Explorer at the location specified in the text box.

The problem I'm trying to grapple with is that because I've assigned my own context menu strip, I don't get the standard context menu items, that contains "undo, cut, copy, paste, delete and select all". Users tend to expect these items to appear when they right click a text box. Is there a way of getting a reference to this standard Windows context menu and either adding new items to it with event handlers, or add each of these items to my own context menu manually and when each item is clicked, then call the corresponding items / event handlers on the default menu?

I suspect in either case I'm going to have to do some interop work here but have no idea how to get at the menu in the first place.


Thanks,

Steve Y
AnswerRe: How do I access the Textbox context menu to add items? Pin
Mycroft Holmes23-Mar-10 18:39
professionalMycroft Holmes23-Mar-10 18:39 
GeneralRe: How do I access the Textbox context menu to add items? Pin
steveski7423-Mar-10 19:04
steveski7423-Mar-10 19:04 
GeneralRe: How do I access the Textbox context menu to add items? Pin
Mycroft Holmes23-Mar-10 19:54
professionalMycroft Holmes23-Mar-10 19:54 
AnswerRe: How do I access the Textbox context menu to add items? Pin
MikeTheFid10-Jun-11 7:47
MikeTheFid10-Jun-11 7:47 
QuestionCould I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 17:30
pcphuc23-Mar-10 17:30 
AnswerRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
Richard MacCutchan23-Mar-10 22:43
mveRichard MacCutchan23-Mar-10 22:43 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 23:02
pcphuc23-Mar-10 23:02 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
Richard MacCutchan23-Mar-10 23:15
mveRichard MacCutchan23-Mar-10 23:15 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 23:17
pcphuc23-Mar-10 23:17 
Question#include or including files Pin
prithaa23-Mar-10 17:05
prithaa23-Mar-10 17:05 
AnswerRe: #include or including files Pin
Saša Ćetković23-Mar-10 17:30
professionalSaša Ćetković23-Mar-10 17:30 
GeneralRe: #include or including files Pin
PIEBALDconsult23-Mar-10 18:23
mvePIEBALDconsult23-Mar-10 18:23 
AnswerRe: #include or including files Pin
Dr.Walt Fair, PE23-Mar-10 17:32
professionalDr.Walt Fair, PE23-Mar-10 17:32 
AnswerRe: #include or including files Pin
PIEBALDconsult23-Mar-10 18:20
mvePIEBALDconsult23-Mar-10 18:20 
GeneralRe: #include or including files Pin
Luc Pattyn23-Mar-10 18:24
sitebuilderLuc Pattyn23-Mar-10 18:24 
GeneralRe: #include or including files Pin
prithaa23-Mar-10 18:32
prithaa23-Mar-10 18:32 
GeneralRe: #include or including files Pin
PIEBALDconsult24-Mar-10 4:31
mvePIEBALDconsult24-Mar-10 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.