60 lines
1.6 KiB
C++
60 lines
1.6 KiB
C++
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
|
|
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
|
|
|
|
// NOTE: Do not modify the contents of this file. If this class is regenerated by
|
|
// Microsoft Visual C++, your modifications will be overwritten.
|
|
|
|
|
|
#include "stdafx.h"
|
|
#include "navigator.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CNavigator
|
|
|
|
IMPLEMENT_DYNCREATE(CNavigator, CWnd)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CNavigator properties
|
|
|
|
CString CNavigator::GetNameSpace()
|
|
{
|
|
CString result;
|
|
GetProperty(0x1, VT_BSTR, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
void CNavigator::SetNameSpace(LPCTSTR propVal)
|
|
{
|
|
SetProperty(0x1, VT_BSTR, propVal);
|
|
}
|
|
|
|
long CNavigator::GetReadyState()
|
|
{
|
|
long result;
|
|
GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
|
|
return result;
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CNavigator operations
|
|
|
|
void CNavigator::OnReadySignal()
|
|
{
|
|
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|
|
|
|
long CNavigator::ChangeRootOrNamespace(LPCTSTR lpctstrRootOrNamespace, long lMakeNamespaceCurrent, long lFireEvents)
|
|
{
|
|
long result;
|
|
static BYTE parms[] =
|
|
VTS_BSTR VTS_I4 VTS_I4;
|
|
InvokeHelper(0x3, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
|
|
lpctstrRootOrNamespace, lMakeNamespaceCurrent, lFireEvents);
|
|
return result;
|
|
}
|
|
|
|
void CNavigator::AboutBox()
|
|
{
|
|
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
}
|