L
Landon
I use MFC VC++ 4.2
I have successful in getting all bookmarks and now I am trying to update them.
As the solution, I use Select() method that Bookmark class has:
if( m_Book.GetName() == "support" ){
m_Book.Select();
selObj.TypeBackspace();
selObj.TypeText( pHistory->m_sSupportTantou );
}
But now I have a problem with the range I guess, because each time I update
the file, there are 2 / 3 bookmarks that did not updated.
Can you please help me with the Selection range?
I don't really understand and I set it to :
long a = m_Book.GetStart();
long b = m_Book.GetEnd();
selObj.SetRange( a, b );
Thank you.
I have successful in getting all bookmarks and now I am trying to update them.
As the solution, I use Select() method that Bookmark class has:
if( m_Book.GetName() == "support" ){
m_Book.Select();
selObj.TypeBackspace();
selObj.TypeText( pHistory->m_sSupportTantou );
}
But now I have a problem with the range I guess, because each time I update
the file, there are 2 / 3 bookmarks that did not updated.
Can you please help me with the Selection range?
I don't really understand and I set it to :
long a = m_Book.GetStart();
long b = m_Book.GetEnd();
selObj.SetRange( a, b );
Thank you.