.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD Focus

2 REPLIES 2
Reply
Message 1 of 3
sapersing
595 Views, 2 Replies

AutoCAD Focus

I created a form in VB.Net that runs the entire time AutoCAD is running (like the screen menu). Works great except when for form loads, AutoCAD loses focus (i.e. you have to click the AutoCAD window before entering information). Any ideas on how to give AutoCAD focus? I guess I'm looking for something similar to the Form1.Focus event used in standard VB programs. Thanks in advance for any help.
2 REPLIES 2
Message 2 of 3
sapersing
in reply to: sapersing

By the way I am using the .ShowModelessForm() method.
Message 3 of 3
Anonymous
in reply to: sapersing

You can use AppActivate VB function to make active windows
Ex.: AppActivate(acadApp.Caption)

a écrit dans le message de news: 5460482@discussion.autodesk.com...
By the way I am using the .ShowModelessForm() method.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost