?
Solved

Word Automation with MFC

Posted on 2004-04-15
7
Medium Priority
?
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 255 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

764 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