Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Mouse Events while Fullscreen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mouse Events while Fullscreen



I've got a working OSX carbon OpenGL app which uses AGL functions for OpenGL context
management. It works great it windowed mode. One required feature is a popup menu in the
window when the user right-clicks. How can I duplicate this functionality in fullscreen
mode. I've successfully added code to switch the context to fullscreen and continue
rendering, but I stop receiving mouse events (because obviously I'm no longer in the
window context). Is there an event handler I can install to get mouse events from
fullscreen mode? If so, will I be able to use PopUpMenuSelect?

As I type this - I suspect that this is not possible - since I've effectively taken over
the window manager - he's not going to draw  a popup window. If that is the case - then
fullscreen won't work for my requirements. In that case, is there a way to make a normal
window fullscreen - ie: no menu bar, no title bar, dock hidden, etc.?

Thanks,
-Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



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.