.NET

Reply
Valued Contributor
Nawara17
Posts: 52
Registered: ‎03-27-2006
Message 1 of 2 (127 Views)

Highlighting objects problem

127 Views, 1 Replies
09-11-2006 06:27 PM
Hi all,

Please, can anybody tell me why highlighting entities doesn't work if the mouse is not within the drawing area??

what i mean is in my project i am doing some events that highligts specific entity. it works with me, but after moving the mouse out of the palette to get within the drawing area.

i added AcadApp.ActiveDocument.Activate(); and MyPalette.KeepFocus=false; after doing the highlighting, but it still doesn't work.

I am using AutoCAD 2006, VS2003(C#).

Please, can anybody help?

thanks in advance.

Noora
Valued Contributor
Nawara17
Posts: 52
Registered: ‎03-27-2006
Message 2 of 2 (127 Views)

Re: Highlighting objects problem

09-12-2006 05:22 PM in reply to: Nawara17
i found the answer it is

AcadApp.Update();

:smileyhappy:
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.