home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 January
/
pcwk_01_1999.iso
/
Wtestowe
/
Vistdstd
/
Install
/
Data.Z
/
MFC4_vsl.AWX
/
TEMPLATE
/
VROOT.H
< prev
Wrap
C/C++ Source or Header
|
1997-03-07
|
1KB
|
47 lines
//*****************************************************************************
// V$$ROOT$$.CPP - Generated by the "MFC VAddon VSL Wizard."
// Copyright (C) 1997 Visio Corporation. All rights reserved.
// See the comments in VAO_ALL.CPP if the compiler complains that it can't
// find "vaddon.h" or "visiwrap.h" -- make sure "vao_inc" is in your include
// settings.
#include "vaddon.h" // parent class, VAddon
#include "visiwrap.h" // For driving Visio Automation via wrapper classes
// & the definition of CVisioApplication
#define ATTS (VAO_AOATTS_ISACTION | VAO_AOATTS_HASABOUT | VAO_AOATTS_HASHELP | VAO_AOATTS_WAITCRSR)
class V$$safe_root$$ : public VAddon {
public:
// Constructor and destructor:
V$$safe_root$$(LPCTSTR pName);
virtual ~V$$safe_root$$();
// VAddon Overrides:
virtual VAORC Run(LPVAOV2LSTRUCT pV2L);
virtual VAORC IsEnabled(LPVAOV2LSTRUCT pV2L);
virtual VAORC About(LPVAOV2LSTRUCT pV2L);
virtual VAORC Help(LPVAOV2LSTRUCT pV2L);
virtual VAORC Load(WORD wVersion, LPVOID p);
virtual VAORC Unload(WORD wParam, LPVOID p);
virtual VAORC KillSession(LPVAOV2LSTRUCT pV2L);
virtual HINSTANCE GetInstance(long nFlags= 0L);
// V$$safe_root$$ convenience methods:
virtual HRESULT GetApp(CVisioApplication &app);
private:
CVisioApplication m_app;
};
extern V$$safe_root$$ g_v$$safe_root$$Addon;