Information générale
Titre:
Why NODEFAULT at all?
IMHO there should be no need at all for NODEFAULT; if you redefine a method the new code executes and not the old one -- DODEFAULT() is there should you want the old functionality. For example, if I redefine KEYPRESS, then the original default code should not execute -- but it does unless you use NODEFAULT; weird! OK, enough of that; only Microsoft can change this behavior.
At least, does anybody know where can you find which objects do have a default method? So far, my programming method has been (!) "CODE IT; IF IT DOES SOMETHING STRANGE, ADD NODEFAULT". :(
Thanks!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement