Re: Alternating Button

2008-04-04 Thread Gerriet M. Denkmann
Le 3 Apr 2008 à 16:31, douglas a. welton a écrit : Gerriet, Check out the function GetCurrentEventKeyModifiers() in the Carbon Event Manager reference:

Re: Alternating Button

2008-04-03 Thread douglas a. welton
Gerriet, Check out the function GetCurrentEventKeyModifiers() in the Carbon Event Manager reference: rega

Re: Alternating Button

2008-04-03 Thread Gerriet M. Denkmann
On 2 Apr 2008, at 19:59, douglas a. welton wrote: Gerriet, Check out the documentation on User Interface Validation: This should get you going in the right direction. Alternately, you can l

Re: Alternating Button

2008-04-02 Thread douglas a. welton
Gerriet, Check out the documentation on User Interface Validation: This should get you going in the right direction. Alternately, you can listen for the NSWindowDidUpdateNotification and ma

Re: Alternating Button

2008-04-01 Thread Gerriet M. Denkmann
On 1 Apr 2008, at 18:16, Jean-Daniel Dupas wrote: I dont think there is an automatic way to have it (except for menu items), but you can have a look at the flagsChanged: method of NSResponder. Le 1 avr. 08 à 17:24, Gerriet M. Denkmann a écrit : The FindPanel in TextEdit has in the bottom

Re: Alternating Button

2008-04-01 Thread Jean-Daniel Dupas
Sorry for the previous unfinished message. I dont think there is an automatic way to have it (except for menu items), but you can have a look at the flagsChanged: method of NSResponder. Le 1 avr. 08 à 17:24, Gerriet M. Denkmann a écrit : The FindPanel in TextEdit has in the bottom left cor

Re: Alternating Button

2008-04-01 Thread Jean-Daniel Dupas
I dont think there is an automatic way to have it (except for menu), but you can have a look at the flagsChanged: event Le 1 avr. 08 à 17:24, Gerriet M. Denkmann a écrit : The FindPanel in TextEdit has in the bottom left corner a button "Replace All" which changes to "In Selection" when the

Alternating Button

2008-04-01 Thread Gerriet M. Denkmann
The FindPanel in TextEdit has in the bottom left corner a button "Replace All" which changes to "In Selection" when the ⌥-key is pressed. How is this done? I want to have such a changing button in some of my own panels. Kind regards, Gerriet.