1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#if !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_)
#define AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_
#ifdef _MSC_VER
#pragma once
#endif
// MfcControlCtl.h : Declaration of the CMfcControlCtrl ActiveX Control class.
// CMfcControlCtrl : See MfcControlCtl.cpp for implementation.
class CMfcControlCtrl : public COleControl
{
DECLARE_DYNCREATE(CMfcControlCtrl)
// Constructor
public:
CMfcControlCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMfcControlCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
//}}AFX_VIRTUAL
// Implementation
protected:
~CMfcControlCtrl();
DECLARE_OLECREATE_EX(CMfcControlCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CMfcControlCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CMfcControlCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CMfcControlCtrl) // Type name and misc status
// Message maps
//{{AFX_MSG(CMfcControlCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Dispatch maps
//{{AFX_DISPATCH(CMfcControlCtrl)
afx_msg short inShort(short val);
afx_msg long inLong(long val);
afx_msg BSTR inString(BSTR* val);
afx_msg float inFloat(float val);
afx_msg double inDouble(double val);
afx_msg VARIANT inVariant(const VARIANT& val);
afx_msg LPDISPATCH inObject(LPDISPATCH val);
afx_msg void outShort(short* val);
afx_msg void outLong(long* val);
afx_msg void outString(BSTR* val);
afx_msg void outFloat(float* val);
afx_msg void outDouble(double* val);
afx_msg void outVariant(VARIANT* val);
afx_msg void outObject(LPDISPATCH* val);
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
// Event maps
//{{AFX_EVENT(CMfcControlCtrl)
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CMfcControlCtrl)
dispidInShort = 1L,
dispidInLong = 2L,
dispidInString = 3L,
dispidInFloat = 4L,
dispidInDouble = 5L,
dispidInVariant = 6L,
dispidInObject = 7L,
dispidOutShort = 8L,
dispidOutLong = 9L,
dispidOutString = 10L,
dispidOutFloat = 11L,
dispidOutDouble = 12L,
dispidOutVariant = 13L,
dispidOutObject = 14L,
//}}AFX_DISP_ID
};
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED)
// BYTE
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|