Posted on 2002-06-21
I'm trying to create a simple dialog box. I made a template with the resource editor (MSVC++6). I made a class that was derived from CDialog and was associated with my dialog. I added a button to my dialog box. I added a BN_CLICKED function associated with that button in the class that i made for the button.
I display my dialog box and click the button. Nothing happens. The code i put in the handler function is not executed.
I know I'm making a stupid, simple mistake. What am I doing wrong?