Re: IKImageBrowserView and reordering
Re: IKImageBrowserView and reordering
- Subject: Re: IKImageBrowserView and reordering
- From: Harry Vangberg <email@hidden>
- Date: Fri, 6 Nov 2009 14:11:04 +0100
I have found a partial solution, which is enough for my needs. Instead
of passing an empty dictionary to -enterFullscreen:withOptions, you
tell it to disable the dock and the menu bar. The result is a view in
fullscreen, and reordering magically works.
- (IBAction)enterFullscreen:(id)sender
{
NSNumber *presentationOptions;
NSDictionary *fullscreenOptions;
presentationOptions = [NSNumber numberWithUnsignedInteger:
NSApplicationPresentationHideDock +
NSApplicationPresentationHideMenuBar];
fullscreenOptions =
[NSDictionary dictionaryWithObject:presentationMask
forKey:NSFullScreenModeApplicationPresentationOptions];
[view enterFullScreenMode:screen withOptions:fullscreenOptions];
}
2009/11/5 Harry Vangberg <email@hidden>:
> Hello
>
> I am (with much success) using IKImageBrowserView. I have enabled
> reordering and implemented -imageBrowser:moveItemsAtIndexes:toIndex: in
> the image browsers delegate, which works very, very fine, until I put
> the contentView of the window in fullscreen. Everything else works fine,
> but I cant initiate a drag at all. Developing against 10.6 SDK.
>
> Harry
>
_______________________________________________
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