FXRuby and Windows system menu keyboard shortcut

Hello everyone,

I’m using Ruby 1.8.0 for Windows, and I’m trying to decide between
FXRuby and Tk. While I’m impressed with the examples included for
both toolkits, I did happen to notice that with the FXRuby examples,
pressing the alt-space keyboard shortcut does not access the standard
Windows system menu. This is the standard behavior for Windows
applications and is important to me because I need to avoid using the
mouse as much as possible, so I rely very heavily on this keyboard
shortcut to minimize and maximize windows (and it’s also much quicker
than using the mouse). So, could anyone tell me if this is something
that could easily be turned on from within my script, or if it’s a
limit imposed by either the FOX toolkit or the Ruby wrapper? I just
downloaded the calculator example from the FOX toolkit website, and it
also does not respond to the alt-space shortcut. So I’m guessing that
this behavior is inherent to the toolkit. But I don’t know if they
have their own shorcut to access this menu or a way of getting the
default Windows behavior.

Thanks,
Yonatan

yonatan_avraham@hotmail.com (yonatan) wrote in message news:37fcf3c0.0312140542.3872d7dd@posting.google.com

than using the mouse). So, could anyone tell me if this is something
that could easily be turned on from within my script, or if it’s a
limit imposed by either the FOX toolkit or the Ruby wrapper?

Here you must add your own a shotcut key and send a windows SYS_
message to the window by your own. There is no FOX toolkit option that
does it for you.

But if you must really move the window so often you should redesign
your application.