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 > Seting NSScreen Paramaters

Seting NSScreen Paramaters
Thread Tools
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status: Offline
Reply With Quote
Jan 19, 2004, 02:39 PM
 
Im looking for a way to place an element at the bottom of the screen, and tell the windowServer to now show that x pixels at the bottom of the screen are no longer available... Im sure this is going to be a totally NON SUPPORTED, non documented way.. But im wondering if anyone has done anything like this yet?

Thanks

Brandon Corbin
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jan 20, 2004, 02:31 PM
 
It would completely non supported or documented. All of the NSScreen functions return information. Have you checked in Carbon to see if this is possible?
     
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status: Offline
Reply With Quote
Jan 20, 2004, 02:37 PM
 
Have you?

Did you find anything good?
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jan 20, 2004, 03:09 PM
 
Nope, nothing... I do think that it is possible, it better be Might have to find someone that works at Apple to figure it out though... I will check in the carbon files and see if I can find anything.
     
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status: Offline
Reply With Quote
Jan 20, 2004, 03:12 PM
 
Getting someone at apple would be quite helpful!

Any takers on this one?
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jan 20, 2004, 03:18 PM
 
The more I think about it, it seems like it might be to low level for OS X... I think the OS is going to be the only one that can access the CoreGraphics stuff that will control the screen size. It might still be possible though...
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Jan 20, 2004, 07:10 PM
 
Probably the most surefire way to accomplish this (though still terribly hackish and unsupported) would be to patch -[NSScreen visibleFrame] so that it returns something different... say, by using Unsanity's Application Enhancer tools. Of course, that would only have an effect on Cocoa applications... do do it for Carbon apps too, you'd need to find out what the equivalent function is for them, and patch it as well.
Rick Roe
icons.cx | weblog
     
   
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 12:52 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