Solved

Word Automation with MFC

Posted on 2004-04-15
7
328 Views
Last Modified: 2013-11-20
  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!
0
Comment
Question by:aerowang
  • 3
7 Comments
 
LVL 16

Expert Comment

by:nonubik
ID: 10831784
You may insert a new paragraph/line after the table
0
 

Accepted Solution

by:
vcnst2005 earned 85 total points
ID: 10832096
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
 
LVL 16

Expert Comment

by:nonubik
ID: 11125244
Without any feedback from asker, I suggest a deletion
0
 
LVL 16

Expert Comment

by:nonubik
ID: 11850118
I respond.
Ok?
0
 

Author Comment

by:aerowang
ID: 11858276
Thank all of you!
Good Luck!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bigDiff challenge 17 105
has77  challenge 9 83
Fibonacci challenge 11 121
how to split multiple lines delimiter : 8 97
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa‚Ķ
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question