Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Changing window title in SDI,MDI Pin
Richard MacCutchan21-May-10 3:19
mveRichard MacCutchan21-May-10 3:19 
GeneralRe: Changing window title in SDI,MDI Pin
Sakhalean21-May-10 3:25
Sakhalean21-May-10 3:25 
GeneralRe: Changing window title in SDI,MDI Pin
Richard MacCutchan21-May-10 5:36
mveRichard MacCutchan21-May-10 5:36 
AnswerRe: Changing window title in SDI,MDI Pin
Hristo-Bojilov21-May-10 6:44
Hristo-Bojilov21-May-10 6:44 
AnswerRe: Changing window title in SDI,MDI Pin
mesajflaviu23-May-10 22:52
mesajflaviu23-May-10 22:52 
GeneralRe: Changing window title in SDI,MDI Pin
Sakhalean24-May-10 0:25
Sakhalean24-May-10 0:25 
GeneralRe: Changing window title in SDI,MDI Pin
Nguyen Van Thai15-Dec-11 19:18
Nguyen Van Thai15-Dec-11 19:18 
QuestionHow to automate word to go to first/last page of the document? Pin
sashoalm21-May-10 2:30
sashoalm21-May-10 2:30 
In my app I automate word. In my main window I have buttons for going to first/prev/next/last page. When the user clicks on them I want to make word programatically go to the page. I do this for prev/next
m_Application.CreateDispatch("Word.Application");
.......
m_Browser.AttachDispatch(m_Application.get_Browser());

.......
// on prev
void CMyView::OnPagesGoToPrevious()
{
   m_Browser.Previous();
}

// on next
void CMyView::OnPagesGoToNext()
{
   m_Browser.Next();
}


But there are no methods for going to first/last page. How do I implement it?
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

AnswerRe: How to automate word to go to first/last page of the document? Pin
Garth J Lancaster21-May-10 14:01
professionalGarth J Lancaster21-May-10 14:01 
QuestionHow to get width() of secondary Monitor. Pin
Anu_Bala21-May-10 2:14
Anu_Bala21-May-10 2:14 
QuestionRe: How to get width() of secondary Monitor. Pin
David Crow21-May-10 2:52
David Crow21-May-10 2:52 
AnswerRe: How to get width() of secondary Monitor. [modified] Pin
Luc Pattyn21-May-10 2:58
sitebuilderLuc Pattyn21-May-10 2:58 
QuestionWinlogon and WM_WTSSESSION_CHANGE Pin
gothic_coder21-May-10 1:21
gothic_coder21-May-10 1:21 
AnswerRe: Winlogon and WM_WTSSESSION_CHANGE Pin
gothic_coder24-May-10 23:29
gothic_coder24-May-10 23:29 
Questionsome header files doesn't work in visual studio 2008 Pin
hasani200720-May-10 23:59
hasani200720-May-10 23:59 
AnswerRe: some header files doesn't work in visual studio 2008 Pin
Aescleal21-May-10 0:46
Aescleal21-May-10 0:46 
GeneralRe: some header files doesn't work in visual studio 2008 Pin
Cool_Dev21-May-10 2:08
Cool_Dev21-May-10 2:08 
GeneralRe: some header files doesn't work in visual studio 2008 Pin
Aescleal21-May-10 3:33
Aescleal21-May-10 3:33 
QuestionLoad image Pin
john563220-May-10 22:10
john563220-May-10 22:10 
AnswerRe: Load image Pin
KingsGambit20-May-10 22:21
KingsGambit20-May-10 22:21 
AnswerRe: Load image Pin
Hristo-Bojilov20-May-10 23:59
Hristo-Bojilov20-May-10 23:59 
GeneralRe: Load image Pin
john563221-May-10 0:36
john563221-May-10 0:36 
Questionhow to draw an arc in open gl implemented in visual c++ Pin
nearest20-May-10 21:47
nearest20-May-10 21:47 
AnswerRe: how to draw an arc in open gl implemented in visual c++ Pin
Cedric Moonen20-May-10 22:57
Cedric Moonen20-May-10 22:57 
QuestionProblem with Activex Control property pages Pin
Sreenivas00320-May-10 21:21
Sreenivas00320-May-10 21:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.