>>>My application is running under our custom menu, which already has Item (Select All) with Ctrl+A hotkey. So, I don't understand, what should I do.
>>
>>In the Select All menu item, instead of calling what you'd normally would, call method of the form that selects all the items in your list. This could be a nice use for reusable hooks.
>
>Mike,
>
>Sorry again for being such a dumb, but the main menu is not from my application, it's from top-level application and it uses standard windows items, e.g. it's standard Edit menu with all options. How can my form temporary substitute this menu item with my item and restore it back, when form finishes?
>
>As I said, it seems too complicated and not worth the whole original idea...
In that case you should disable that piece of menu in listbox's .gotfocus and restore it in the .lostfocus, which seems like a major hassle. Why not just use the asterisk for the key, plus for select single and minus for deselect single? It's the standard keys used in several clones of Norton Commander (don't remember the NC itself because the clones were far better).