disable showing the attribute table in ArcGIS extension

Discussion created by gkar68 on May 27, 2013
I am building an ArcGIS extension on desktop 10.1 (not add-in, but old extension).
I built some forms to edit some feature class, where I implement business rules.
I want to force the user to edit the data from these forms.
So, I prevent showing the attribute table from the context menu when the user right-mouse click on the layer.
But I want as well to disable the keystroke of showing the attribute table "CTRL-T"
the user can still press "CTRL-T" and edit the attribute table and edit directly from the attribute table.
how can I disable "CTRL-T" in the extension.