12-08-2006, 12:46 PM
When you run the code, toolbar is activated (Notepad deactivated). It allows you to use arrow keys, spacebar and Esc. When you press spacebar, it presses the highlighted button.
Function tbkb_hook is used to deactivate toolbar (activate Notepad) when you press spacebar. To assign it to the toolbar, open the toolbar, go to Properties, Toolbar properties, and type tbkb_hook in the Hook function field.
Function tbkb_hook is used to deactivate toolbar (activate Notepad) when you press spacebar. To assign it to the toolbar, open the toolbar, go to Properties, Toolbar properties, and type tbkb_hook in the Hook function field.