Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / utils / NamingViewer / NamingViewerDlg.h
blob97c8ce238126da72f09f46fb451f691008c1881e
1 // NamingViewerDlg.h : header file
2 //
4 #if !defined(AFX_NAMINGVIEWERDLG_H__B9C0EB98_AD28_11D3_BF1F_00C0F03C565A__INCLUDED_)
5 #define AFX_NAMINGVIEWERDLG_H__B9C0EB98_AD28_11D3_BF1F_00C0F03C565A__INCLUDED_
7 #if _MSC_VER > 1000
8 #pragma once
9 #endif // _MSC_VER > 1000
11 #include "orbsvcs/CosNamingC.h"
12 #include "NamingTreeCtrl.h"
14 /////////////////////////////////////////////////////////////////////////////
15 // CNamingViewerDlg dialog
17 class CNamingViewerDlg : public CDialog
19 // Construction
20 public:
21 CNamingViewerDlg(CORBA::ORB_ptr pORB, CWnd* pParent = 0); // standard constructor
23 // Dialog Data
24 //{{AFX_DATA(CNamingViewerDlg)
25 enum { IDD = IDD_NAMINGVIEWER_DIALOG };
26 CNamingTreeCtrl m_Tree;
27 CString m_Server;
28 //}}AFX_DATA
30 // ClassWizard generated virtual function overrides
31 //{{AFX_VIRTUAL(CNamingViewerDlg)
32 protected:
33 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
34 //}}AFX_VIRTUAL
36 // Implementation
37 protected:
38 HICON m_hIcon;
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);
48 //}}AFX_MSG
49 #if !defined (_WIN32_WCE)
50 afx_msg void OnGetMinMaxInfo( MINMAXINFO FAR* lpMMI );
51 #endif
52 DECLARE_MESSAGE_MAP()
53 void Resolve();
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_)