[fxruby-users] SEL_CLOSE - win32 event
Jeroen van der Zijp
jeroen at fox-toolkit.org
Thu Sep 28 10:53:27 EDT 2006
On Thursday 28 September 2006 08:07, Lyle Johnson wrote:
> On Sep 28, 2006, at 3:53 AM, A.R. wrote:
> > 1. why SEL_CLOSE doesn't work on this example ?? It seems that
> > SEL_CLOSE never be called ??
> This is due to a bug in FOX; see:
> I'm still waiting for this bug to be fixed.
> > 2. (i have posted this question on comp.lang.ruby with no responses at
> > this time) : I'm trying to build a small 'auto-copy' app with FXRuby
> > (on windows). I
> > need to intercept WM_CHANGECBCHAIN message (in conjonction with win32
> > function call SetClipboardViewer and ChangeClipboardChain), but it
> > seems that the only way for handling non integrated win32 event with
> > Fox is to overload the FXApp::dispatchEvent C function ...
> > Any idea for doing that only with Ruby and FXruby ?
> No, sorry. That's getting into way too much Win32 platform-dependent
> stuff. Your best bet is to try to get Jeroen to provide first class
> support for that in FOX.
When you asked to remove the test on "message" not being zero, I removed
them all [or so I thought]. However, in the case of close() I have overlooked
It has been fixed internally, and I will make a new release of 1.6. asap.
Thanks for the info,
More information about the fxruby-users