trichview.com

trichview.support




Correct way to do trvActions in code only


Return to index


Author

Message

JMA

Posted: 08/23/2004 19:57:47


Hi !


I want to use the features in trvActions but I dont want menus.


I use the code below and it seems to work but I'm unsure if its

the right way to do it and if it will work on all trvActions ?


TrvActionsResource *ar;

ar = new TrvActionsResource(NULL);

ar->rvActionParagraph1->UserInterface = TRUE;

ar->rvActionParagraph1->Control = IDRE_TEXT;

ar->rvActionParagraph1->GetFromEditor(IDRE_TEXT);

ar->rvActionParagraph1->Execute();

delete ar;



/JMA





Powered by ABC Amber Outlook Express Converter