AnsweredAssumed Answered

CreateFeatureMgrControl2 embedded icon

Question asked by Scott Larson on Sep 9, 2015

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?