Professional Web Applications Themes

Cocoa and semi-transparent rounded windows - Mac Programming

Hi I guess some of you might have tried a preference-pane called "synergy" which shows a semi-transparent window with an icon and some text when iTunes starts playing a MP3. The same kind of window is used in Salling Clicker to display what the AppleScripts returned value is. You also see it when you click on a phone number in Address Book and choose "Zoom" or whatever. How do you make this kind of window? --- Ronny Salomonsen, rsalomon(a)online.no...

  1. #1

    Default Cocoa and semi-transparent rounded windows

    Hi

    I guess some of you might have tried a preference-pane called "synergy"
    which shows a semi-transparent window with an icon and some text when iTunes
    starts playing a MP3.

    The same kind of window is used in Salling Clicker to display what the
    AppleScripts returned value is. You also see it when you click on a phone
    number in Address Book and choose "Zoom" or whatever.

    How do you make this kind of window?

    ---
    Ronny Salomonsen, rsalomon(a)online.no

    Ronny Salomonsen Guest

  2. #2

    Default Re: Cocoa and semi-transparent rounded windows

    In article <BB3AE1CB.22E2%rsalomononline.no>,
    Ronny Salomonsen <rsalomononline.no> wrote:
    > How do you make this kind of window?
    [url]http://developer.apple.com/samplecode/Sample_Code/Cocoa/RoundTransparentW[/url]
    indow.htm
    Doc O'Leary Guest

  3. #3

    Default Re: Cocoa and semi-transparent rounded windows

    On 16-07-03 14:00, in article
    [email]droleary.usenet-0976A5.07000816072003corp.supernews.com[/email], "Doc O'Leary"
    <droleary.usenetsubsume.com> wrote:
    > In article <BB3AE1CB.22E2%rsalomononline.no>,
    > Ronny Salomonsen <rsalomononline.no> wrote:
    >
    >> How do you make this kind of window?
    >
    > [url]http://developer.apple.com/samplecode/Sample_Code/Cocoa/RoundTransparentW[/url]
    > indow.htm
    I found it about 15 minuter after posting this thread, but thank you anyway
    :)

    :: Ronny

    Ronny Salomonsen Guest

  4. #4

    Default Re: Cocoa and semi-transparent rounded windows

    In article <BB3AE1CB.22E2%rsalomononline.no>,
    Ronny Salomonsen <rsalomononline.no> wrote:
    > I guess some of you might have tried a preference-pane called "synergy"
    > which shows a semi-transparent window with an icon and some text when iTunes
    > starts playing a MP3.
    >
    ....
    >
    > How do you make this kind of window?
    The basic trick is to "setOpaque:NO", but you also want to consider
    "setAlphaValue:X", for X < 1.0. You can see a complete example at
    <[url]ftp://ftp.apple.com/developer/Sample_Code/Cocoa/RoundTransparentWindow.s[/url]
    it>
    No Spam Guest

Similar Threads

  1. Semi-Transparent Overlay?
    By schooloffish in forum Macromedia Freehand
    Replies: 2
    Last Post: May 5th, 03:55 PM
  2. Printing to PDF - layers remain semi-transparent
    By Mendi_Warren@adobeforums.com in forum Adobe Indesign Windows
    Replies: 0
    Last Post: April 5th, 07:58 PM
  3. Semi-Transparent Sliding Menu?
    By fourthtower in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: November 27th, 08:27 PM
  4. Pop up menus semi-transparent menu background
    By anji2222 webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 4
    Last Post: October 1st, 11:59 PM
  5. semi transparent background to dropdown menus?
    By the-creator in forum Macromedia Fireworks
    Replies: 0
    Last Post: July 29th, 02:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139