I can Ctrl-C and Ctrl-V in text edit controls (for script editing and such) but I cannot Ctrl-A to select all. This requires me to Ctrl-Home-Ctrl-Shift-End-Ctrl-C to copy its contents.
Add support for Ctrl-A in dialogs in text edit controls
Posted by Kahenraz on Wed 28 Sep 2016 10:33 PM — 3 posts, 15,219 views.
Yes, it's a pain isn't it? However that is how the underlying Windows controls work. You can always right-click and do "Select All".
That doesn't mean you can't add it. This can be done by watching for WM_KEYDOWN and matching against VK_A and a the Ctrl key. Then compare that to GetKeyboardState() to see if those are the only keys down.
If the text edit control is active then copy the selection to the clipboard.
If the text edit control is active then copy the selection to the clipboard.