Author Topic: MsgBox in Vlisp  (Read 2289 times)

0 Members and 1 Guest are viewing this topic.

Patrick_35

  • Guest
MsgBox in Vlisp
« 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

@+

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: MsgBox in Vlisp
« Reply #1 on: August 02, 2006, 10:37:03 AM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Patrick_35

  • Guest
Re: MsgBox in Vlisp
« Reply #2 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) )

@+