Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bitmaps in PrintPreview Pin
Roger Allen19-Aug-02 2:37
Roger Allen19-Aug-02 2:37 
GeneralTooltip with MSFlexGrid Pin
AnTri18-Aug-02 21:06
AnTri18-Aug-02 21:06 
Generaladd title Pin
wong190718-Aug-02 20:41
wong190718-Aug-02 20:41 
GeneralRe: add title Pin
Olli18-Aug-02 21:11
Olli18-Aug-02 21:11 
GeneralRe: add title Pin
wong190718-Aug-02 22:20
wong190718-Aug-02 22:20 
GeneralRe: add title Pin
Tomasz Sowinski18-Aug-02 22:53
Tomasz Sowinski18-Aug-02 22:53 
GeneralRe: add title Pin
wong190719-Aug-02 2:41
wong190719-Aug-02 2:41 
GeneralRe: add title Pin
Tomasz Sowinski19-Aug-02 2:55
Tomasz Sowinski19-Aug-02 2:55 
You could try with GetParentFrame()->SetWindowText(...), but your title will be changed by MFC. To get this right, you need to override the following CMDIChildWnd method:

void OnUpdateFrameTitle(BOOL bAddToTitle);


In your implementation, call 'GetMDIFrame()->OnUpdateFrameTitle(bAddToTitle);' first, then set the caption with a call to AfxSetWindowText (reduces flicker).

Tomasz Sowinski -- http://www.shooltz.com

"Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation.

GeneralRe: add title Pin
wong190719-Aug-02 4:15
wong190719-Aug-02 4:15 
GeneralSendInput() compiler report "undeclared identifier" Pin
mmlxl18-Aug-02 20:36
mmlxl18-Aug-02 20:36 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
Tomasz Sowinski18-Aug-02 22:23
Tomasz Sowinski18-Aug-02 22:23 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
mmlxl19-Aug-02 14:53
mmlxl19-Aug-02 14:53 
GeneralRe: SendInput() compiler report "undeclared identifier" Pin
Tomasz Sowinski19-Aug-02 21:46
Tomasz Sowinski19-Aug-02 21:46 
QuestionButton inside a listbox? Pin
Moak18-Aug-02 20:24
Moak18-Aug-02 20:24 
AnswerRe: Button inside a listbox? Pin
Jon Hulatt18-Aug-02 23:10
Jon Hulatt18-Aug-02 23:10 
GeneralRe: Button inside a listbox? Pin
Moak18-Aug-02 23:22
Moak18-Aug-02 23:22 
GeneralRe: Button inside a listbox? Pin
Roger Allen19-Aug-02 2:47
Roger Allen19-Aug-02 2:47 
GeneralRe: Button inside a listbox? Pin
Tomasz Sowinski19-Aug-02 2:57
Tomasz Sowinski19-Aug-02 2:57 
GeneralRe: Button inside a listbox? Pin
Anonymous_Unregistered19-Aug-02 19:43
sussAnonymous_Unregistered19-Aug-02 19:43 
GeneralRe: Button inside a listbox? Pin
Tomasz Sowinski19-Aug-02 21:44
Tomasz Sowinski19-Aug-02 21:44 
GeneralTwo questions about CToolTipCtrl Pin
Eugene Pustovoyt18-Aug-02 20:03
Eugene Pustovoyt18-Aug-02 20:03 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski18-Aug-02 22:24
Tomasz Sowinski18-Aug-02 22:24 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 0:37
Eugene Pustovoyt19-Aug-02 0:37 
GeneralRe: Two questions about CToolTipCtrl Pin
Tomasz Sowinski19-Aug-02 0:42
Tomasz Sowinski19-Aug-02 0:42 
GeneralRe: Two questions about CToolTipCtrl Pin
Eugene Pustovoyt19-Aug-02 2:34
Eugene Pustovoyt19-Aug-02 2:34 

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.