Re: MDI: don't display caption of child window in parent's caption
From: Drew Myers (drew.nospam.myers_at_esrd.com)
Date: 10/29/04
- Previous message: RainMan: "Re: MDI: don't display caption of child window in parent's caption"
- In reply to: Manuel Wülser: "Re: MDI: don't display caption of child window in parent's caption"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 15:09:00 -0500
Does GetDocument()->SetTitle(" ") work?
Drew
"Manuel Wülser" <manuel.wuelser@gmx.ch> wrote in message
news:OX$VF$$uEHA.1524@TK2MSFTNGP09.phx.gbl...
> hi!
> thanks for your answer. i already tried to disable FWS_ADDTOTITLE.
> so i don't get the title extension when de childframe is loaded.
> but when i maximize the child frame the parent window still displays
> the title of the child!! you can set the child window title to anything
> with SetWindowText(..), it will be displayed in the main frame ....
> the code was generated by the wizard of ms visual studio..
>
>
> RainMan wrote:
> > On the other hand: default implementation does not use any brackets. If
you
> > are using code that customize title display, you may also need to alter
> > custom changes.
> >
> > "RainMan" wrote:
> >
> >
> >>It is not a child frame title but default document title.
> >>
> >>You ca remove it by altering PreCreateWindow of the main frame window.
> >>Insert cs.style &= ~FWS_ADDTOTITLE;
> >>
> >>
> >>"Manuel Wülser" wrote:
> >>
> >>
> >>>hello!
> >>>
> >>>by default, the MDI parent frame shows the name of the child frame
> >>>between brackets, like "ThisApp 1.0 [Sheet 1]".
> >>>I found this to be annoying in certain situations -> how can
> >>>I turn that off?
> >>>
> >>>
- Previous message: RainMan: "Re: MDI: don't display caption of child window in parent's caption"
- In reply to: Manuel Wülser: "Re: MDI: don't display caption of child window in parent's caption"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|