Valued Contributor
Posts: 95
Registered: ‎04-04-2012
Message 1 of 2 (167 Views)

Alternative method for SetFocusToDwgView()?

167 Views, 1 Replies
01-15-2013 01:02 AM

Unfortunately, ARX 2007 does not provide Autodesk.AutoCAD.Internal.Utils.SetFocusToDwgView().

What would be the best way to mimic this method?

Posts: 1,457
Registered: ‎04-09-2008
Message 2 of 2 (159 Views)

Re: Alternative method for SetFocusToDwgView()?

01-15-2013 03:08 AM in reply to: dynamicscope

Try this code (not the same as SetFocusToDwgView but can be helpful):

extern static IntPtr SetFocus(IntPtr hWnd);
static void SetFocusToActiveDocument()
static void SetFocusToMainWindow()




Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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.