TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Patrick_35 on August 02, 2006, 09:58:04 AM

Title: MsgBox in Vlisp
Post by: Patrick_35 on August 02, 2006, 09:58:04 AM
Hello
I found this method
Code: [Select]
(vla-eval (vlax-get-acad-object) (strcat "MsgBox \"My Message\"" ", " (itoa 48) ", " "\"My title\"")) to change the usual dialogue box alert
Now, I wish, if it's possible, to recover the value of the buttons as in this example
Code: [Select]
(vla-eval (vlax-get-acad-object) (strcat "MsgBox \"My Message\"" ", " (itoa (+ 1 2 16 256)) ", " "\"My title\""))
Thank's in advance

@+
Title: Re: MsgBox in Vlisp
Post by: CAB on August 02, 2006, 10:37:03 AM
Hello Patrick and welcome to the swamp.


Here are some related threads.

http://www.theswamp.org/index.php?topic=9684.0

http://www.theswamp.org/index.php?topic=10109.msg129546#msg129546
Title: Re: MsgBox in Vlisp
Post by: Patrick_35 on August 02, 2006, 10:58:50 AM
Ah yes, very nice  :-)
Thank's you very much
And, it's possible with a browser dialog box in vlisp (just for a directory, the same of (acet-ui-pickdir) )

@+