OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: dkh007 on August 03, 2008, 03:22:52 PM

Title: ODCL Splash Screen
Post by: dkh007 on August 03, 2008, 03:22:52 PM
I currently use DOS_Lib for a splash screen. Because DOS_Lib is an ARX and it is not demand loaded, I'm able to have the Splash screen only show when you first launch AutoCAD. It checks to see if it is a (member) and if it is not, load the ARX, then display the Splash.

I would like to do away with DOS_Lib and use the the splash screen trick in Show & Tell. But I can't seem to figure out how to have the ODCL splash screen only display once when AutoCAD is launched. I don't want to see it when if I do a new or open from AutoCAD. Any suggestion?
Title: Re: ODCL Splash Screen
Post by: dkh007 on August 03, 2008, 03:24:30 PM
Oh, I should note I'm using OpenDCL 4.1.2.2
Title: Re: ODCL Splash Screen
Post by: owenwengerd on August 03, 2008, 05:04:43 PM
You can just use the AutoLISP bulletin board to set a flag when the splash screen is first displayed, then check the flag and don't display it again if the flag is set.
Title: Re: ODCL Splash Screen
Post by: dkh007 on August 03, 2008, 05:51:15 PM
Thanks Owen! That is exactly what I was looking for  ;D

(vl-bb-set 'a "SPLASH")
(vl-bb-ref 'a)