Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The right way to hide warning icons (controls)



Am Donnerstag, 31.07.03 um 19:29 Uhr schrieb Andrew O. Mellinger:

I tried the use a toggle button, but I couldn't disable it without making my icon grey.


@interface AMNoActionButton : NSButton
{
}

@end


@implementation AMNoActionButton

- (void)mouseDown:(NSEvent *)theEvent
{
// we do nothing
}

@end


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >The right way to hide warning icons (controls) (From: "Andrew O. Mellinger" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.