RE: RichEdit title bar text

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

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C210D9.6D3E6AF0
 charset=iso-8859-1

> -----Original Message-----
> From: tone.skoda at gmx.net [mailto:tone.skoda at gmx.net]
> Sent: Tuesday, 11 June 2002 9:37
> To: EUforum
> Subject: Re: RichEdit title bar text
> 
> 
> 
> So the answer is: there is no way you can set RichEdit caption text.
> 

Not quite. The answer (so far) is that there is no way you can ONLY set the
RichEdit caption text.
The standard ways of setting the RichEdit text also set its caption.

------------
include win32lib.ew
object VOID
constant w = createEx(Window, "Titled", 0, 0, 0, 300, 300, 0, 0)
constant re = createEx(RichEdit, "re", w, 10, 10, 200, 200, WS_CAPTION, 0)
VOID = w32Func( xSetWindowText, { getHandle( re ), "My Test Caption" } )
WinMain(w, Normal)
-----------------


If you want a captioned-RichEdit effect, you may have to resort to emulating
the caption by using another control (eg. LText) that pretends to be its
caption area.
-------
Derek

==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
==================================================================
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.


==================================================================

------_=_NextPart_000_01C210D9.6D3E6AF0
Content-Type: application/ms-tnef

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

Search



Quick Links

User menu

Not signed in.

Misc Menu