Thanks for the reply Rob,

Apologies for having to ask (as I'm still new to and learning about
Methods and Events and the such), but what's the proper syntax to
switchout to using RichEdit instead?

I tried changing the AddTextfield to AddRichEdit instead, but the Window
is still truncating my data at only 32k.

Here's the bits for calling the Window and Text fields that I have:

# Create Main Window
my $Window = new Win32::GUI::Window (
    -name     => "Window",
    -title    => "HPC Service Delivery Admin Console",
    -pos      => [100, 100],
    -size     => [1000, 800],
    -menu     => $Menu,
    -onResize   => \&Notepad_OnSize,
    -onInitMenu => \&Notepad_OnInitMenu,
    -onTerminate => \&Notepad_OnQuitFile,
) or die "new Window";

# Create Textfield for Edit Text
$Window->AddRichEdit(
    -name      => "Edit",
    -pos       => [0, 0],
    -size      => [1000, 800],
    -multiline => 1,
    -hscroll   => 1,
    -vscroll   => 1,
    -autohscroll => 1,
    -autovscroll => 1,
    -keepselection => 1,
    -font => $EditFont,
);


Regards,
- Lincoln


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Robert May
Sent: Friday, February 01, 2008 10:39 AM
To: Mennuti, Lincoln: IT UK - QA (NYK)
Cc: perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] Win32::GUI:Window clipboard/buffer
limit?

>From the sound of it you'll be interested in these 2 threads - I'm a bit
confused by your 29781 byte limit, as I though the default limit was
64K.  Anyway, if you replace (what I assume to be) your
Win32::GUI::Textfield with a Win32::GUI::RichEdit the maximum size is
about 2GB.  You need to set it if you want more than 64(?)k.

http://www.mail-archive.com/perl-win32-gui-users@lists.sourceforge.net/m
sg05124.html
http://www.mail-archive.com/perl-win32-gui-users@lists.sourceforge.net/m
sg05091.html

Regards,
Rob.

On 01/02/2008, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
> Hello everyone,
>
> Apologies if I've missed something obvious with this...
>
>  To start, this is what I'm running:
> - WinXP SP2
> - Perl 5.8.8 Build 820
> - Win32::GUI 1.0.5
> - Windows Notepad clone:
> http://www.koders.com/perl/fidB18829AABB0A5DECEF04D53957FFEB1C2BFD38DD
> .aspx?s=calculate
>
> Problem:
> I've taken the notepad clone from the link and have augmented it for 
> use in parsing large logs (copy&paste logs into the window, then 
> running customized scripts from the menu), unfortunately when I paste 
> the log info into the window (generated by Win32::GUI::Window), it's 
> getting truncated after about 220 lines (29781 bytes) and I can no 
> longer type anything else into the window.
>
> I was using Win32::GUI 1.0.3 and upgraded to 1.0.5 but still have the 
> problem.
>
> Any help much appreciated!
> - Lincoln
>
> ----------------------------------------------------------------------
> -- For important statutory and regulatory disclosures and more 
> information about Barclays Capital, please visit our web site at 
> http://www.barcap.com.
>
> Internet communications are not secure and therefore the Barclays 
> Group does not accept legal responsibility for the contents of this 
> message.  Although the Barclays Group operates anti-virus programmes, 
> it does not accept responsibility for any damage whatsoever that is 
> caused by viruses being passed.  Any views or opinions presented are 
> solely those of the author and do not necessarily represent those of 
> the Barclays Group.  Replies to this email may be monitored by the 
> Barclays Group for operational or business reasons.
>
> Barclays Capital is the investment banking division of Barclays Bank 
> PLC, a company registered in England (number 1026167) with its 
> registered office at
> 1 Churchill Place, London, E14 5HP. This email may relate to or be 
> sent from other members of the Barclays Group.
> ----------------------------------------------------------------------
> --
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Microsoft Defy all challenges. 
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/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
> http://perl-win32-gui.sourceforge.net/
>


--
Please update your address book with my new email address:
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/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
http://perl-win32-gui.sourceforge.net/

Reply via email to