默认头像
路人甲
路人甲
  • 注册日期2007-10-30
  • 发帖数11
  • QQ
  • 铜币144枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1438回复:1

TypeOf m_pElement Is IMapSurroundFrame 转 VC

楼主#
更多 发布于:2008-01-16 18:54

AO的帮助文档中有段

 'Query interface on the element to determine whether is a MapSurroundFrame
   If TypeOf m_pElement Is IMapSurroundFrame Then

这是VB的,

在VC中应该用什么函数,怎么判断m_pElement是IMapSurroundFrame类型呢?

谢哈

喜欢0 评分0
默认头像
路人甲
路人甲
  • 注册日期2007-10-30
  • 发帖数11
  • QQ
  • 铜币144枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2008-01-17 09:24

解决了,是if(IMapSurroundFramePtr(m_pElement) != NULL)

谢谢那位帮我解决问题的师兄

举报 回复(0) 喜欢(0)     评分
默认头像

返回顶部