Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!portc02.blue.aol.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!uunet!in2.uu.net!198.252.177.35!news!not-for-mail
From: Avery Kadison <avery@integral.com>
Subject: Re: Replace PPD-Logo at systemtart and the VisualWorks(R) 2.5 Text
Message-ID: <32D71E87.5967@integral.com>
Date: Fri, 10 Jan 1997 21:00:55 -0800
References: <579ggj$3bl@ilex.FernUni-Hagen.de> <32CD35E3.75FB@mci.com> <01bbfb18$b19a7fe0$930862c1@seessle> <32D433A3.45E9@mci.com>
Organization: Integral Development Corporation
X-Mailer: Mozilla 3.0 (WinNT; U)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 42

Andy Hofle wrote:
> 
> Nico Seessle wrote:
> >
> > Andy Hofle <andy.hofle@mci.com> wrote in message <32CD35E3.75FB@mci.com>...
> > > Jochen Krebs wrote:
> > > >
> > > > My Problem is to replace the Text below the PPD Logo at system
> > > > start with my personal text.
> > >
> > > You can not make these changes in Smalltalk; instead, you will have to
> > > recompile the object engine (vw.exe) using Visual C++ 4.0.  To change
> > > the logo, just replace the logo.bmp in the userprim\make directory with
> > > your own bitmap.  To change the text below it, you will have to look in
> > > one of the header files (validate.h or customize.h?) and replace the
> > > static string variable there (I can't remember the name of it, but it's
> > > pretty obvious by looking at it) with your own.  Then recompile
> > > everything.
> > >

Why do that?  It's completely unnecessary, due to the existence of (top
secret - CIA might ferret me away tomorrow) "PRIMITIVE 304".  For once,
I'm glad they created an (almost) useless primitive -- one just for (you
guessed it) changing the text of which Jochen speaks.

The question was "How do I add text BELOW THE SPLASHSCREEN?" (Not how do
I change the splash screen itself)

The answer, if I may be so bold, is to add the following to the image
somewhere and calling it before saving the image...

myLogoString: theLogoString 
"Set the text that is shown on the splashscreen when the system is
started. This relies on an 
apparently-undocumented ParcPlace primitive."
"self myLogoString: 'This is a neat trick'"

	<primitive: 304>
	self primitiveFailed

Hope this is helpful.
Avery

