Charles,

There is an issue with Leopard and the bannersample.

Here is the fix which should get you going. Edit the BannerController.m with the following code...

+ (void)enableCanBecomeVisibleWithoutLogin:(NSWindow *)targetWindow
{
if ([targetWindow respondsToSelector:@selector(setCanBecomeVisibleWithoutLogin:)])
    {
        #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
            [targetWindow setCanBecomeVisibleWithoutLogin:YES];
        #else
            NSNumber *tmpYes = [NSNumber numberWithBool:YES];
SEL selector = @selector(setCanBecomeVisibleWithoutLogin:); [targetWindow performSelector:selector withObject:tmpYes afterDelay:0.0];
        #endif
    }
}


HTH,
- Charles Heizer


Wonderful, it did indeed sort the problem, thank you very much indeed.

Still doesn't work in Tiger on a G3 iBook though, but that is probably something I can live with.

Regards,

Patrick



_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to