Maybe I don't state clearly, I means I can't change autocad default double click command (ddedit,eattedit,refedit..) )with my command, because
1. autocad alway use .ddedit to response double click event, so my ddedit doesn't work.
2. I can redefine eattedit and refedit, I also use CommandFlags.UsePickSet flag as you say , but again SelectImplied() get nothing object.
I think the best way to realize custom double click command is to use double click event , but as I say befor, the problem is after finish my own command , the object edited is still highlighted and selected , and I must press "esc" key twice to continue my next work.
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
wrote in message news:firstname.lastname@example.org...
1. If I redefine mtedit command , I can't get the object on pickpoint use SelectImplied() method. and more I can't redefine ddedit
command, my aids is to hanle all the objects double click event.
2. yes, I run the command again, but the error still exit.
thanks, Albert. you are really a good man, with your help , I learn many useful things.
I have solved my problem of double click event. through calling a command(my own unhighlight method ) with SendStringToExecute method after my own double click event, I can unhighlight the object edited sucessfully.
but as you suggest , I can call my own double click command through redefine all commands related to double click , I trid ,but only mtext works, others command doesn't work.
when I undefine ddedit command in my lisp,autocad default ddedit command doesn't work in autocad if I directly run ddedit in command line, instead my own ddedit run , but when I double click a text, autocad will run its internal command .ddedit, not run ddedit,so my own ddedit command doesn't work in double click event through this method.
I can redefine eattedit and refedit, I also use CommandFlags.UsePickSet flag as you say , but again SelectImplied() get nothing object.