TipDialog.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:2k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- #if !defined(AFX_TIPDIALOG_H__9C82E5BC_7B88_415D_A045_39A25FCFE919__INCLUDED_)
- #define AFX_TIPDIALOG_H__9C82E5BC_7B88_415D_A045_39A25FCFE919__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // TipDialog.h : header file
- //
- #include "resource.h"
- /////////////////////////////////////////////////////////////////////////////
- // CTipDialog dialog
- class CTipDialog : public CDialog
- {
- public:
- static bool canShow;
- static void ShowTip( const char * tip , int delay = 3 );
- static bool IsWindow( void ){ return ::IsWindow( CTipDialog::tipWnd->GetSafeHwnd( ) ); }
- protected:
- CTipDialog( CWnd * pParent = NULL );
- virtual void OnOK( void ){ }
- virtual void OnCancel( void ){ }
- //{{AFX_DATA(CTipDialog)
- enum { IDD = IDD_TIP_DIALOG };
- //}}AFX_DATA
- //{{AFX_VIRTUAL(CTipDialog)
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- virtual void PostNcDestroy();
- //}}AFX_VIRTUAL
- //{{AFX_MSG(CTipDialog)
- afx_msg void OnPaint();
- afx_msg void OnTimer(UINT nIDEvent);
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- static CTipDialog * tipWnd;
- static CBitmap bmp;
- CString text;
- CPoint tagetPoint;
- CPoint movePoint;
- bool up;
- int delay;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TIPDIALOG_H__9C82E5BC_7B88_415D_A045_39A25FCFE919__INCLUDED_)