CDialog();
The CDialog constructor is protected because you must derive your own dialog- box class to implement a dialog.
Construction of a modeless dialog is a two-step process. First invoke the constructor, then call either form of the Create member function. You can combine the steps by calling Create from within your constructor.