Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CListCtrl Pin
Bravoone_200629-May-07 20:55
Bravoone_200629-May-07 20:55 
AnswerRe: CListCtrl Pin
Ram Murali29-May-07 21:48
Ram Murali29-May-07 21:48 
QuestionRe: CListCtrl Pin
Bravoone_200629-May-07 21:56
Bravoone_200629-May-07 21:56 
AnswerRe: CListCtrl Pin
Ram Murali29-May-07 22:09
Ram Murali29-May-07 22:09 
AnswerRe: CListCtrl Pin
_AnsHUMAN_ 29-May-07 21:57
_AnsHUMAN_ 29-May-07 21:57 
GeneralRe: CListCtrl Pin
Bravoone_200629-May-07 22:21
Bravoone_200629-May-07 22:21 
GeneralRe: CListCtrl Pin
jhwurmbach29-May-07 22:32
jhwurmbach29-May-07 22:32 
GeneralRe: CListCtrl Pin
_AnsHUMAN_ 29-May-07 22:36
_AnsHUMAN_ 29-May-07 22:36 
GeneralRe: CListCtrl Pin
Bravoone_200629-May-07 22:32
Bravoone_200629-May-07 22:32 
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 

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.