Click here to Skip to main content
15,904,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl Pin
_AnsHUMAN_ 29-May-07 23:01
_AnsHUMAN_ 29-May-07 23:01 
GeneralRe: CListCtrl Pin
Bravoone_200630-May-07 0:01
Bravoone_200630-May-07 0:01 
Question"pDoc->SetTitle" problem Pin
Aint29-May-07 17:26
Aint29-May-07 17:26 
AnswerRe: "pDoc->SetTitle" problem Pin
PJ Arends29-May-07 19:28
professionalPJ Arends29-May-07 19:28 
GeneralRe: "pDoc->SetTitle" problem Pin
Aint29-May-07 20:28
Aint29-May-07 20:28 
GeneralRe: "pDoc->SetTitle" problem Pin
Hamid_RT29-May-07 21:25
Hamid_RT29-May-07 21:25 
GeneralRe: "pDoc->SetTitle" problem Pin
Aint29-May-07 23:40
Aint29-May-07 23:40 
AnswerRe: "pDoc->SetTitle" problem Pin
Nelek31-May-07 6:31
protectorNelek31-May-07 6:31 
Hi,

this is because you have maybe used my answer about the child window (if not, more or less the same that I had). The fact is that you are opening more views from the same document, and the MFC puts automatically the ":1", ":2"... to differenciate them. You can avoid it by overriding CChildFrame::OnPreCreateWindow (CREATESTRUCT& cs) If you re-read (or read for first time :P) the answers I wrote you in your message about the Child Window... You will find a line in the code with pDoc->m_szNewFrame there is where I save the string of the new title to the new window, and the new frame takes the title from that string.

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

GeneralRe: "pDoc->SetTitle" problem Pin
Aint31-May-07 16:06
Aint31-May-07 16:06 
GeneralRe: "pDoc->SetTitle" problem Pin
Nelek1-Jun-07 4:49
protectorNelek1-Jun-07 4:49 
GeneralRe: "pDoc->SetTitle" problem Pin
Rajkumar R31-May-07 19:07
Rajkumar R31-May-07 19:07 
GeneralRe: "pDoc->SetTitle" problem Pin
Aint31-May-07 19:58
Aint31-May-07 19:58 
AnswerRe: "pDoc->SetTitle" problem [modified] Pin
Rajkumar R31-May-07 23:42
Rajkumar R31-May-07 23:42 
GeneralRe: "pDoc->SetTitle" problem Pin
Aint3-Jun-07 23:59
Aint3-Jun-07 23:59 
AnswerOk, explaining better Pin
Nelek1-Jun-07 4:47
protectorNelek1-Jun-07 4:47 
Question12 digit number calculation Pin
Ram Murali29-May-07 16:47
Ram Murali29-May-07 16:47 
AnswerRe: 12 digit number calculation Pin
Naveen29-May-07 17:01
Naveen29-May-07 17:01 
GeneralRe: 12 digit number calculation Pin
Ram Murali29-May-07 17:23
Ram Murali29-May-07 17:23 
GeneralRe: 12 digit number calculation Pin
Naveen29-May-07 17:33
Naveen29-May-07 17:33 
GeneralRe: 12 digit number calculation Pin
Ram Murali29-May-07 17:34
Ram Murali29-May-07 17:34 
QuestionQuestion about setting Directshow Filter properties Pin
godspeed12329-May-07 12:51
godspeed12329-May-07 12:51 
AnswerRe: Question about setting Directshow Filter properties Pin
Mark Salsbery29-May-07 14:07
Mark Salsbery29-May-07 14:07 
QuestionListview with LVS_ICON style Pin
Perspx29-May-07 12:41
Perspx29-May-07 12:41 
AnswerRe: Listview with LVS_ICON style Pin
Naveen29-May-07 15:03
Naveen29-May-07 15:03 
QuestionRedraw a pane splitter window Pin
gurucplusplus29-May-07 12:16
gurucplusplus29-May-07 12:16 

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.