1 // BindNewContext.cpp : implementation file
4 #include "NamingViewer.h"
5 #include "BindNewContext.h"
10 static char THIS_FILE
[] = __FILE__
;
13 /////////////////////////////////////////////////////////////////////////////
14 // CBindNewContext dialog
17 CBindNewContext::CBindNewContext(CWnd
* pParent
/*=NULL*/)
18 : CDialog(CBindNewContext::IDD
, pParent
)
20 //{{AFX_DATA_INIT(CBindNewContext)
27 void CBindNewContext::DoDataExchange(CDataExchange
* pDX
)
29 CDialog::DoDataExchange(pDX
);
30 //{{AFX_DATA_MAP(CBindNewContext)
31 DDX_Text(pDX
, IDC_ID
, m_ID
);
32 DDX_Text(pDX
, IDC_KIND
, m_Kind
);
37 BEGIN_MESSAGE_MAP(CBindNewContext
, CDialog
)
38 //{{AFX_MSG_MAP(CBindNewContext)
42 /////////////////////////////////////////////////////////////////////////////
43 // CBindNewContext message handlers
45 void CBindNewContext::OnOK()
47 // TODO: Add extra validation here
50 m_Name
[0].id
= CORBA::string_dup(ACE_TEXT_ALWAYS_CHAR (m_ID
));
51 m_Name
[0].kind
= CORBA::string_dup(ACE_TEXT_ALWAYS_CHAR (m_Kind
));