![]()  | 
 
Missing standard edit shortcut accelerator | 
 
    Post Reply  
   | 
  
| Author | |
   
   peerschindel  
   
   Groupie  
   Joined: 12 July 2008 Status: Offline Points: 11  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Missing standard edit shortcut acceleratorPosted: 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 
 | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |