Hello, I would like to implement on-screen buttons like the ones Preview presents in its full screen mode.
I used this to enter full screen mode. enterFullScreenMode: withOptions: When it becomes full screen mode, I pressed mouse button, but it is not processed. @implementation PDFView ( FullScreenExt ) - (void)mouseDown:(NSEvent *)theEvent { NSLog( @"mouseDown handling..."); if( [self isInFullScreenMode] ) { NSLog( @"Is in full screen mode..."); [self exitFullScreenModeWithOptions:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:NSNormalWindowLevel] forKey:NSFullScreenModeWindowLevel]]; } else NSLog( @"Is not in full screen mode..."); [super mouseDown:theEvent]; } @end Is there a way to handle mouseDown in fullscreen mode? are there also some sample codes for on-screen buttons of Preview? Thanks, _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com