Word Automation with MFC

  I am using Word Automation with MFC,I have created a doc(Word 2000) by MFC.
   In the doc,I have got the Selection Object and also other objects essential such as Range Object .I want to insert some tables,but when I have inserted one,the cursor is just at the cell(1,1)of the table
   the question I want to ask is that how can I move the cursor out of the table and just let it at the first line outside,what methods shoule I use,wish your help,thank you!
aerowangAsked:
Who is Participating?
 
vcnst2005Connect With a Mentor Commented:
you can move by
cell = cell->next;

first you have to declear a
variable Word::CellPtr cell;
Word::TablesPtr ,TablePtr,
RowsPtr,RowPtr,CellPtr,CellsPtr.
all is Ptr, you can see their method
when you type ->
 
0
 
nonubikCommented:
You may insert a new paragraph/line after the table
0
 
nonubikCommented:
Without any feedback from asker, I suggest a deletion
0
 
nonubikCommented:
I respond.
Ok?
0
 
aerowangAuthor Commented:
Thank all of you!
Good Luck!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.