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] Format the GVIT_DATECAL Grid CellType

2005-07-18 Thread Chris Rogers
I've been using the Grid control and setting the CellType to GVIT_DATECAL. Everything works great except that I can figure out how to set the format of the date control. I need the date produced by the control to be in the format "-MM-dd" but the default seems to be "M-d-". I have tried

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

2005-07-18 Thread Robert May
The behaviour is marginally better (from a brief experiment) if you use -class => "RichEdit20A" (Richedit 2or 3 depending on your system) when creating the RichEdit control. I couldn't see any immediate difference between that and "RichEdit20W". Put still not perfect. By using the clipboard