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

C / C++ / MFC

 
GeneralRe: Changing window title in SDI,MDI Pin
Sakhalean21-May-10 3:26
Sakhalean21-May-10 3:26 
QuestionRe: Changing window title in SDI,MDI Pin
David Crow21-May-10 3:35
David Crow21-May-10 3:35 
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 
Thank you.

Any have i have solved like this

CMainFrame* pFrame = (CMainFrame* )AfxGetMainWnd();
CSIRBaseView* pView = (CSIRBaseView* )pFrame->m_pNewView;
CSIRBaseDoc* pDoc = (CSIRBaseDoc* )pView->GetDocument();

CString strDoc, strFrame;
pFrame->GetWindowText( strFrame );

strDoc = "MyApp";
strDoc += strFrame.Right( strFrame.GetLength() - strFrame.Find( "-" ) +1 );
pFrame->SetWindowText( strDoc );
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 
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 

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.