Partilhar via


CDialogEx::CDialogEx

Constructs a CDialogEx object.

CDialogEx(
   UINT nIDTemplate,
   CWnd* pParent=NULL 
);
CDialogEx(
   LPCTSTR lpszTemplateName,
   CWnd* pParentWnd=NULL 
);

Parameters

  • [in] nIDTemplate
    The resource ID of a dialog box template.

  • [in] lpszTemplateName
    The resource name of a dialog box template.

  • [in] pParent
    A pointer to the parent window. The default value is NULL.

  • [in] pParentWnd
    A pointer to the parent window. The default value is NULL.

Requirements

Header: afxdialogex.h

See Also

Reference

CDialogEx Class

Hierarchy Chart