Click here to Skip to main content
15,914,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how are the editor programs created? Pin
John M. Drescher16-Mar-04 7:41
John M. Drescher16-Mar-04 7:41 
GeneralRe: how are the editor programs created? Pin
lordgreg16-Mar-04 9:24
lordgreg16-Mar-04 9:24 
GeneralRe: how are the editor programs created? Pin
John M. Drescher16-Mar-04 9:29
John M. Drescher16-Mar-04 9:29 
GeneralRe: how are the editor programs created? Pin
lordgreg16-Mar-04 11:35
lordgreg16-Mar-04 11:35 
QuestionMFC: How to change the default filename in the Save As dialog at runtime? Pin
Davex_15-Mar-04 10:57
Davex_15-Mar-04 10:57 
AnswerRe: MFC: How to change the default filename in the Save As dialog at runtime? Pin
basementman15-Mar-04 11:17
basementman15-Mar-04 11:17 
AnswerRe: MFC: How to change the default filename in the Save As dialog at runtime? Pin
Roger Allen16-Mar-04 0:36
Roger Allen16-Mar-04 0:36 
GeneralRe: MFC: How to change the default filename in the Save As dialog at runtime? Pin
Davex_16-Mar-04 4:23
Davex_16-Mar-04 4:23 
Thanks for your answer,

But I did what basementman suggested: I'm using SetTitle() and it's working fine.
Here's where I put the function, in my CLaserPlusBeta1Doc.cpp:

BOOL CLaserPlusBeta1Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;


// TODO: add reinitialization code here
// (SDI documents will reuse this document)

CDocument::SetTitle("MyTitle");


return TRUE;
}

I don't need to specify a path name, so it's easier this way.
Dave
GeneralOpen Microsoft Access file from Visual C++ Pin
utowntaz15-Mar-04 10:40
utowntaz15-Mar-04 10:40 
GeneralRe: Open Microsoft Access file from Visual C++ Pin
JWood15-Mar-04 10:50
JWood15-Mar-04 10:50 
GeneralRe: Open Microsoft Access file from Visual C++ Pin
Steve S15-Mar-04 22:08
Steve S15-Mar-04 22:08 
GeneralRe: Open Microsoft Access file from Visual C++ Pin
David Crow16-Mar-04 2:50
David Crow16-Mar-04 2:50 
GeneralAbout Calling "Help file" using "::WinHelp" command Pin
eigen15-Mar-04 10:18
eigen15-Mar-04 10:18 
GeneralRe: About Calling "Help file" using "::WinHelp" command Pin
MeterMan15-Mar-04 20:48
MeterMan15-Mar-04 20:48 
GeneralURGENT! cannot open include file Pin
BlackDice15-Mar-04 10:03
BlackDice15-Mar-04 10:03 
GeneralRe: URGENT! cannot open include file Pin
David Crow15-Mar-04 10:09
David Crow15-Mar-04 10:09 
GeneralRe: URGENT! cannot open include file Pin
l a u r e n15-Mar-04 11:53
l a u r e n15-Mar-04 11:53 
GeneralRe: URGENT! cannot open include file Pin
BlackDice16-Mar-04 4:51
BlackDice16-Mar-04 4:51 
GeneralWin32 Console Process Command Status Pin
cgusler15-Mar-04 9:14
cgusler15-Mar-04 9:14 
GeneralRe: Win32 Console Process Command Status Pin
ian mariano15-Mar-04 18:44
ian mariano15-Mar-04 18:44 
GeneralBuilding outlook 2000 add-ins Pin
Bob Stanneveld15-Mar-04 8:59
Bob Stanneveld15-Mar-04 8:59 
GeneralRe: Building outlook 2000 add-ins Pin
ravjak15-Mar-04 10:41
ravjak15-Mar-04 10:41 
GeneralRe: Building outlook 2000 add-ins Pin
Bob Stanneveld15-Mar-04 11:13
Bob Stanneveld15-Mar-04 11:13 
GeneralRe: Building outlook 2000 add-ins Pin
bryce15-Mar-04 12:15
bryce15-Mar-04 12:15 
GeneralRe: Building outlook 2000 add-ins Pin
Bob Stanneveld15-Mar-04 12:25
Bob Stanneveld15-Mar-04 12:25 

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.