trichview.com

trichview.support




Re: Correct way to do trvActions in code only


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/23/2004 21:14:22


Sorry, I do not understand.

Do you want to apply paragraph properties using TrvActionParagraph without

displaying its dialog?



> 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