Also, a richedit control in a treeview can be good :) at least, can we have
a word-wrap option in a treeview control? Also, It looks like there is a
character limit in a treeview. Long texts are truncated...


> Aldo,
> 
> You may want to consider adding the following function to the RichEdit 
> control:
> 
>     
> #########################################################################
> ##
>     # (@)METHOD:TextLength()
>     # Returns the text length of the RichEdit control
> LRESULT
> TextLength(handle)
>     HWND handle
> PREINIT:
>     GETTEXTLENGTHEX tl;
> CODE:
>     ZeroMemory(&tl, sizeof(GETTEXTLENGTHEX));
>     tl.flags = GTL_DEFAULT;
>     tl.codepage = CP_ACP;
>     RETVAL = SendMessage(
>         handle, EM_GETTEXTLENGTHEX, (WPARAM) (GETTEXTLENGTHEX FAR *) 
> &tl, 0
>     );
> OUTPUT:
>     RETVAL
> 
> 
> Trevor S Garside
> [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


Reply via email to