FXRuby and Windows system menu keyboard shortcut

Y

yonatan

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
 
L

Lothar Scholz

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top