Solved

Word Automation with MFC

Posted on 2004-04-15
7
332 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 92
Tab names are off by one 5 54
Fibonacci challenge 11 133
Making an alias 7 101
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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