# FXRuby and win32 events

**URL:** <https://www.ruby-forum.com/t/fxruby-and-win32-events/70197>\
**Category:** Ruby\
**Created:** [September 27, 2006, 1:36pm UTC](https://www.ruby-forum.com/t/fxruby-and-win32-events/70197 "2006-09-27T13:36:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Traz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/5fc32e/32.png) [@Traz](https://www.ruby-forum.com/u/Traz)\
**Post date:** [September 27, 2006, 1:36pm UTC](https://www.ruby-forum.com/t/fxruby-and-win32-events/70197/1 "2006-09-27T13:36:39Z")

</div>

Hello,  
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 ?
