Disablel control-A (select all)

  • Thread starter Thread starter Opinicus
  • Start date Start date
O

Opinicus

Using WinXP Home, all updates etc in place.

Is it possible to disable control-A (select all)? I really need to do this
on my wife's machine.
 
You can't. He may be referring to the Winkey + Another Key policy (Win + R for Run). Ctrl + A is defined in a book and programs must specifically add the keystroke to themselves in the Accelerator table. Here's notepad's Accelarator table. The number is the command. So for Notepad Ctrl + A runs command 25 which seems to be select all.

MAINACC ACCELERATORS

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

{

VK_N, 1, CONTROL, VIRTKEY

VK_O, 2, CONTROL, VIRTKEY

VK_S, 3, CONTROL, VIRTKEY

VK_P, 6, CONTROL, VIRTKEY

VK_INSERT, 769, CONTROL, VIRTKEY

VK_F1, 64, VIRTKEY

VK_F3, 22, VIRTKEY

VK_F5, 26, VIRTKEY

VK_G, 24, CONTROL, VIRTKEY

VK_F, 21, NOINVERT, CONTROL, VIRTKEY

VK_H, 23, NOINVERT, CONTROL, VIRTKEY

VK_BACK, 16, ALT, VIRTKEY

VK_Z, 16, CONTROL, VIRTKEY

VK_X, 768, CONTROL, VIRTKEY

VK_C, 769, CONTROL, VIRTKEY

VK_V, 770, CONTROL, VIRTKEY

VK_A, 25, CONTROL, VIRTKEY

}
 
PS That is the full keyboard keys for NotePad.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"David Candy" <.> wrote in message You can't. He may be referring to the Winkey + Another Key policy (Win + R for Run). Ctrl + A is defined in a book and programs must specifically add the keystroke to themselves in the Accelerator table. Here's notepad's Accelarator table. The number is the command. So for Notepad Ctrl + A runs command 25 which seems to be select all.

MAINACC ACCELERATORS

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

{

VK_N, 1, CONTROL, VIRTKEY

VK_O, 2, CONTROL, VIRTKEY

VK_S, 3, CONTROL, VIRTKEY

VK_P, 6, CONTROL, VIRTKEY

VK_INSERT, 769, CONTROL, VIRTKEY

VK_F1, 64, VIRTKEY

VK_F3, 22, VIRTKEY

VK_F5, 26, VIRTKEY

VK_G, 24, CONTROL, VIRTKEY

VK_F, 21, NOINVERT, CONTROL, VIRTKEY

VK_H, 23, NOINVERT, CONTROL, VIRTKEY

VK_BACK, 16, ALT, VIRTKEY

VK_Z, 16, CONTROL, VIRTKEY

VK_X, 768, CONTROL, VIRTKEY

VK_C, 769, CONTROL, VIRTKEY

VK_V, 770, CONTROL, VIRTKEY

VK_A, 25, CONTROL, VIRTKEY

}
 
Back
Top