Solved

Word Automation with MFC

Posted on 2004-04-15
7
324 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
Comment Utility
You may insert a new paragraph/line after the table
0
 

Accepted Solution

by:
vcnst2005 earned 85 total points
Comment Utility
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
Comment Utility
Without any feedback from asker, I suggest a deletion
0
 
LVL 16

Expert Comment

by:nonubik
Comment Utility
I respond.
Ok?
0
 

Author Comment

by:aerowang
Comment Utility
Thank all of you!
Good Luck!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now