Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
FullScreen API question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FullScreen API question



I'm using the BeginFullScreen() and EndFullScreen() functions from
QuickTime API's to switch to
full screen mode (i.e. hide the menubar, clear the screen, hide other
windows and change to a better resolution).

After calling BeginFullScreen() i need to fit my window to the new full-
screen mode.

The BeginFullScreen() function itself provides (when requested) a new
window sized to cover the screen, at the requested height ant width, with
no title bar etc.

In my program, I cannot use this convenient functionality, because I
have a window full of controls, data, and event handlers that i don't
want to duplicate every time the user switches to full-screen. I need to
manually make my original window a "FullScreen" window, without the title
bar controls, and actually with only the content region visible.

1. How do I size a window so that its contents region covers the whole
monitor?
2. How do i hide everything but the contents of the window?
3. How do i go back to normal?


Motti Shneor,
CEO, suMac LTD.
Software Development for the Macintosh
---
ceterum censeo microsoftiem delendam esse
---
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.