0 Replies Latest reply on Sep 9, 2015 5:34 PM by Scott Larson

    CreateFeatureMgrControl2 embedded icon

    Scott Larson

      I have created an ActiveX plugin and am inserting it into the feature view as a control in a new tab:


      modelviewmanager->CreateFeatureMgrControl2( bstrBitmapIcon, bstrClassName, bstrLicense, titleStr, swFeatMgrPaneBottom, &mFeatureManagerTreeView );


      The problem is, the Bitmap Icon I want to use is an embedded resource (loaded using CBitmap::LoadBitmap). This worked well with non-ActiveX functions like ICreateFeatureMgrView3, but CreateFeatureMgrControl2 doesn't seem to support this.


      Can I still use the embedded bitmap with the ActiveX control tab?