How do we create Sprites under connect?
I believe the function used to load these under the V8i SDK was Bentley::Ustn::ISprite::CreateFromIconResource (int rscId, void *hInstance).
There was also a function Bentley::Ustn::IViewManager::CreateSpriteFromIcon (HICON__ *).
However in CONNECT nether of these are declared in the header files.
A dump from mdlbltin.lib reveals that some form of these functions exist.
Symbol name : ?CreateSpriteFromIcon@IViewManager@DgnPlatform@Bentley@@QEAAPEAUISprite@23@PEAUIcon@BeIconUtilities@3@_N@Z (public: struct Bentley::DgnPlatform::ISprite * __cdecl Bentley::DgnPlatform::IViewManager::CreateSpriteFromIcon(struct Bentley::BeIconUtilities::Icon *,bool))
Name : ?CreateSpriteFromIcon@IViewManager@DgnPlatform@Bentley@@QEAAPEAUISprite@23@PEAUIcon@BeIconUtilities@3@_N@Z
Symbol name : ?LoadSpriteFromRsrc@IViewManager@DgnPlatform@Bentley@@SAPEAUISprite@23@HPEAUIconSource@BeIconUtilities@3@@Z (public: static struct Bentley::DgnPlatform::ISprite * __cdecl Bentley::DgnPlatform::IViewManager::LoadSpriteFromRsrc(int,struct Bentley::BeIconUtilities::IconSource *))
Name : ?LoadSpriteFromRsrc@IViewManager@DgnPlatform@Bentley@@SAPEAUISprite@23@HPEAUIconSource@BeIconUtilities@3@@Z
Am I missing something? Without these functions available how do we utilize sprites? Or is it recommended that we continue using transient elements?
Thanks
Liam