[ wxwindows-Feature Requests-1905777 ] Defining default accelerator
for common menus on wxMSW
SourceForge.net
noreply at sourceforge.net
Sun Mar 2 13:37:07 PST 2008
Feature Requests item #1905777, was opened at 2008-03-02 18:43
Message generated for change (Settings changed) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1905777&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Priority: 5
Private: No
Submitted By: Andrej Sinicyn (andrej4000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Defining default accelerator for common menus on wxMSW
Initial Comment:
wxMSW has currently a big shortcoming because of Windows design compared to other ports like wxGTK.
On wxMSW there aren't defined any accelerators for default menu commands like Cut (Ctrl+X), Copy (Ctrl+C) and Paste (Ctrl+V). To use Ctrl+C with a wxRichEditCtrl on wxMSW I would have to write a menu with defined accelerator. Out of the box I can't copy and paste in a simple program.
A possible solution would be handling of such strings via locale/msw where a re-definition with accelerator key could be done. For example
-----
msgid "&Copy"
msgstr "&Copy\tCtrl+C"
-----
This would rise the usability of wxWidgets and ease programming.
----------------------------------------------------------------------
>Comment By: Vadim Zeitlin (vadz)
Date: 2008-03-02 22:37
Message:
Logged In: YES
user_id=71618
Originator: NO
Sorry, I don't understand what do you mean here. Certainly Ctrl+C/V/X do
work in wxTextCtrl and any other control which handles them (like
wxRichTextCtrl), there is no need for a menu item for this. So what exactly
doesn't work?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1905777&group_id=9863
More information about the wx-dev
mailing list