On Sep 12, 2006, at 9:07 AM, Mark O'Neill wrote:

| 3) having a MacOSX with a transparent background (when using the
| brushed metal look for the application)

Hmm - that'd require rewriting the toolbar quite a bit because to avoid the double-flickering in Windows, the toolbar is double-buffered. It is possible though, but I'd have to re-write parts of what I've done, so that'll have to
wait for v1.1. Watch this space.

It is not so bad... take a look at my BufferedCanvas example which is designed to be a drop-in replacement for Canvas (just change the Super from Canvas to BufferedCanvas):

    http://developer.dreystone.com/bufferedcanvas.php

However, drop-in replacement will not work quite as well for you since you already have a buffer image. The key is to make the Graphics object you perform all of your drawing operations on to point to either the Canvas.Graphics (support transparency) or to the Graphics object of your buffer image. Something like:

  Dim g As Graphics

  If hasAlphaSupport Then
    g = Me.Graphics
  Else
If (cBuffer Is Nil) Then cBuffer = NewPicture(Me.Width, Me.Height, 32)
    g = cBuffer.Graphics
  End If

  // drawing code goes here


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to