Am 14.05.2008 um 00:32 schrieb "dan sinclair" <[EMAIL PROTECTED]>:
I was playing a bit with Cocoa and full screen and I wrote a quick
blog
entry about it: http://everburning.com/news/going-fullscreen-with-
medium/
I'm not sure if it's the correct way, or the best way, but it does
seem to
w
On 5/13/08 11:30 PM, Dennis Munsie said:
>This code worked for me -- with one change: the NSRect from [screen
>frame] has the offset set to it's relative location to the main
>display. This is what was throwing me off the entire time :) By
>setting the offset to 0,0 I was able to get a visible f
Yes, this function is available for 64bits app.
Le 14 mai 08 à 05:30, Dennis Munsie a écrit :
This code worked for me -- with one change: the NSRect from [screen
frame] has the offset set to it's relative location to the main
display. This is what was throwing me off the entire time :) By
set
This code worked for me -- with one change: the NSRect from [screen
frame] has the offset set to it's relative location to the main
display. This is what was throwing me off the entire time :) By
setting the offset to 0,0 I was able to get a visible full screen
window.
BTW -- not that it matters
Switch to fullscreen in a couple of line and without capturing display
('uiView' is your custom view with custom drawing code):
SetSystemUIMode(kUIModeAllSuppressed, kUIOptionAutoShowMenuBar);
NSScreen *screen = [[uiView window] screen];
NSWindow *window = [[NSWindow alloc] initWith
Other than me wanting to avoid re-writing my view drawing code? :)
I will probably look into doing this -- of the unanswered questions
that I have is will I be able to toggle (relatively) easily between a
full-screen context and a windowed context? Do I need to completely
throw out my NS* drawin
I was playing a bit with Cocoa and full screen and I wrote a quick blog
entry about it: http://everburning.com/news/going-fullscreen-with-medium/
I'm not sure if it's the correct way, or the best way, but it does seem to
work for me (although I believe it will limit the OS version you can run
unde
None of this really refutes what Ricky posted.
You are just lucky that it works in the one-display case. It really
isn't designed to work, and on some configurations, it just won't.
Is there anything preventing you from following Ricky's advice?
Dennis Munsie wrote:
In this case, what I am tr
In this case, what I am trying to accomplish is something along the
lines of how Keynote and Powerpoint behave. I only want to take over
one display, most likely connected up to a projector. But, I also
occasionally want to have it in a window. I'm not expecting any
controls to work -- this is s
On May 13, 2008, at 12:11 PM, Dennis Munsie wrote:
I have an app right now that I've added a fullscreen mode to. RIght
now it works for fullscreen when I go to fullscreen on the main
display. If I attempt to do this on the secondary display, I get a
blank screen.
I think one problem is proba
10 matches
Mail list logo