Article View: comp.sys.sun
Article #12812Re: SunView tricks needed: background to a panel
From: Chuck Musciano
Date: Fri, 12 May 1989 03:52
Date: Fri, 12 May 1989 03:52
20 lines
1520 bytes
1520 bytes
> I am trying to put a background image into a sunview panel, but am coming
> across the expected problems. . .
I was never able to get this working correctly. It's all moot, since this
ability is explicitly not supported under XView.
> Is there anyway to define an alternate image for a button, instead
> of relying on sunview's own braindead invert highlighting.
You can attach an event proc to a button, and you will receive events like
PANEL_BEGIN_PREVIEW and PANEL_CANCEL_PREVIEW. This signify the various
states of the button click sequence. You can do whatever you want to
modify the button appearance when you receive these events. Look at the
manual section about panels, and look at the code in calctool to see how
this is done.
Chuck Musciano ARPA : chuck@trantor.harris-atd.com
Harris Corporation Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912 AT&T : (407) 727-6131
Melbourne, FL 32902 FAX : (407) 727-{5118,5227,4004}
Technical Details
Message-ID:
<8905091901.AA29337@trantor.harris-atd.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: chuck@trantor.harris-atd.com (Chuck Musciano) Newsgroups: comp.sys.sun Subject: Re: SunView tricks needed: background to a panel Keywords: Windows Message-ID: <8905091901.AA29337@trantor.harris-atd.com> Date: 12 May 89 03:52:19 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu Original-Date: Tue, 9 May 89 15:01:28 EDT X-Sun-Spots-Digest: Volume 7, Issue 285, message 2 of 10