![]() |
CreateImageLabel |
Post Reply
|
| Author | |
AlexFeng
Visitor
Joined: September 19 2006 Location: Taiwan Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: CreateImageLabelPosted: March 30 2009 at 10:47am |
|
Hello everyone, I have a program for IObjectManager51Ptr.
My Develop Tool if C++Builder 6.0. In .h IObjectManager51Ptr IObjMan; In .cpp BSTR str = L"test"; BSTR fn = L"e:\\test.gif"; ITerrainImageLabel5Ptr img; IObjMan->CreateImageLabel(122, 22, 0, fn, 0, 0, str1, &img); Compiling is ok and I can caeate a ImageText, but the ImageText is not show Image. I see the object properties, the "Image file" Properties is empty. Oh god ~~ please help me. what can I do? "_" Alex |
|
![]() |
|
txthunder
Visitor
Joined: March 09 2009 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: April 07 2009 at 3:29am |
|
Hi,Alex I tried your code in my computer.You can write it like this:
img = m_ObjectManagerptr->CreateImageLabel(122, 22, 0, fn, HSC_TERRAIN_RELATIVE, 0,str );
It may work.
|
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |