Text menu

The Text menu appears to the right of the Pen menu. See Text, Native Language Support, and Time Media for more information about editable text menus and features.

          if (!TMarsPresenter::gTextSubMenuItem) {
              //  Text menu
              TMenu* textMenu = new TMenu();
              textMenu->SetControlLayout( MControl::kTopToBottom );
              TTextMenu* textMenuCreator = new TTextMenu((TTextView*)fCanvasView->GetEditableTextView());
              textMenuCreator->AddTextMenus(*textMenu);
              
              TMarsPresenter::gTextSubMenuItem = new TSubMenuItem (textMenu, 
                              new TTextLabel(*TDeleterFor<TStandardText>(CopyLocalizedText(theArchive, "Text"))));
          }

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker