realbasic-betas.mbox
[Top] [All Lists]

Re: Image transparency - Again

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Image transparency - Again
From: Seth Willits <seth at freaksw dot com>
Date: Tue, 22 Oct 2002 18:43:08 -0700
On 10/22/02 7:26 PM, the NSA intercepted the following message from "B&b
Software" <b&bsoftware at trump dot net dot au>:

> Hi Everyone,
> 
> Oops, what I meant to ask was, is there any way of placing a
> transparent image on a window such that the underlying window will
> show through.
> 
> I have a transparent gif that I want to display on my OS X 'About'
> window but if I use a Canvas or ImageWell control to display the
> graphic then it masks out all of the window below it and does not
> allow the window fill color (or the OSX horizontal stripes) to show
> through.
> 
> Thanks in advance for any help given

Yup; create a mask for the image and use the Paint event of the window



Seth Willits
---------------------------------------------------------------------------
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"The problem of defense is how far you can go without destroying from within
what you are trying to defend from without."
    -- Dwight D. Eisenhower
---------------------------------------------------------------------------




---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-betas-off at lists dot realsoftware dot com>

Subscribe to the digest:
<mailto:realbasic-betas-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>