🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9933

Re: Need SunView Help

#9933
From: Ellery Chan
Date: Fri, 30 Dec 1988 05:57
17 lines
1281 bytes
I'm paraphrasing the questions from David Geary:  1) How can I get a
pointer to the window my application starts in?  2) How can I resize that
window?  3) How do I draw into that window?

I believe it is considered impolite to resize or draw in someone else's
window.  The usual approach is to have your application create its own
base frame.  That way you'll have the handle for it, you can resize it,
and you can easily create a canvas within it on which to draw.

Of course, if you really do want to manipulate the existing window you'll
probably need to poke around in the SunView System Programmer's Guide for
help.

Ellery Chan
Advanced Technology Dept.
Harris Corp., Melbourne, FL
Arpa: ellery@trantor.harris-atd.com
Technical Details
Message-ID: <8812191429.AA10432@trantor.harris-atd.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!husc6!rice!sun-spots-request
From: ellery@trantor.harris-atd.com (Ellery Chan)
Newsgroups: comp.sys.sun
Subject: Re: Need SunView Help
Message-ID: <8812191429.AA10432@trantor.harris-atd.com>
Date: 30 Dec 88 05:57:32 GMT
Sender: usenet@rice.edu
Organization: STC Technology Limited, London Road, Harlow, Essex, UK
Lines: 17
Approved: Sun-Spots@rice.edu
Original-Date: Mon, 19 Dec 88 09:29:15 EST
X-Sun-Spots-Digest: Volume 7, Issue 79, message 7 of 11