阅读:1424回复:1
TypeOf m_pElement Is IMapSurroundFrame 转 VC
<P>AO的帮助文档中有段</P>
<P> 'Query interface on the element to determine whether is a MapSurroundFrame<BR> If TypeOf m_pElement Is IMapSurroundFrame Then</P> <P>这是VB的,</P> <P>在VC中应该用什么函数,怎么判断m_pElement是IMapSurroundFrame类型呢?</P> <P>谢哈</P> |
|
1楼#
发布于:2008-01-17 09:24
<P> 解决了,是if(IMapSurroundFramePtr(m_pElement) != NULL)</P>
<P>谢谢那位帮我解决问题的师兄</P><img src="images/post/smile/dvbbs/em07.gif" /> |
|