1 // NamingViewerDlg.h : header file
4 #if !defined(AFX_NAMINGVIEWERDLG_H__B9C0EB98_AD28_11D3_BF1F_00C0F03C565A__INCLUDED_)
5 #define AFX_NAMINGVIEWERDLG_H__B9C0EB98_AD28_11D3_BF1F_00C0F03C565A__INCLUDED_
9 #endif // _MSC_VER > 1000
11 #include "orbsvcs/CosNamingC.h"
12 #include "NamingTreeCtrl.h"
14 /////////////////////////////////////////////////////////////////////////////
15 // CNamingViewerDlg dialog
17 class CNamingViewerDlg
: public CDialog
21 CNamingViewerDlg(CORBA::ORB_ptr pORB
, CWnd
* pParent
= 0); // standard constructor
24 //{{AFX_DATA(CNamingViewerDlg)
25 enum { IDD
= IDD_NAMINGVIEWER_DIALOG
};
26 CNamingTreeCtrl m_Tree
;
30 // ClassWizard generated virtual function overrides
31 //{{AFX_VIRTUAL(CNamingViewerDlg)
33 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
40 // Generated message map functions
41 //{{AFX_MSG(CNamingViewerDlg)
42 virtual BOOL
OnInitDialog();
43 afx_msg
void OnSysCommand(UINT nID
, LPARAM lParam
);
44 afx_msg
void OnPaint();
45 afx_msg HCURSOR
OnQueryDragIcon();
46 afx_msg
void OnSelectNs();
47 afx_msg
void OnSize(UINT nType
, int cx
, int cy
);
49 #if !defined (_WIN32_WCE)
50 afx_msg
void OnGetMinMaxInfo( MINMAXINFO FAR
* lpMMI
);
55 CORBA::ORB_ptr m_pORB
;
56 CosNaming::NamingContext_var m_RootContext
;
59 //{{AFX_INSERT_LOCATION}}
60 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
62 #endif // !defined(AFX_NAMINGVIEWERDLG_H__B9C0EB98_AD28_11D3_BF1F_00C0F03C565A__INCLUDED_)