[GME-commit] GMESRC/GME/PanningView stdafx.cpp, NONE, 1.1 PanningView.def, NONE, 1.1 PanningButton.h, NONE, 1.1 PanningView.h, NONE, 1.1 PanningViewCtrl.h, NONE, 1.1 PanningViewDlg.h, NONE, 1.1 PanningViewidl.h, NONE, 1.1 PanningViewPropPage.h, NONE, 1.1 resource.h, NONE, 1.1 stdafx.h, NONE, 1.1 PanningView.ico, NONE, 1.1 PanningView.idl, NONE, 1.1 PanningView.rc, NONE, 1.1 ReadMe.txt, NONE, 1.1 PanningView.vcproj, NONE, 1.1
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Mon Jun 2 12:40:26 CDT 2008
- Previous message: [GME-commit] GMESRC/GME/PartBrowser PartBrowserCtrl.cpp, 1.2, 1.3 PartBrowserDlg.cpp, 1.2, 1.3 PartBrowserPane.cpp, 1.1, 1.2 PartBrowserPaneFrame.cpp, 1.1, 1.2 PartBrowserCtrl.h, 1.2, 1.3 stdafx.h, 1.2, 1.3
- Next message: [GME-commit] GMESRC/GME GME.sln,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/GME/PanningView
In directory escher:/tmp/cvs-serv29972/GME/PanningView
Added Files:
stdafx.cpp PanningView.def PanningButton.h PanningView.h
PanningViewCtrl.h PanningViewDlg.h PanningViewidl.h
PanningViewPropPage.h resource.h stdafx.h PanningView.ico
PanningView.idl PanningView.rc ReadMe.txt PanningView.vcproj
Log Message:
PanningView ActiveX control
CVS User: (csaba)
--- NEW FILE: PanningView.vcproj ---
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="PanningView"
ProjectGUID="{53ACCFA8-118E-4C33-B21C-77A418628428}"
Keyword="MFCActiveXProj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="2"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_USRDLL"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
TreatWChar_tAsBuiltInType="TRUE"
UsePrecompiledHeader="3"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/PanningView.ocx"
LinkIncremental="2"
ModuleDefinitionFile=".\PanningView.def"
GenerateDebugInformation="TRUE"
SubSystem="2"
ImportLibrary="$(OutDir)/PanningView.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="FALSE"
TypeLibraryName="$(IntDir)/$(ProjectName).tlb"
HeaderFileName="$(ProjectName)idl.h"/>
<Tool
Name="VCPostBuildEventTool"
Description="Performing registration"
CommandLine="regsvr32 /s /c "$(TargetPath)""/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="2"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_USRDLL"
RuntimeLibrary="2"
TreatWChar_tAsBuiltInType="TRUE"
UsePrecompiledHeader="3"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/PanningView.ocx"
LinkIncremental="1"
ModuleDefinitionFile=".\PanningView.def"
GenerateDebugInformation="TRUE"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/PanningView.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="FALSE"
TypeLibraryName="$(IntDir)/$(ProjectName).tlb"
HeaderFileName="$(ProjectName)idl.h"/>
<Tool
Name="VCPostBuildEventTool"
Description="Performing registration"
CommandLine="regsvr32 /s /c "$(TargetPath)""/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
RelativePath=".\PanningButton.cpp">
</File>
<File
RelativePath=".\PanningView.cpp">
</File>
<File
RelativePath=".\PanningView.def">
</File>
<File
RelativePath=".\PanningView.idl">
</File>
<File
RelativePath=".\PanningViewCtrl.cpp">
</File>
<File
RelativePath=".\PanningViewDlg.cpp">
</File>
<File
RelativePath=".\PanningViewPropPage.cpp">
</File>
<File
RelativePath=".\stdafx.cpp">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
<File
RelativePath=".\PanningButton.h">
</File>
<File
RelativePath=".\PanningView.h">
</File>
<File
RelativePath=".\PanningViewCtrl.h">
</File>
<File
RelativePath=".\PanningViewDlg.h">
</File>
<File
RelativePath=".\PanningViewPropPage.h">
</File>
<File
RelativePath=".\Resource.h">
</File>
<File
RelativePath=".\stdafx.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
<File
RelativePath=".\PanningView.ico">
</File>
<File
RelativePath=".\PanningView.rc">
</File>
<File
RelativePath=".\PanningViewCtrl.bmp">
</File>
</Filter>
<File
RelativePath=".\ReadMe.txt">
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
--- NEW FILE: PanningButton.h ---
#if !defined(AFX_PANNINGBUTTON_H__B7B65E67_B459_4C91_A578_16AF27271A47__INCLUDED_)
#define AFX_PANNINGBUTTON_H__B7B65E67_B459_4C91_A578_16AF27271A47__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PanningButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPanningButton window
class CPanningButton : public CWnd
{
// Construction
public:
CPanningButton();
bool Create();
void SetBitmapDC(CWnd* owner, CDC* bdc, CRect& ori, CRect& rect, COLORREF& bkgrnd);
void SetViewRect(CRect vrect);
private:
HCURSOR m_arrowh;
HCURSOR m_sizeallh;
COLORREF m_backgorund;
bool m_inMove;
CPoint m_moveStartPoint;
CRect m_moveStartRect;
CWnd* m_owner;
CDC* m_bitmapDC;
CRect m_bitmapSizeOri;
CRect m_bitmapSizeStored;
CRect m_bitmapOnScreen;
CRect m_viewRectOnStored;
CRect m_viewRectOnScreen;
CRect m_viewRectInMove;
double m_storedToScreenRx;
double m_storedToScreenRy;
double m_oriToStoredRx;
double m_oriToStoredRy;
void BmpToScreen(CRect clientr);
void ViewRectToScreen(CRect& vRect);
void SendDeleteDeviceContext(CDC* bCDC);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPanningButton)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPanningButton();
// Generated message map functions
protected:
//{{AFX_MSG(CPanningButton)
afx_msg void OnPaint();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PANNINGBUTTON_H__B7B65E67_B459_4C91_A578_16AF27271A47__INCLUDED_)
--- NEW FILE: PanningView.idl ---
// PanningView.idl : type library source for ActiveX Control project.
// This file will be processed by the MIDL compiler tool to
// produce the type library (PanningView.tlb) that will become a resource in
// PanningView.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(B6ED16CA-512F-48B7-B5DB-1C064821F7DB), version(1.0),
helpfile("PanningView.hlp"),
helpstring("PanningView ActiveX Control module"),
control ]
library PanningViewLib
{
importlib(STDOLE_TLB);
// Primary dispatch interface for CPanningViewCtrl
[ uuid(3055658C-DEFE-4B68-9BC3-21B136BDBBDB),
helpstring("Dispatch interface for PanningView Control")]
dispinterface _DPanningView
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CPanningViewCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CPanningViewCtrl)
[id(1), helpstring("method SetBitmapDC")] void SetBitmapDC([in] ULONGLONG ownerCWnd, [in] ULONGLONG bCDC,
[in] LONG orix, [in] LONG oriy, [in] LONG oriw, [in] LONG orih,
[in] LONG rx, [in] LONG ry, [in] LONG rw, [in] LONG rh,
[in] OLE_COLOR bkgrnd);
[id(2), helpstring("method SetViewRect")] void SetViewRect([in] LONG vrx, [in] LONG vry, [in] LONG vrw, [in] LONG vrh);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CPanningViewCtrl
[ uuid(BD4F784C-A79F-48F6-818D-0B829A061CC0),
helpstring("Event interface for PanningView Control") ]
dispinterface _DPanningViewEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CPanningViewCtrl)
[id(1), helpstring("method DeleteDeviceContext")] void DeleteDeviceContext(ULONGLONG bCDC);
//}}AFX_ODL_EVENT
};
// Class information for CPanningViewCtrl
[ uuid(B0C28BAA-7E44-404C-BEAD-83735356F1D2),
helpstring("PanningView Control"), control ]
coclass PanningView
{
[default] dispinterface _DPanningView;
[default, source] dispinterface _DPanningViewEvents;
};
};
--- NEW FILE: PanningView.rc ---
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"1 TYPELIB ""PanningView.tlb""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "TODO: <Company name>"
VALUE "FileDescription", "TODO: <File description>"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "PanningView.ocx"
VALUE "LegalCopyright", "TODO: (c) <Company name>. All rights reserved."
VALUE "OriginalFilename", "PanningView.ocx"
VALUE "ProductName", "TODO: <Product name>"
VALUE "ProductVersion", "1.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ABOUTDLL ICON "PanningView.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_PANNINGVIEW BITMAP "PanningViewCtrl.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX_PANNINGVIEW DIALOG 34, 22, 260, 55
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About PanningView Control"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDI_ABOUTDLL,IDC_STATIC,10,10,20,20
LTEXT "PanningView Control, Version 1.0",IDC_STATIC,40,10,170,
8
LTEXT "Copyright (C) 2008, ",IDC_STATIC,40,25,170,8
DEFPUSHBUTTON "OK",IDOK,221,7,32,16,WS_GROUP
END
IDD_PROPPAGE_PANNINGVIEW DIALOG 0, 0, 250, 62
STYLE DS_SETFONT | WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "TODO: Place controls to manipulate properties of PanningView Control on this dialog.",
IDC_STATIC,7,25,229,16
END
IDD_PANNINGVIEWDLG DIALOGEX 0, 0, 139, 108
STYLE DS_SETFONT | DS_SETFOREGROUND | WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
CONTROL "",IDC_PREVIEW,"Button",BS_OWNERDRAW | BS_BITMAP |
BS_CENTER | BS_VCENTER,4,4,131,100,WS_EX_CLIENTEDGE
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX_PANNINGVIEW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 253
TOPMARGIN, 7
BOTTOMMARGIN, 48
END
IDD_PROPPAGE_PANNINGVIEW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 243
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_PANNINGVIEWDLG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 136
TOPMARGIN, 7
BOTTOMMARGIN, 105
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_PANNINGVIEW "PanningView Control"
IDS_PANNINGVIEW_PPG "PanningView Property Page"
END
STRINGTABLE
BEGIN
IDS_PANNINGVIEW_PPG_CAPTION "General"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "PanningView.tlb"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
--- NEW FILE: PanningViewDlg.h ---
#if !defined(AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_)
#define AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PanningViewDlg.h : header file
//
#include "resource.h"
#include "PanningButton.h"
/////////////////////////////////////////////////////////////////////////////
// CPanningViewDlg dialog
class CPanningViewDlg : public CDialog
{
// Construction
public:
CPanningViewDlg(CWnd* pParent = NULL); // standard constructor
void SetBitmapDC(CWnd* owner, CDC* bdc, CRect& ori, CRect& rect, COLORREF& bkgrnd);
void SetViewRect(CRect& vrect);
BOOL OnInitDialog();
// Dialog Data
//{{AFX_DATA(CPanningViewDlg)
enum { IDD = IDD_PANNINGVIEWDLG };
CPanningButton m_pvbutton;
//}}AFX_DATA
private:
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPanningViewDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPanningViewDlg)
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_)
--- NEW FILE: PanningViewCtrl.h ---
#pragma once
#include "PanningViewDlg.h"
// PanningViewCtrl.h : Declaration of the CPanningViewCtrl ActiveX Control class.
// CPanningViewCtrl : See PanningViewCtrl.cpp for implementation.
class CPanningViewCtrl : public COleControl
{
DECLARE_DYNCREATE(CPanningViewCtrl)
// Constructor
public:
CPanningViewCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPanningViewCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
~CPanningViewCtrl();
DECLARE_OLECREATE_EX(CPanningViewCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CPanningViewCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CPanningViewCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CPanningViewCtrl) // Type name and misc status
CPanningViewDlg m_panningViewDlg;
// Message maps
//{{AFX_MSG(CPanningViewCtrl)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Dispatch maps
//{{AFX_DISPATCH(CPanningViewCtrl)
afx_msg void SetBitmapDC(ULONGLONG ownerCWnd, ULONGLONG bCDC,
LONG orix, LONG oriy, LONG oriw, LONG orih,
LONG rx, LONG ry, LONG rw, LONG rh,
OLE_COLOR bkgrnd);
afx_msg void SetViewRect(LONG vrx, LONG vry, LONG vrw, LONG vrh);
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
afx_msg void AboutBox();
// Event maps
//{{AFX_EVENT(CPanningViewCtrl)
void FireDeleteDeviceContext(ULONGLONG bCDC)
{FireEvent(eventidDeleteDeviceContext, EVENT_PARAM(VTS_UI8), bCDC); }
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CPanningViewCtrl)
dispidSetBitmapDC = 1L,
dispidSetViewRect = 2L,
eventidDeleteDeviceContext = 1L
//}}AFX_DISP_ID
};
void SendDeleteDeviceContext(ULONGLONG bCDC);
};
--- NEW FILE: PanningViewidl.h ---
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0361 */
/* at Fri May 16 14:45:05 2008
*/
/* Compiler settings for .\PanningView.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef __PanningViewidl_h__
#define __PanningViewidl_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef ___DPanningView_FWD_DEFINED__
#define ___DPanningView_FWD_DEFINED__
typedef interface _DPanningView _DPanningView;
#endif /* ___DPanningView_FWD_DEFINED__ */
#ifndef ___DPanningViewEvents_FWD_DEFINED__
#define ___DPanningViewEvents_FWD_DEFINED__
typedef interface _DPanningViewEvents _DPanningViewEvents;
#endif /* ___DPanningViewEvents_FWD_DEFINED__ */
#ifndef __PanningView_FWD_DEFINED__
#define __PanningView_FWD_DEFINED__
#ifdef __cplusplus
typedef class PanningView PanningView;
#else
typedef struct PanningView PanningView;
#endif /* __cplusplus */
#endif /* __PanningView_FWD_DEFINED__ */
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
#ifndef __PanningViewLib_LIBRARY_DEFINED__
#define __PanningViewLib_LIBRARY_DEFINED__
/* library PanningViewLib */
/* [control][helpstring][helpfile][version][uuid] */
EXTERN_C const IID LIBID_PanningViewLib;
#ifndef ___DPanningView_DISPINTERFACE_DEFINED__
#define ___DPanningView_DISPINTERFACE_DEFINED__
/* dispinterface _DPanningView */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__DPanningView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3055658C-DEFE-4B68-9BC3-21B136BDBBDB")
_DPanningView : public IDispatch
{
};
#else /* C style interface */
typedef struct _DPanningViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
_DPanningView * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
_DPanningView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
_DPanningView * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
_DPanningView * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
_DPanningView * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
_DPanningView * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
_DPanningView * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
END_INTERFACE
} _DPanningViewVtbl;
interface _DPanningView
{
CONST_VTBL struct _DPanningViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define _DPanningView_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _DPanningView_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _DPanningView_Release(This) \
(This)->lpVtbl -> Release(This)
#define _DPanningView_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _DPanningView_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _DPanningView_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _DPanningView_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___DPanningView_DISPINTERFACE_DEFINED__ */
#ifndef ___DPanningViewEvents_DISPINTERFACE_DEFINED__
#define ___DPanningViewEvents_DISPINTERFACE_DEFINED__
/* dispinterface _DPanningViewEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__DPanningViewEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BD4F784C-A79F-48F6-818D-0B829A061CC0")
_DPanningViewEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _DPanningViewEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
_DPanningViewEvents * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
_DPanningViewEvents * This);
ULONG ( STDMETHODCALLTYPE *Release )(
_DPanningViewEvents * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
_DPanningViewEvents * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
_DPanningViewEvents * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
_DPanningViewEvents * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
_DPanningViewEvents * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
END_INTERFACE
} _DPanningViewEventsVtbl;
interface _DPanningViewEvents
{
CONST_VTBL struct _DPanningViewEventsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define _DPanningViewEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _DPanningViewEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _DPanningViewEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _DPanningViewEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _DPanningViewEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _DPanningViewEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _DPanningViewEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___DPanningViewEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_PanningView;
#ifdef __cplusplus
class DECLSPEC_UUID("B0C28BAA-7E44-404C-BEAD-83735356F1D2")
PanningView;
#endif
#endif /* __PanningViewLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
--- NEW FILE: PanningView.def ---
; PanningView.def : Declares the module parameters.
LIBRARY "PanningView.OCX"
EXPORTS
DllCanUnloadNow PRIVATE
DllGetClassObject PRIVATE
DllRegisterServer PRIVATE
DllUnregisterServer PRIVATE
--- NEW FILE: PanningView.ico ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: stdafx.cpp ---
// stdafx.cpp : source file that includes just the standard includes
// PanningView.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
--- NEW FILE: stdafx.h ---
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
#include <afxctl.h> // MFC support for ActiveX Controls
#include <afxext.h> // MFC extensions
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Comon Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
// Delete the two includes below if you do not wish to use the MFC
// database classes
#include <afxdb.h> // MFC database classes
#include <afxdao.h> // MFC DAO database classes
#define WM_PANN_SCROLL (WM_USER+112)
#define WM_USER_PANNREFRESH (WM_USER+113)
--- NEW FILE: PanningViewPropPage.h ---
#pragma once
// PanningViewPropPage.h : Declaration of the CPanningViewPropPage property page class.
// CPanningViewPropPage : See PanningViewPropPage.cpp for implementation.
class CPanningViewPropPage : public COlePropertyPage
{
DECLARE_DYNCREATE(CPanningViewPropPage)
DECLARE_OLECREATE_EX(CPanningViewPropPage)
// Constructor
public:
CPanningViewPropPage();
// Dialog Data
enum { IDD = IDD_PROPPAGE_PANNINGVIEW };
// Implementation
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Message maps
protected:
DECLARE_MESSAGE_MAP()
};
--- NEW FILE: PanningView.h ---
#pragma once
// PanningView.h : main header file for PanningView.DLL
#if !defined( __AFXCTL_H__ )
#error include 'afxctl.h' before including this file
#endif
#include "resource.h" // main symbols
// CPanningViewApp : See PanningView.cpp for implementation.
class CPanningViewApp : public COleControlModule
{
public:
BOOL InitInstance();
int ExitInstance();
};
extern const GUID CDECL _tlid;
extern const WORD _wVerMajor;
extern const WORD _wVerMinor;
--- NEW FILE: resource.h ---
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by PanningView.rc
//
#define IDS_PANNINGVIEW 1
#define IDD_ABOUTBOX_PANNINGVIEW 1
#define IDB_PANNINGVIEW 1
#define IDI_ABOUTDLL 1
#define IDS_PANNINGVIEW_PPG 2
#define IDS_PANNINGVIEW_PPG_CAPTION 200
#define IDD_PROPPAGE_PANNINGVIEW 200
#define IDD_PANNINGVIEWDLG 207
#define IDC_PREVIEW 33004
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 201
#define _APS_NEXT_COMMAND_VALUE 32768
#define _APS_NEXT_CONTROL_VALUE 201
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
--- NEW FILE: ReadMe.txt ---
========================================================================
ACTIVEX CONTROL DLL : PanningView Project Overview
========================================================================
ControlWizard has created this project for your PanningView ActiveX Control
DLL, which contains 1 control.
This skeleton project not only demonstrates the basics of writing an
ActiveX Control, but is also a starting point for writing the specific
features of your control.
This file contains a summary of what you will find in each of the files
that make up your PanningView ActiveX Control DLL.
PanningView.vcproj
This is the main project file for VC++ projects generated using an
Application Wizard. It contains information about the version of
Visual C++ that generated the file, and information about the platforms,
configurations, and project features selected with the Application Wizard.
PanningView.h
This is the main include file for the ActiveX Control DLL. It
includes other project-specific includes such as resource.h.
PanningView.cpp
This is the main source file that contains code for DLL initialization,
termination and other bookkeeping.
PanningView.rc
This is a listing of the Microsoft Windows resources that the project
uses. This file can be directly edited with the Visual C++ resource
editor.
PanningView.def
This file contains information about the ActiveX Control DLL that
must be provided to run with Microsoft Windows.
PanningView.idl
This file contains the Object Description Language source code for the
type library of your control.
PanningView.ico
This file contains an icon that will appear in the About box. This icon
is included by the main resource file PanningView.rc.
/////////////////////////////////////////////////////////////////////////////
CPanningViewCtrl control:
PanningViewCtrl.h
This file contains the declaration of the CPanningViewCtrl C++ class.
PanningViewCtrl.cpp
This file contains the implementation of the CPanningViewCtrl C++ class.
PanningViewPropPage.h
This file contains the declaration of the CPanningViewPropPage C++ class.
PanningViewPropPage.cpp
This file contains the implementation of the CPanningViewPropPage C++ class.
CPanningViewCtrl.bmp
This file contains a bitmap that a container will use to represent the
CPanningViewCtrl control when it appears on a tool palette. This bitmap
is included by the main resource file PanningView.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
stdafx.h, stdafx.cpp
These files are used to build a precompiled header (PCH) file
named PanningView.pch and a precompiled types (PCT) file named stdafx.obj.
resource.h
This is the standard header file, which defines new resource IDs.
The Visual C++ resource editor reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
ControlWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
- Previous message: [GME-commit] GMESRC/GME/PartBrowser PartBrowserCtrl.cpp, 1.2, 1.3 PartBrowserDlg.cpp, 1.2, 1.3 PartBrowserPane.cpp, 1.1, 1.2 PartBrowserPaneFrame.cpp, 1.1, 1.2 PartBrowserCtrl.h, 1.2, 1.3 stdafx.h, 1.2, 1.3
- Next message: [GME-commit] GMESRC/GME GME.sln,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list