~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/embedding/qa/testembed/BrowserToolTip.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: Mozilla-sample-code 1.0
 
3
 *
 
4
 * Copyright (c) 2002 Netscape Communications Corporation and
 
5
 * other contributors
 
6
 *
 
7
 * Permission is hereby granted, free of charge, to any person obtaining a
 
8
 * copy of this Mozilla sample software and associated documentation files
 
9
 * (the "Software"), to deal in the Software without restriction, including
 
10
 * without limitation the rights to use, copy, modify, merge, publish,
 
11
 * distribute, sublicense, and/or sell copies of the Software, and to permit
 
12
 * persons to whom the Software is furnished to do so, subject to the
 
13
 * following conditions:
 
14
 *
 
15
 * The above copyright notice and this permission notice shall be included
 
16
 * in all copies or substantial portions of the Software.
 
17
 *
 
18
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
19
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
20
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 
21
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
22
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
23
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 
24
 * DEALINGS IN THE SOFTWARE.
 
25
 *
 
26
 * Contributor(s):
 
27
 *   Adam Lock <adamlock@netscape.com>
 
28
 *
 
29
 * ***** END LICENSE BLOCK ***** */
 
30
 
 
31
#if !defined(AFX_BROWSERTOOLTIP_H__13240069_1816_403C_A79D_306FD710B75A__INCLUDED_)
 
32
#define AFX_BROWSERTOOLTIP_H__13240069_1816_403C_A79D_306FD710B75A__INCLUDED_
 
33
 
 
34
#if _MSC_VER > 1000
 
35
#pragma once
 
36
#endif // _MSC_VER > 1000
 
37
// BrowserToolTip.h : header file
 
38
//
 
39
 
 
40
/////////////////////////////////////////////////////////////////////////////
 
41
// CBrowserToolTip window
 
42
 
 
43
class CBrowserToolTip : public CWnd
 
44
{
 
45
// Construction
 
46
public:
 
47
        CBrowserToolTip();
 
48
 
 
49
// Attributes
 
50
public:
 
51
 
 
52
// Operations
 
53
public:
 
54
 
 
55
// Overrides
 
56
        // ClassWizard generated virtual function overrides
 
57
        //{{AFX_VIRTUAL(CBrowserToolTip)
 
58
        protected:
 
59
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
 
60
        //}}AFX_VIRTUAL
 
61
 
 
62
        CString m_szTipText;
 
63
// Implementation
 
64
public:
 
65
        virtual ~CBrowserToolTip();
 
66
 
 
67
    BOOL Create(CWnd *pParentWnd);
 
68
        void SetTipText(const CString &szTipText);
 
69
    void Show(CWnd *pOverWnd, long left, long top);
 
70
    void Hide();
 
71
 
 
72
 
 
73
        // Generated message map functions
 
74
protected:
 
75
        //{{AFX_MSG(CBrowserToolTip)
 
76
        afx_msg void OnPaint();
 
77
        //}}AFX_MSG
 
78
        DECLARE_MESSAGE_MAP()
 
79
};
 
80
 
 
81
/////////////////////////////////////////////////////////////////////////////
 
82
 
 
83
//{{AFX_INSERT_LOCATION}}
 
84
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
85
 
 
86
#endif // !defined(AFX_BROWSERTOOLTIP_H__13240069_1816_403C_A79D_306FD710B75A__INCLUDED_)
 
 
b'\\ No newline at end of file'