realbasic-nug
[Top] [All Lists]

Re: Help with Win32 keyboard shortcuts

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Help with Win32 keyboard shortcuts
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Wed, 30 Jun 2004 23:06:50 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
References: <2A2B2F12CF99EA4A898E2D4729441B416CD75D at exwa2-per dot wa dot csiro dot au>
> I and Microsoft agree
>
> "An application must not affect any system-wide shortcut keys (a key or
> a combination of keys used to perform a command), such as the Windows
> logo key () that opens the Start menu. An application must also follow
> commonly recognized shortcut key assignments, such as CTRL+C for Copy
> and CTRL+Z for Undo."
> <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/
> html/ATG_KeyboardShortcuts.asp>
>
> It's a bug if RB doesn't support them just because there's not a menu!

I read the entire page you sent me and did not see anything that said you
must always provide Ctrl+C, et al.  It just said what the standard shortcuts
were for Cut, Copy, Paste, etc and said don't assign other functions to
those.

> That's bad for application-defined shortcuts but not for the standard
> ones and hopefully my link above clarifies their attitude to
> "system-wide shortcut" :-)

It doesn't clarify.  However, after looking into the problem some more this
evening, and it seems any edit control on the system supports a magical set
of shortcut keys regardless of what menus are there.  For example, you can
hit Ctrl+L and Ctrl+R to left and right align text (for an example, open up
WordPad.  You'll notice there's no menu item for it, but it still works).

So, I think it's a bug in RB that we're not handling all of these
automatically for you.

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>