I Drag the control from Toolbox on design surface of the form and generate a member for the map control, however, system always say not declare some member such IExtents,ITiles ,IGeoProjection,IFileManager :
IExtents * GetMaxExtents()
{
IExtents * result;
GetProperty(0xbb, VT_DISPATCH, (void*)&result);
return result;
}
void SetMaxExtents(IExtents * propVal)
{
SetProperty(0xbb, VT_DISPATCH, propVal);
}
ITiles * GetTiles()
{
ITiles * result;
GetProperty(0xbf, VT_DISPATCH, (void*)&result);
return result;
}
void SetTiles(ITiles * propVal)
{
SetProperty(0xbf, VT_DISPATCH, propVal);
}
IFileManager * GetFileManager()
{
IFileManager * result;
GetProperty(0xd3, VT_DISPATCH, (void*)&result);
return result;
}
void SetFileManager(IFileManager * propVal)
{
SetProperty(0xd3, VT_DISPATCH, propVal);
}
IExtents * GetMaxExtents()
{
IExtents * result;
GetProperty(0xbb, VT_DISPATCH, (void*)&result);
return result;
}
void SetMaxExtents(IExtents * propVal)
{
SetProperty(0xbb, VT_DISPATCH, propVal);
}
ITiles * GetTiles()
{
ITiles * result;
GetProperty(0xbf, VT_DISPATCH, (void*)&result);
return result;
}
void SetTiles(ITiles * propVal)
{
SetProperty(0xbf, VT_DISPATCH, propVal);
}
IFileManager * GetFileManager()
{
IFileManager * result;
GetProperty(0xd3, VT_DISPATCH, (void*)&result);
return result;
}
void SetFileManager(IFileManager * propVal)
{
SetProperty(0xd3, VT_DISPATCH, propVal);
}