Print Page | Close Window

Missing standard edit shortcut accelerator

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=11515
Printed Date: 21 November 2024 at 11:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Missing standard edit shortcut accelerator
Posted By: peerschindel
Subject: Missing standard edit shortcut accelerator
Date 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
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net