non-movable fullscreen window
non-movable fullscreen window
- Subject: non-movable fullscreen window
- From: Praveen Innamuri <email@hidden>
- Date: Wed, 22 Apr 2009 18:45:26 +0530
Initially I created a window with a title-bar (so, I created a
window with border and resizable/movable properties). However,
depending upon a request, the window should be converted into
fullscreen dynamically (without titlebar, non-resizable, non-movable).
I am trying to set the application into FullScreen manually (as the
setFullScreen API changes the NSWindow handle and it is violating the
rules of my application). I could resize the window to frame of the
screen, but I couldn't find any way to change the window as
'borderless' dynamically. Though I set the MenuBar's visibility to
false, it hides the titlebar, but window still moves when it is
dragged. How can I prevent the window (in full-screen) from being
moved ?
I tried windowWillMove delegate, but is not helpful. Please
suggest any method to prevent window getting moved (when it is being
dragged) ?
Thanks in advance,
Praveen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden