Solved

Word Automation with MFC

Posted on 2004-04-15
7
334 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 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Pressing cancel button with C# UI Automation 3 92
no14 challenge 14 73
pre4 challenge 19 110
NotAlone Challenge 20 88
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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