Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > About panel question.

About panel question.
Thread Tools
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
May 3, 2002, 01:42 AM
 
I've crafted a rather nice about box for my app and there is ony tiny thing I need help with.
As it stands now, my about panel has a close gadget. I would prefer not to have a close gadget but rather, if the user clicks anywhere in the box, it is dismissed. This would be better than what I have now, but the best case scenario for me would be for my about window to not even have a title bar. I guess what I'm trying to do is make my about box like the iTunes about box. As a side note, how did apple do that way cool fade at the top and bottom of the scrolling text? I've got my text scrolling like that, but no sexy fade.
3R1C
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
May 3, 2002, 04:04 AM
 
Make a window with NSBorderlessWindowMask, and in your custom view that draws the funky stuff, implement -mouseDown: to call -performClose: on the window.

Actually, I kind of like how just about every Mac OS X app has the same style About panel...
Rick Roe
icons.cx | weblog
     
Forum Regular
Join Date: Feb 2001
Location: Berlin, .de
Status: Offline
Reply With Quote
May 3, 2002, 06:54 AM
 
Originally posted by 3R1C:
As a side note, how did apple do that way cool fade at the top and bottom of the scrolling text? I've got my text scrolling like that, but no sexy fade.
if you are a C++/Carbon guy, you might like to check out www.maczoop.com. It's a small framework that offers (among other things) a scrolling text box with a soft fade-in/fade-out. And dialog boxes without title-bars or close-widgets.

Oh yes, this is all done with the oh-so obsolete Quickdraw and Resource Manager...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2