RE: RichEdit title bar text

new topic     » goto parent     » topic index » view thread      » older message » newer message

Got me... both 'SetWindowText' and message WM_SETTEXT appear to set 
*both* the title and the data (on WinXP).  Not sure how you'd get around 
this one.  The only thing I can think of is that RichEdit controls 
aren't meant to have captions(?)

-- Brian


Brian Broker wrote:
> I guess I have to retract my reply since the PSDK states that "A rich 
> edit control is a window in which the user can enter, edit, format, 
> print, and save text."  I didn't know that you could have a richedit 
> control with a title...
> 
> I'll have to figure out the the correct message to send to the control.
> 
> -- Brian
> 
> Brian Broker wrote:
> > A control is not a window.  A window contains the control.  Use 
> > setText() on the window containing the richedit control.
> > 
> > -- Brian
> > 
> > 
> > tone.skoda wrote:
> > > i got a simple question:
> > > how do you set window title to RichEdit control?
> > > not the data but title bar, window has style WS_CAPTION
> > > 
> > > setText() changes data not title
> > 
> > 
> >

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu