- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
SQLView.h
资源名称:ISQL_src.zip [点击查看]
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:2k
源码类别:
SQL Server
开发平台:
Visual C++
- // SQLView.h : interface of the CSQLView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SQLVIEW_H__C1AD240D_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_)
- #define AFX_SQLVIEW_H__C1AD240D_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "InteractiveSQLDoc.h"
- class CInteractiveSQLCntrItem;
- class CSQLView : public CRichEditView
- {
- protected: // create from serialization only
- CSQLView();
- DECLARE_DYNCREATE(CSQLView)
- // Attributes
- public:
- CInteractiveSQLDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSQLView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CSQLView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- virtual HMENU GetContextMenu(WORD wSelType, LPOLEOBJECT lpOleObj, CHARRANGE* lpChrg);
- // Generated message map functions
- protected:
- CFont m_font;
- //{{AFX_MSG(CSQLView)
- afx_msg void OnDestroy();
- afx_msg void OnSqlExecute();
- afx_msg void OnUpdateViewWrapWord(CCmdUI* pCmdUI);
- afx_msg void OnViewWrapWord();
- afx_msg void OnFilePrint();
- afx_msg void OnUpdateFilePrint(CCmdUI* pCmdUI);
- afx_msg void OnEditClear();
- afx_msg void OnUpdateEditClear(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in SQLView.cpp
- inline CInteractiveSQLDoc* CSQLView::GetDocument()
- { return (CInteractiveSQLDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SQLVIEW_H__C1AD240D_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_)