SetSystemUIMode issue
SetSystemUIMode issue
- Subject: SetSystemUIMode issue
- From: Shaguo <email@hidden>
- Date: Thu, 16 Sep 2010 19:23:11 +0800
Hi all,
In my application, a window has full screen function. I use the followings
to implenment the fullscreen,
SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);
So it will tell other application the event and hide menu and dock. The
minimize button is disabled in other application when focus is on my full
screen window.
But, My application will create another window at this time. The new window
did not get the above event and the minimize button is still yellow, but can
not be clicked. If switch the focus to other application and switch back,
the dock display and disappear, then the minimize button of the new window
is grey and disabled. I guess it receive the event during switching focus.
My question is, how can I make the minimize button of new window gray and
disabled when it was created during fullscreen mode? Not switch the focus.
Could you give me some suggestions?
Thanks in advance
--
Thanks & Best Regards!
Email:email@hidden <Email:email@hidden>
Yahoo:email@hidden <Yahoo:email@hidden>
Blog: http://rashaguo.appspot.com/
勤奋,不断追求卓越...
_______________________________________________
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