From: "Michael C. Libby" Date: 2002-12-12T13:15:29+09:00 Subject: Re: FXRuby, MDI window switching -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 11 December 2002 10:19, Lyle Johnson wrote: > > 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. [snip] > > 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. Thanks Lyle! Glad to know that, for once, my ability to read and understand the Fine Manual was not at fault. This seems to work fine in your latest code. -michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9+AsA4ClW9KMwqnMRApOuAJ0dXHihljzcD2aZTf5wsiojoxwOBwCdE1qZ v/Ql8erFJWcTZ+6OgpSXFvw= =1/3s -----END PGP SIGNATURE-----