CGShieldingWindowLevel question
CGShieldingWindowLevel question
- Subject: CGShieldingWindowLevel question
- From: FeiL <email@hidden>
- Date: Wed, 11 Jun 2003 11:54:55 -0600
Hello all,
I read technical note TN2007 for CGDirectDisplay API, which have a
int32_t CGShieldingWindowLevel(void); function, and have comments: This
value may be used to position Cocoa windows at the same window level as
the shielding window.
I wonder what does this mean. This function can be used after
CGDisplayCapture() which will bring up a shield window. But after
capture the display, window server will gone, how can I set the cocoa
window level.
I have a full screen OpenGL application and another cocoa application
which have a timer to check if display is captured then set the window
level to be the shield window level+1. I run the cocoa application
first and then run the full screen OpenGL, I got an error message:
PSsetwindowlevel, error setting window level (1001).
Actually, I need show/draw something on an full screen OpenGL
application, I worked several weeks on how to figure this out but still
have no idea. If I there's any way I can draw directly to the base
address, or if there's any way I can share the context with that
application to draw together. (This OpenGL application is a commercial
application, which I don't have control on it.)
Thanks in advance for any kind of idea!
Fei
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.