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

C / C++ / MFC

 
GeneralCD ROM Information Pin
30-May-02 1:30
suss30-May-02 1:30 
GeneralRe: CD ROM Information Pin
Ed Gadziemski30-May-02 11:13
professionalEd Gadziemski30-May-02 11:13 
GeneralRe: CD ROM Information Pin
30-May-02 19:42
suss30-May-02 19:42 
GeneralRe: CD ROM Information Pin
30-May-02 19:43
suss30-May-02 19:43 
GeneralSetTitle on CDoc class Pin
LittleYellowBird30-May-02 1:33
LittleYellowBird30-May-02 1:33 
GeneralRe: SetTitle on CDoc class Pin
Michael P Butler30-May-02 1:47
Michael P Butler30-May-02 1:47 
GeneralRe: SetTitle on CDoc class Pin
LittleYellowBird30-May-02 2:02
LittleYellowBird30-May-02 2:02 
GeneralRe: SetTitle on CDoc class Pin
Michael P Butler30-May-02 2:09
Michael P Butler30-May-02 2:09 
SetTitle is called by the framework after you've set your custom title by the CDocument::OpenDocumentFile function.

So you won't be able to set your title in OnOpenDocument.
You could try doing it in CView::OnActiveView by calling GetDocument()->SetTitle

Alternativly you could override the default CDocument::SetTitle function and make sure it only sets the title to the value you want.


Michael Smile | :)


Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
GeneralRe: SetTitle on CDoc class Pin
LittleYellowBird30-May-02 3:55
LittleYellowBird30-May-02 3:55 
GeneralPGPEncode fails for RSA keys Pin
Nish Nishant30-May-02 1:14
sitebuilderNish Nishant30-May-02 1:14 
GeneralRe: PGPEncode fails for RSA keys Pin
Renjith Ramachandran30-May-02 3:49
Renjith Ramachandran30-May-02 3:49 
QuestionHi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
30-May-02 0:43
suss30-May-02 0:43 
AnswerRe: Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
mhamsa30-May-02 1:06
mhamsa30-May-02 1:06 
Generalthanks. but Polyline only paint points to dc, Pin
30-May-02 1:18
suss30-May-02 1:18 
AnswerRe: Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
jbarton30-May-02 3:54
jbarton30-May-02 3:54 
GeneralAdding view Pin
30-May-02 0:29
suss30-May-02 0:29 
GeneralRe: Adding view Pin
Michael P Butler30-May-02 0:27
Michael P Butler30-May-02 0:27 
GeneralRe: Adding view Pin
30-May-02 0:34
suss30-May-02 0:34 
GeneralRe: Adding view Pin
Michael P Butler30-May-02 0:44
Michael P Butler30-May-02 0:44 
GeneralATL List Control Pin
Braulio Dez30-May-02 0:16
Braulio Dez30-May-02 0:16 
GeneralRe: ATL List Control Pin
_Magnus_30-May-02 1:35
_Magnus_30-May-02 1:35 
QuestionCHtmlView displaying Font change ?? Pin
Natsga29-May-02 23:59
Natsga29-May-02 23:59 
GeneralStrip Macro's from compound file Pin
Atila29-May-02 23:59
Atila29-May-02 23:59 
GeneralRe: Strip Macro's from compound file Pin
KarstenK30-May-02 3:24
mveKarstenK30-May-02 3:24 
GeneralUser Message Pin
Zizilamoroso29-May-02 23:04
Zizilamoroso29-May-02 23:04 

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.