ODCL Splash Screen

Started by dkh007, August 03, 2008, 03:22:52 PM

Previous topic - Next topic

dkh007

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?
Daniel Hargreaves, AIA, CSI, CDT, RAS
accustudio.com

dkh007

Oh, I should note I'm using OpenDCL 4.1.2.2
Daniel Hargreaves, AIA, CSI, CDT, RAS
accustudio.com

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

dkh007

Thanks Owen! That is exactly what I was looking for  ;D

(vl-bb-set 'a "SPLASH")
(vl-bb-ref 'a)
Daniel Hargreaves, AIA, CSI, CDT, RAS
accustudio.com