Does checking a box in a dialog fire an event?

Hi all, does checking a hox in a dialog fire an event? I have a dialog with a checkbox and if the box gets checked I want to disable a control in the same dialog, but I'm having trouble detecting the state of the checkbox changing. Is this possible? Thanks.

Answering my own question. I found I needed to call Dlg.Show() and not Dlg.RunDlg().