Squeak Window
Raab, Andreas
Andreas.Raab at disney.com
Sat Dec 18 03:12:10 UTC 1999
This is sooooooooooo cool!!!!
- A.
> -----Original Message-----
> From: Tansel Ersavas [mailto:tansel at rase.com]
> Sent: Friday, December 17, 1999 9:57 PM
> To: squeak at cs.uiuc.edu
> Cc: recipient list not shown
> Subject: Re: Squeak Window
>
>
>
>
> Bijan Parsia wrote:
>
> > At 8:17 PM -0500 12/16/99, Ali Chamas wrote:
> >
> > >Regarding the Squeak application window (the OS window
> > >which Squeak is running in):
> > >
> > >*) Is there anyway to lock the extent of the window,
> > >so that the user cannot drag or re-size any of the
> > >borders?
> >
> > I think this requires a vm tweak.
>
> If you don't want to touch the VM, you can use Anreas Raab's trick
> -browserWindow: HWND stuff. All you need to do is to write a
> basic Windows
> program that sets up a window with an irregular region, and
> you can open Squeak
> image in it. I have attached an executable that opens an
> elliptic region and if
> you execute the line
>
> squeak -browserWindow: <Hwnd displayed in the elliptic
> window> <image name>
> ^ space
>
> in command line it should run your image in it.
>
> You must convert the hex number in the elliptical window to
> decimal to supply
> as a parameter. If you write a few more lines you can execute
> the VM from this
> wrapper. You can also combine this with the VM to have an
> option of opening an
> irregular window but then you have the problem of different
> behaviors in
> different platforms.
>
> If you need the source, I can put it up to my web site sometime.
More information about the Squeak-dev
mailing list
|