--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 14, 2002 at 03:54:46PM -0500, Lyle Johnson wrote:
> After some more experimenting and consulting with a friend, I figured out
> the problem. The first problem is that a basic FXWindow widget is not
> "shown" by default, and so it's not generating any SEL_MOTION messages. I
> was unaware of this since I don't usually use the basic FXWindow but rather
> one of the subclasses. The other problem (after making sure it's shown) is
> to enable it, i.e. make it sensitive to window events. Again, most
> subclasses of FXWindow (like, for example, FXCanvas) are enabled by default.
> So to fix your program you just need to add *two* lines:
> 
>       @w = FXWindow.new(@h, FRAME_SUNKEN | LAYOUT_FILL_X | LAYOUT_FILL_Y)
>       @w.connect(SEL_MOTION) {
>         puts "Window SEL_MOTION"
>       }
>       @w.show    # this is new!
>       @w.enable  # so is this!
> 


> Hope this helps,

sure this helps, thank you for your analysis, I've cc'd the list also, I hope
this info will be of interest there...

> Lyle

martin
-- 
It has become appallingly obvious that our technology has exceeded
our humanity.
					-- Albert Einstein

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE85LGaYgJwJG4GAiMRAm4kAKCALwdsBcxCSUkx+c2tdN4AQXfLeQCgpx6P
HAEA+8gyPKa3RxaypkDdQXgèN
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--