Partager via


CDialog::SetDefID

Changes the default pushbutton control for a dialog box.

void SetDefID(
   UINT nID 
);

Parameters

  • nID
    Specifies the ID of the pushbutton control that will become the default.

Requirements

Header: afxwin.h

See Also

Concepts

CDialog Class

CDialog Members

Hierarchy Chart

CDialog::GetDefID