Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Missing standard edit shortcut accelerator
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Missing standard edit shortcut accelerator

 Post Reply Post Reply
Author
Message
peerschindel View Drop Down
Groupie
Groupie


Joined: 12 July 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote peerschindel Quote  Post ReplyReply Direct Link To This Post Topic: Missing standard edit shortcut accelerator
    Posted: 21 July 2008 at 10:09am
Hi all,
 
in the implementation of "CXTPSyntaxEditCtrl::PreTranslateMessage"
in release 12.0.1 the shortcut for "Cut" using "Shift+Del" is missing.
Only the other shortcut for it ("Ctrl+X") is implemented.
This is in contrast to e.g. "Copy" and "Paste" where for both
cases all both official shortcuts are implemented.
 
 It would be nice to change for the next release
    if (bCtrlKey && pMsg->wParam == (BYTE)'X')
into
    if (bCtrl && pMsg->wParam == (BYTE)'X' ||
        bShift && pMsg->wParam == VK_DELETE)
OK, in the meantime I have to somehow workaround this
with an ACCELERATOR table from the resource (like it is done in the
MDITextEditor sample), but for dialogs, etc. an own ACCELERATOR
table from a resource is simply ugly (and somehow superfluous
work, if it could already be in the standard).
 
So maybe it could be corrected for the next release, just to
have it correct out of the box.
 
Regards
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.