Re: [perl-win32-gui-users] utilizare diacritice

2006-11-18 Thread Dan Dascalescu
Hello All, I've been recently asked how to display Unicode characters in controls other than RichEdit. The first answer that came to mind was to set the -charset parameter of the Win32::GUI::Font object to 65001, the code page for UTF-8. I tried that, but either the charset had no effect (maybe W

Re: [perl-win32-gui-users] Installation Difficulties

2006-11-14 Thread Dan Dascalescu
First off, I'm running ActiveState Perl 5.6.1 on a WinXP Home laptop, Chris, any particular reason to stick with Perl 5.6.1? If not, wipe out the Perl installation and install the latest MSI package for Perl for Win32 from http://downloads.activestate.com/ActivePerl/Windows/5.8/ (currently A

Re: [perl-win32-gui-users] printing UTF-8

2006-10-13 Thread Dan Dascalescu
e previous discussion on this mailing list about RichEdit and Unicode can be found at http://sourceforge.net/mailarchive/forum.php?forum_id=3220 by searching for . Hope that helps, Dan Dascalescu On 10/13/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote: Hi Dan, I had a thought that a rich edit contr

Re: [perl-win32-gui-users] printing UTF-8

2006-10-12 Thread Dan Dascalescu
I built an application that displays UTF-8 successfully using Win32::GUI::RichEdit. As I'm not sure this is what you really want, please let me know if you'd like more information. Dan Dascalescu On 10/8/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote: Hi, Is it possibl

[perl-win32-gui-users] Richedit->Load progress

2005-12-02 Thread Dan Dascalescu
Is there a way to get some progress information while a RichEdit loads a multi-megabyte RTF? Thanks, Dan

Re: [win32gui] [perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-18 Thread Dan Dascalescu
Robert, Thanks for the code. I tried to tweak it around the 1024-char limitation: > sub btnChange_Click { > my $text1 = $re->Text(); > my $maxlen = 1024; I changed that to: my $maxlen = 2+ 2 * length $text1; and left everything else the same. The problem now is that there is a limit

[perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-15 Thread Dan Dascalescu
I'm trying to get a useful Perl representation of the Unicode string edited by the user in a RichEdit. It turned out that if I use $RichEdit->Text, some Unicode characters are corrupted (transformed to Latin equivalents). The same happens for GetSelText. In other words, $RichEdit->Text($RichEdit->

[perl-win32-gui-users] Iterating through the controls of a window

2005-07-14 Thread Dan Dascalescu
Hello everyone, I've been using Win32::GUI for a while, but this is my first post on the mailing list. What I'm wondering is if there is a way to iterate through all the controls in a window, by name. After creating a window, I examined the object in Komodo and I saw that its children had numeric