Re[2]: problem with rf
Richard Wirth <[email protected]> Tue, 15 Jun 2004 22:30:09 +0200
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Organization | Ing.Büro Richard Wirth |
| Message-ID | <[email protected]> |
Hello Jerzy, Tuesday, June 15, 2004, 11:05:50 PM, you wrote: JK> Richard, >> But this results in a new button pressed event for OnViewConflict() >> and all the others, which in turn change the state not being >> "kFilterModified" any more. So we get a perfect recursion! JK> Perhaps disabling the other buttons while toggling them would help - the JK> disable state could be used to prevent recursion - the handler can check it JK> and ignore the event...? The Problem is, the knobs get updated while UpdateUI(), which is long time after the initial change to "SeeModified". And the implementation only does a toggle regardless of the current internal state. I think a possible way is not to modify the state of the other filters directly, but forcing the buttons to do the state change. But than the buttons must know each other... -- Best regards, Richard mailto:[email protected] ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/NhFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cvsgui-dev/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/