From: Lyle Johnson Date: 2002-12-12T01:19:25+09:00 Subject: Re: FXRuby, MDI window switching On Wed, 11 Dec 2002 10:06:56 +0900, Michael C. Libby wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have an FXMDIClient widget for which I would like to detect changes in > active window so that I can modify root-level keybindings and change the > menus available. I am having trouble capturing the SEL_CHANGED message in > the FXMDIClient or the SEL_ACTIVATED messages in the child widgets. > I've tried tinkering with the block version of connect, and putting in > return values from the switch_buffer method, but I still get errors either > way. Any ideas? The code looks OK; this sounds like a bug. I was getting ready to put together a new FXRuby release anyways and so I'll try to track this one down first.