Jump to content
Software FX Community

Can't rename "Bring to front"


User (Legacy)
 Share

Recommended Posts

I'm using the DLL in VC++ and I'm trying to rename the annotation bar 

commands so they are more easily distinguishable from the regular toolbar

objects. (I.e. Background color is on both toolbars.) I've accomplished this

with the code at the end of this e-mail. It worked great for everything

EXCEPT for the "Bring to front" command, which retained it's original

tooltip.

Is this a bug or is there something blindingly wrong in my code that I am

missing?

Andrew Pane

---------------------------------------

Merak Projects Ltd.

A Division of Schlumberger GeoQuest

---------------------------------------

-------------------------------------------------------------

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_BACKCOLOR]->Text =

"Annotation Background Color";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_BORDERCOLOR]->Text =

"Annotation Foreground (Border) Color";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_CUT]->Text = "Cut

Annotation";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_COPY]->Text = "Copy

Annotation";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_PASTE]->Text = "Paste

Annotation";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_BRINGTOFRONT]->Text =

"Bring annotation to front";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_SENDTOBACK]->Text = "Send

annotation to back";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_GROUP]->Text = "Group

annotations";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_UNGROUP]->Text = "Ungroup

annotaions";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_FLIPVERTICAL]->Text = "Flip

annotation vertically";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_FLIPHORIZONTAL]->Text =

"Flip annotation horizontally";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_ROTATERIGHT]->Text =

"Rotate annotation right";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_ROTATELEFT]->Text = "Rotate

annotation left";

pAnnList->ToolBarObj->Commands->Item[iD_OBJECT_PROPERTIES]->Text =

"Annotation Properties";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...