Quote:
Originally Posted by Supremache
I don't want to do this
|
Why? If you have a better way that works then you should do that. If you "want" (even though it's unnecessary) to have the same handler, you have to have some deterministic, reliable method for indicating what command to run in the handler. Otherwise, use three different handlers, one for each menu type. I can't think of any good reason to use the same handler ("using less code" and "because I want to" are not a good reasons).
__________________