.NET

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

Highlighting objects problem

121 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 (121 Views)

Re: Highlighting objects problem

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

AcadApp.Update();

:smileyhappy:
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.