trichview.support
Re: Correct way to do trvActions in code only |
Author |
Message |
JMA |
Posted: 08/23/2004 23:33:49 Sergey Tkachenko wrote: > Sorry, I do not understand. > Do you want to apply paragraph properties using TrvActionParagraph without > displaying its dialog? > No, sorry if I was unclear. I dont want to use a TActionList and I dont want any menus (TMenu). I just want to use the TrvActions functions by writing code. It seems to work but is it the right way to do ?? /JMA > >>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; >> |
Powered by ABC Amber Outlook Express Converter