I am trying to use a dialog in dialog bar. The dialog is associated
with a class derived from CDialog using the classwizard. The dialog
bar gets docked and the dialog appears in it but my CDialog derived
class never gets instantiated( the constructor and OnInitDialog function
of the derived class never get called ). I have derived classes from
CDialog before but right now, i have no clue what is going on. Does
anyone know what might be the problem. Please let me know.