NinJa
路人甲
路人甲
  • 注册日期2003-10-29
  • 发帖数144
  • QQ
  • 铜币238枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1364回复:0

请教!

楼主#
更多 发布于:2003-10-31 10:28
C:\arcgis\arcexe83\ArcObjects Developer Kit\Samples\Controls\PageLayoutControl\AddMoveElement
这个例子中添加north arrow\scale bar\scale text\等时为何不能弹出相关的对话框?这些element好像也没有加上去?为什么?

HRESULT hr;
hr = m_pStyleSelector.CreateInstance("esriCore.NorthArrowSelector");
if(FAILED(hr)) return;

m_pStyleSelector->DoModal(m_PageLayoutControl.GetHWnd(),&m_bOK);
m_bOK返回值为0。
喜欢0 评分0
游客

返回顶部