Hide current window when working with a dialog box . . .

Hide current window when working with a dialog box . . .

Anonymous
Not applicable
198 Views
1 Reply
Message 1 of 2

Hide current window when working with a dialog box . . .

Anonymous
Not applicable
I'm calling an autocad command that pulls up an interactive dialog box.

I am trying to use the sendkey command to send tab, text and spacebar key strokes to the dialog to make some simple manipulations to automate a frequently used process.

my code does not send the keystrokes till the dialog is closed. I read on a post I need to have vba hide the dialog, then execute the keystrokes, then show the form.

I'm new to VBA and can't find a way to hide/show the current dialog.

Any help will be appreciated . . . thank you

swu
0 Likes
199 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Try Me.Hide. Although I'm not sure you'll get *any* code to execute while
AutoCAD is displaying a modal dialog.

--
"If you want to be somebody else change your mind"
http://www.acadx.com
http://vbxtender.sourceforge.net
0 Likes