[perl-win32-gui-users] Does Microsoft Community edition Visual Studio work with Win32-GUI?

2017-01-09 Thread Jeremy White
All, Does anyone know if the latest version of Microsoft community edition visual studio works to build Win32::GUI? I've been trying to build WIn32::GUI (specifically Win32::GUI::Grid) under a modern Activestate 64 bit perl, but I can get it to compile (lots of weird errors). It does build und

Re: [perl-win32-gui-users] PPM distro for 64-bit PERL v 5.14

2012-02-18 Thread Jeremy White
Only that I have not had *any* time to even review the 64-bit patches - and I'm not likely to get any any time soon. I'm also not sure that Jeremy's right; I don't think the 64-bit patches are in the repository. That said, I have no issue with someone else applying them and spinning a rele

Re: [perl-win32-gui-users] PPM distro for 64-bit PERL v 5.14

2012-02-17 Thread Jeremy White
> Hi all: > does anyone have a PPM distribution (Win32::GUI) that can run on v > 5.14 64-bit? I tried creating this myself with the source 1.06 but so > far it is not working. I don't think there is a PPM for 64 bit. You should be able to build your own (using Mingw) but not from the source of

Re: [perl-win32-gui-users] Overriding default sub names for events?

2012-02-15 Thread Jeremy White
> I ask because I want to use a package method rather than a sub in main. > Like you might say in Tk > > $self->{window}->after(1000, sub { $myotherobject->timerhandler(); }); Have a look at the NEM (new event model) as it allows you to associate subs refs to events. It's also faster.

Re: [perl-win32-gui-users] Can't call method "STORE" on an undefined value during global destruction

2011-05-20 Thread Jeremy White
on in this thread: > http://old.nabble.com/Crash-with-perl-5.10-and-Win32%3A%3AGUI-1.6-td16523383.html > [ http://goo.gl/UhcgE ] > > In this thread, one Jeremy White discovers the problem, apparently > solves it, then writes: > > > I think the solution is straightforward but don

Re: [perl-win32-gui-users] Button Bitmap inconsistency

2011-03-29 Thread Jeremy White
Quick reply, it could be a simple scoping problem: > package Testing; > > use strict; > use warnings; > use Win32::GUI(); > use Win32::GUI::Constants qw(BS_BITMAP); move the images here - that way the objects don't get destroyed when they go out of scope. my $IMG1 = new Win32::GUI::Bitmap("D:

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-24 Thread Jeremy White
Hi, Cool - do some major testing with your app, and if things are still OK, the fix (well, a version of it) will get committed to CVS. Interesting that you are still having memory issues with 5.12. This could be another issue within Win32::GUI that only manifests in those versions of perl...

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> On 23.03.2011 15:42, Jeremy White wrote: > > I'm not sure the approach I use would help you as I draw the whole > > screen (fonts, graphics, backgrounds etc). I've looked at this again, > > and I think I've fixed the bug within Win32::GUI. You mentione

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> One more thing - maybe important. This background color problem is not > neccesary connected with a memory. I think that maybe the bigger problem is > that it rises the GDI object counter. Please compare difference between Perl8 > and Perl10 - in Perl 5.8 in principle the memory is stable wh

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Jeremy White
> Probably I am mixing something. I wrote another variant of the script: > > test.pl:> ##> #!/usr/bin/perl -w> use > strict;> use warnings;> use Win32::GUI qw();> my $i = 0; Ok:) as soon as I saw your code, I can see the problem...The problem is: -backgro

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-22 Thread Jeremy White
> Finding the GDI objects number was crucial. It was written 1 and maximum > - > according Microsoft is 65,536 (for XP). The number is written in registry > under the key: > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\Windows\GDIProcessHandleQuota Vista and Windo

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-21 Thread Jeremy White
> > What version of Perl are you using? > > Perl 8.8 and Perl 10.0 (both ActiveState's) - results the same I assume that's perl 5.8.8? It may be worth downloading the latest version of either 5.8 or 10.0 as I know there were fixes in Perl itself that could be causing your problem. > The

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-21 Thread Jeremy White
Hi, > I use windows XP, Windows 7 and win32::GUI 1.06. Problem exists on the both > OS`s. What version of Perl are you using? > It is not problem with win32::GUI but I experienced it just using the module > in my application. > > My application dynamically generates series of windows (potentia

Re: [perl-win32-gui-users] Scrolling in windows

2011-03-07 Thread Jeremy White
> Is there a way I can have an object which I can put a set of components > on and have them move around a window as a unit? Yes. See below. > I've read through Rob May's tutorial at > , which shows > how to make a label move around in res

Re: [perl-win32-gui-users] Robust Windows

2010-10-20 Thread Jeremy White
Hi, I'm not sure what you example code actually does:)? If I comment out all the code for SetLayeredWindowAttributes there is no change to the window? You'll probably want to set the background of the button to the same color as the window as any app with windows XP styles set will use rounded

Re: [perl-win32-gui-users] Custom window shapes

2010-10-09 Thread Jeremy White
Hi, If you do a search in this group you should find examples of skinning apps using UpdateLayeredWindow as a base. This function should be really added to the core at some point. Could you add an item on the tracker for this function (and related functions) once you've got your example working

Re: [perl-win32-gui-users] How to improve refreshing speed

2010-06-08 Thread Jeremy White
> Hello! > > I have a question: How to improve refreshing speed? As a first step, try a profiler to see where your code is spending most of its time: try Devel-NYTProf: http://search.cpan.org/~timb/Devel-NYTProf-3.11/http://blog.timbunce.org/2009/12/24/nytprof-v3-worth-the-wait/ (make sure yo

Re: [perl-win32-gui-users] Problem with graphic application

2010-05-12 Thread Jeremy White
Hi, Dealing with your last question first. All GUI toolkits have "problems" and are prone to crashing when things go wrong internally. What version of Perl and Win32::GUI are you using? I couldn't see any leak with Tutorial_Part1_hello1.pl? Is your crash random? Or is it due to running out of

[perl-win32-gui-users] 64bit version of Win32::GUI is here.

2010-04-09 Thread Jeremy White
All, I have just checked in some changes that will allow the building of Win32::GUI with 64 bit perl. The resulting dll's are all 64 bit meaning they run native on 64 bit machines with all the advantages (access to more memory and increased performance). At this stage, the changes should be con

[perl-win32-gui-users] Profiling your Win32::GUI Application

2010-02-25 Thread Jeremy White
In the past I have tried various tools to profile Win32::GUI applications and I've always been disappointed with the results... ...but I have been impressed with Devel::NYTProf: http://blog.timbunce.org/2009/12/24/nytprof-v3-worth-the-wait/ Devel::NYTProf exists as a PPM for both 5.10 and 5.8, b

Re: [perl-win32-gui-users] label is not visible after recreating inevent

2009-12-24 Thread Jeremy White
Hi, The reason you are seeing strange behavior is that you have several controls with the same name, give each one a unique name and the problem will go away. For me (Vista, Perl 5.8.9, Win32::GUI 1.6) the below doesn't leak (handle or memory [i do see a 'leak' of 16K on the first run, but no m

Re: [perl-win32-gui-users] Windows shutdown

2009-12-23 Thread Jeremy White
Something like below - I didn't have time to test it fully, but something is printed when I shutdown. use strict; use Win32::GUI qw (WM_QUERYENDSESSION); my $main = Win32::GUI::Window->new(-name => 'Main', -text => 'Perl', -width => 200, -height => 200);$main->AddLabel(-name => "Label", -text

Re: [perl-win32-gui-users] Windows shutdown

2009-12-23 Thread Jeremy White
Hi, One thing that did strike me when reading your mail was when you said "application does not in itself require a GUI". When you hooked WM_QUERYENDSESSION + WM_ENDSESSION, are you sure your application is sitting on the event pump (Win32::GUI::Dialog) when windows shuts down? If it's not, the

Re: [perl-win32-gui-users] memory leak problem

2009-12-23 Thread Jeremy White
Hi, What version of Win32::GUI are you using? I don't see any memory leak when running your code? You don't need to do anything to 'destroy' a control, Win32::GUI should do the right thing (see below). The same also applies to windows, you can create/destroy (let them go out of scope) just like

Re: [perl-win32-gui-users] Win32::GUI + OpenGL

2009-05-22 Thread Jeremy White
ading ? -- Apu Islam ( E Pluribus Unum) From: Jeremy White To: roberte...@users.sourceforge.net; perl-win32-gui-users@lists.sourceforge.net; kejoh...@hotmail.com Sent: Friday, May 22, 2009 12:50:50 PM Subject: Re: [perl-win32-gui-users] Win32::GUI + OpenGL > I h

Re: [perl-win32-gui-users] Win32::GUI + OpenGL

2009-05-22 Thread Jeremy White
> I have also experimented with OpenGL and Win32::GUI. I started to > write a module to integrate the two, but never completed it - I did > get it running though, and successfully ported most of the examples > that some with the OpenGL module. I've played with this too. Got the basics working, bu

Re: [perl-win32-gui-users] Using HTTP::Daemon within Win32::GUI

2009-04-29 Thread Jeremy White
Hi, Not sure if I understand what you are wanting to do, but you can have a webserver (via HTTP::Daemon) running on one thread, while the main GUI is running in another. Each thread would block as you would expect: Win32::GUI until an event is fired and HTTP::Daemon until a time out or HTTP re

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-22 Thread Jeremy White
> On Wed, 22 Apr 2009, Rob May wrote: >> 2009/4/22 Jeremy White : >>> I vote for adding the XP style request directly to perl.exe - in >>> almost all cases it's the "correct" thing to do and is easy enough >>> to remove (and indeed from

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-22 Thread Jeremy White
because the mebedded manifest will take precedence. So what do you think, should perl.exe in that case request the XP style controls or not? Cheers, -Jan From: Jeremy White [mailto:jez_wh...@hotmail.com] Sent: Tuesday, April 21, 2009 9:50 AM To: ilya.bando...@socgen.com;

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-21 Thread Jeremy White
Hi, XP styles (as I understand it) is a separate "thing" from Win32::GUI and is controlled by a manifest file. This manifest file is included inside the exe by PerlApp. If you have a manifest file for Perl itself you'll get XP styles when you run your app via perl. Have a search on this list on

Re: [perl-win32-gui-users] I need mouse method!

2009-03-21 Thread Jeremy White
As a side, you dont need to define constants or use win32 api: use strict; use warnings; use Win32::GUI qw(WS_CAPTION TME_HOVER TME_LEAVE HOVER_DEFAULT SWP_FRAMECHANGED SWP_NOMOVE SWP_NOSIZE SWP_NOZORDER SWP_NOACTIVATE); my $state = 0; # 0 - out; 1 - in; my $mw = Win32::GUI::Window->new( -tit

Re: [perl-win32-gui-users] I need mouse method!

2009-03-21 Thread Jeremy White
> I have found in Internet the following code (later on), but I don't see any > efects of MouseOver at all. Specialy it does not print the words: "Hover" > when I put my mouse over the window. Can anyone help me? I use Perl 5.8. > > the code: Hi, I am not sure if I understand what you want t

Re: [perl-win32-gui-users] WG: flickering static-DC

2009-03-13 Thread Jeremy White
Hi, It's not a Win32-GUI problem either - it's a windows thing. When a window is resized windows clears the area *before* the paint event is fired, resulting in that flash/flicker. You can work around this by associating a class to the window (which, I think, from memory stops the event that

Re: [perl-win32-gui-users] flickering static-DC

2009-03-09 Thread Jeremy White
Hi Raphael, I don't have Win32::GUI in front of me - but: You always need Validate, as this tells windows that you have finished drawing for the paint event. Drawing to a "live" DC will always be slow and flickery. You need to draw to a memory DC and bitblit the result to the window DC - I th

Re: [perl-win32-gui-users] crashes in GUI.dll?

2009-01-15 Thread Jeremy White
Hi, I've had crashes before - some related to systray. Make sure you are using the latest version of both Win32::GUI, PerlApp (7.3) and Perl (5.8.7+). I've had some issues (crashes and silent exits) with PerlApp under Vista (fine under XP) but they have all been fixed in the latest version. Dr

Re: [perl-win32-gui-users] putting my code into a package breaks UI?

2009-01-11 Thread Jeremy White
> # Begin button row > $btn_DBWindowDefault = $DBWindow->AddButton( > -name=> 'DBWindowDefault', > -text=> 'Ok', > -tabstop => 1, > -default => 1, # Give button darker border > -ok => 1, # press 'Retu

Re: [perl-win32-gui-users] Painting non-graphical controls

2008-12-19 Thread Jeremy White
mouseOver or mouseOut > event, I'm stuck with trying to modify the zorder or finding an alternative > method. > > It's a form of 'trainer' (thats very very generalized) for an MMO. The > original application had a userbase of about 5000 people. > > > On Th

Re: [perl-win32-gui-users] Painting non-graphical controls

2008-12-18 Thread Jeremy White
Hi, My 2cents. Can't you create a dynamic control (within a transparent window) that is created on the fly when the user moves a mouse over an 'image' of the control? Can you say what the app is? Cheers, jez. > Date: Wed, 17 Dec 2008 02:07:40 -0600 > From: a...@es-ash.net > To: perl-win3

Re: [perl-win32-gui-users] Drawing transparently.

2008-12-15 Thread Jeremy White
Hi, Ok I understand a little more of what you are trying to do. Windows has two main drawing modes: One mode windows draws the windows itself, the other is where you draw the window (ie, supply the paint event). You can mix styles, but it gets very complicated as you have to treat the window i

Re: [perl-win32-gui-users] Drawing transparently.

2008-12-13 Thread Jeremy White
Hi, I think you are mixing drawing styles - try the below: cheers, jez. use strict; use warnings; use Win32::GUI(); use Win32::GUI::DIBitmap; use FindBin(); $|++; my $interval = 1000; my $dib = newFromFile Win32::GUI::DIBitmap("Zapotec.bmp") or die "newFromFile"; my $main = Win32::GUI::Wi

Re: [perl-win32-gui-users] bitmap - getting mouse clicks and mouse location

2008-11-22 Thread Jeremy White
Hi, Try the following: use strict; use warnings; use Win32::GUI (qw {WS_CAPTION WS_SIZEBOX WS_CHILD WS_CLIPCHILDREN WS_EX_CLIENTEDGE}); my $W = new Win32::GUI::Window( -name => "W", -title => "mouse click tracking", -left => 54, -top => 77, -width => 546, -height => 318, ); my $textfield = $W-

Re: [perl-win32-gui-users] Threads

2008-11-06 Thread Jeremy White
> I thought only the main thread can be used to create GUI elements reliably. > Isn't that true? No. As long as you are using the latest version of Win32::GUI and a late perl (5.8.7 +) you can have any number of threads creating GUI objects (a separate message pump will be created in each thr

Re: [perl-win32-gui-users] Win XP styles

2008-11-06 Thread Jeremy White
Hi, The way I do this is to create a child window that is the same size as the tab control (with the tab showing) and overlay it on the tab control. I then place the controls on this child window. Cheers, Jeremy. Date: Wed, 5 Nov 2008 10:26:41 +0300 From: [EMAIL PROTECTED] To: [EMAIL PROTEC

Re: [perl-win32-gui-users] Win XP styles

2008-11-06 Thread Jeremy White
for perlapp so I've been using PP. Reshacker looks good, as long as the end result is the same it should do fine, thanks. On Tue, Nov 4, 2008 at 8:12 PM, Jeremy White <[EMAIL PROTECTED]> wrote: Hi, When packing the script into an exe what tool are you using? If you are using PerlAp

Re: [perl-win32-gui-users] Win XP styles

2008-11-04 Thread Jeremy White
Hi, When packing the script into an exe what tool are you using? If you are using PerlApp from activestate you may need to update to a later version as I think it adds a manifest to the exe which overrides any file based manifest. You can manually change the manifest with a tool such as reshac

Re: [perl-win32-gui-users] (no subject)

2008-09-04 Thread Jeremy White
My understanding is that this isn't a bug, as all development tools would have the same issue. You should be able to go a google on other on toolsets (such as VB/C++) and find a solution. The way I get around the issue is to create a child window over the tab and place the controls on the child

Re: [perl-win32-gui-users] Perl-Win32-GUI-Users Digest, Vol 26, Issue 2

2008-07-06 Thread Jeremy White
you can also use sourceforge: http://sourceforge.net/project/showfiles.php?group_id=16572 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Sat, 5 Jul 2008 22:28:35 +0200 > CC: perl-win32-gui-users@lists.sourceforge.net > Subject: Re: [perl-win32-gui-users] Perl-Win32-GUI-Users Digest,

Re: [perl-win32-gui-users] GUI and Console in the same application?

2008-07-02 Thread Jeremy White
Hi, The way I would approach this is to have one thread controlling the GUI and then have worker threads that do the actual work. Using the threading approach will allow you more interactivity, and if any of the jobs are processor bound you'll gain significant performance on dual/quad cores.

Re: [perl-win32-gui-users] Avoid the appearance of a "frozen" window

2008-06-18 Thread Jeremy White
> On Wed, 18 Jun 2008, Charles Alderman wrote: > > I've had some luck doing this using fork() and a pipe to communicate > > between the (pseudo) processes. On Win32, fork is emulated using perl > > threads. So it's basically the same thing. I haven't tested this on > > Perl 5.10 yet, but I've ha

Re: [perl-win32-gui-users] Avoid the appearance of a "frozen" window

2008-06-18 Thread Jeremy White
Hi, If you are doing the processing in a loop, you can call DoEvents which will unfreeze the window and process all events currently in the queue. This approach would only work if the call to DoEvents happens frequently enough while you are processing. The alternative approach is to use thread

Re: [perl-win32-gui-users] Drag and Drop Controls

2008-06-02 Thread Jeremy White
> I'm developing an application to allow a customer to create custom forms to > be printed. In searching this group I found notes on drag and drop in a > listview, but can any control be draged as in GUI loft? I need to allow for > labels, text boxes and picture controls on a canvas defined by th

Re: [perl-win32-gui-users] Browse Buttons For Just Directories, and the Clear() method

2008-06-02 Thread Jeremy White
Do you mean browsing for a folder rather than a file? If so, see: Win32::GUI::BrowseForFolder Cheers, jez. > From: [EMAIL PROTECTED] > To: perl-win32-gui-users@lists.sourceforge.net > Date: Mon, 2 Jun 2008 14:48:29 -0500 > Subject: [perl-win32-gui-users] Browse

Re: [perl-win32-gui-users] DateTime format

2008-06-02 Thread Jeremy White
Hi, The strings below are some of the formats that I have used: 'dd MMM ' 'MM/dd/' 'dd/MM/' ' MM dd' 'MMdd' 'dd MMM HH:mm:ss' 'MM/dd/ HH:mm:ss' 'dd/MM/ HH:mm:ss' ' MM dd HH:mm:ss' 'MMdd HH:mm:ss' Cheers, Jeremy. Date:

Re: [perl-win32-gui-users] creating controls on the fly

2008-05-25 Thread Jeremy White
> I'm porting a web application back to a win32 app and have used win32-gui for > my development for the past three years. However I have hit a road block in > creating controls on the fly. My web application allows my users to define > questions tied to a database field. As part of the question

Re: [perl-win32-gui-users] Info From ActiveState on a problem

2008-05-08 Thread Jeremy White
Hi, I dont have perl instaled on this machine so I can't test this at the moment. I assume this is with PerlApp 7.x? Would you be able to create a bug report via: http://sourceforge.net/tracker/?group_id=16572&atid=116572 and I'll take a look at it. There is a simpler way to view and edit res

Re: [perl-win32-gui-users] Handling WM_MOUSEWHEEL or other arbitrary windows messages

2008-04-15 Thread Jeremy White
Hi, A quick reply below to get you moving... > I have a Win32-GUI app with a scrollable window area, and it uses the > "-onScroll => \&scrollfn" model to handle manipulation of the scrollbar > (and other normal messages). It's working well, such as it is. > > Now I'd like to add handling for th

[perl-win32-gui-users] Are you running Windows Vista?

2008-03-22 Thread Jeremy White
Hi, I'm having a strange problem with Win32::GUI running under Vista with PerlApp 7.1. I have raised a bug with Activestate: http://bugs.activestate.com/show_bug.cgi?id=74844 But they can't seem to reproduce the problem. If you have a couple of minutes free and are running windows Vista I'd b

Re: [perl-win32-gui-users] Button onClick event, how to get button -name

2008-03-21 Thread Jeremy White
Hi, I didn't test the below, but it should help. You need to do something like: sub Button_Clicked{ my $self = shift; #$self now contains the button object - so you can call methods on it... print $self->Text(); $Main->Status3->Text($self->Name); #not sure if there is a method called n

Re: [perl-win32-gui-users] File Save with Vista

2008-03-07 Thread Jeremy White
Hi, What version of Win32::GUI and what version of Perl? Cheers, Jeremy. > From: [EMAIL PROTECTED] > To: perl-win32-gui-users@lists.sourceforge.net > Date: Fri, 7 Mar 2008 10:59:32 -0800 > Subject: [perl-win32-gui-users] File Save with Vista > > I have a program that uses Win32::GUI::GetSaveF

Re: [perl-win32-gui-users] How to combine tool- and rebars properly?

2008-02-13 Thread Jeremy White
The cool bar control: http://www.robmay.me.uk/win32gui There is an issue in your code - just ran out of time to fix it! If you can't find it let me know - should have time tomorrow. Cheers, jez. > From: [EMAIL PROTECTED] > To: perl-win32-gui-users@lists.sourceforge.net > Date: Wed, 13 Feb 2

Re: [perl-win32-gui-users] Win32::GUI:Window clipboard/buffer limit?

2008-02-01 Thread Jeremy White
Hi, >From memory there is a limit (its a windows thing rather than Win32::GUI). Now >that you're using 1.5 have a look at use the scintilla control instead - it >has no limit. There are several examples - have a look at Editor.pl - should >be what you are looking for. You can turn off the synt

Re: [perl-win32-gui-users] [perloasis] Anyone Maintaining Perl Oasis?

2008-01-04 Thread Jeremy White
I'd certainly support the idea of adding Loft as a separate project to Win32::GUI - I've never used Oasis so can't comment on that. I've got some scripts/hacks that I could add to Loft that would allow it to be used as a quick generic GUI design tool (without the need to use the Loft runtime m

Re: [perl-win32-gui-users] win32-gui and perl 5.10

2008-01-04 Thread Jeremy White
Activestate are still missing key support items for 5.10 so it's probably to early for a formal build of Win32::GUI that supports 5.10. You should find it easy enough to build your own version of Win32::GUI. What's your experience of 5.10? Do you find it faster? Does it use less memory etc.?

Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with Vista

2007-12-05 Thread Jeremy White
Hi, Thanks Jan - if you need me to do any testing to help speed this along, just drop me a mail. Cheers, jez. > Subject: RE: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with > Vista > Date: Tue, 4 Dec 2007 18:02:24 -0800 > > On Tue, 04 Dec 2007, Jeremy White

Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with Vista

2007-12-04 Thread Jeremy White
CTED] >> Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with >> Vista >> CC: perl-win32-gui-users@lists.sourceforge.net >> >> On 03/12/2007, Jeremy White wrote: >>> It seems the option --dyndll with perlapp causes the problem - I dont know >>>

Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with Vista

2007-12-03 Thread Jeremy White
ate. Cheers, jez. > Date: Mon, 3 Dec 2007 13:23:33 + > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with > Vista > CC: perl-win32-gui-users@lists.sourceforge.net > > On 03/12/2007, Jeremy Whi

Re: [perl-win32-gui-users] Problem with Win32::GUI and PerlApp with Vista

2007-12-03 Thread Jeremy White
As a follow up: It seems the option --dyndll with perlapp causes the problem - I dont know why... Cheers, jez. > > All, > > I'm having an odd problem with using GetOpenFileName - but only when it's > converted into an exe with PerlApp. > > Using the demo example (C:\Perl\site\lib\Win32\

[perl-win32-gui-users] Problem with Win32::GUI and PerlApp with Vista

2007-12-02 Thread Jeremy White
All, I'm having an odd problem with using GetOpenFileName - but only when it's converted into an exe with PerlApp. Using the demo example (C:\Perl\site\lib\Win32\GUI\demos\GetOpenFileName.pl) I've narrowed it down to the option -explorer => 0 when set to one (which is the new browsing style

[perl-win32-gui-users] Vista and Win32::GUI

2007-03-25 Thread Jeremy White
Hi, Has anyone run a Win32::GUI application under Vista yet? Any glitches? Cheers, Jez. _ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/

Re: [perl-win32-gui-users] Question: GridLayout

2006-09-10 Thread Jeremy White
Hello! First of all a big thanks for this mailing list, definitly great. This is my first post but I'm reading it for a while now. SO, here is my question: I need a Grid for a database application. The grid should only show the rows of a table and the content should be editable. Furthermore I n

Re: [perl-win32-gui-users] HTML comments on Win32::GUI 1.03_04

2006-09-10 Thread Jeremy White
Hi, I am willing to provide any support in implementing these features that you'd like. I admit to being the lowest common denominator in any group of my peers, but a ready hand is a ready hand. If you have not already done so, I suggest you download the necessary tools to build Win32-GUI

Re: [perl-win32-gui-users] Win32::GUI and RPC Server??

2006-08-31 Thread Jeremy White
Thanks for this information, I've read that Win32::GUI::ThreadUtils is currently experimental!? Do you have used Win32::GUI::ThreadUtils in a real environment and tested it for stability? I've played with Win32::GUI::ThreadUtils, but not in a "production" environment and have found it perform

Re: [perl-win32-gui-users] Win32::GUI and RPC Server??

2006-08-30 Thread Jeremy White
I'm in trouble using Win32::GUI together with Event::RPC::Server. How can I run both in my script? The RPC parts needs the following lines to start: my $server = Event::RPC::Server->new ( port=> , ); $server->start; and Win32::GUI needs: Win32::GUI::Dialog(); both are started

Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Jeremy White
Hi, 2. ExExplicitlyutting the event handler into the nanamespaces in: :: { } I had intentions of replying to your message on the hackers list, but time ran away from me:) Yes, all event handlers end up in the main package (::) - this is fine for most simple/basic apps. For

Re: [perl-win32-gui-users] storing bitmaps in one external file?

2006-08-23 Thread Jeremy White
Any major problems or gotchas with Perl2EXE or PerlApp? I have used PAR because it was "free", but i think its time to get serious about this :) I used both in the past, but I had to stop using Perl2exe as the version of perl they were supporting at the time caused me issues (was bugs in perl

Re: [perl-win32-gui-users] storing bitmaps in one external file?

2006-08-23 Thread Jeremy White
I dont want to store the plain bitmaps as files in a directory where the EXE is located, to prevent them being mangled or replaced by end-users. Does anyone have any good ideas or tips on how I would securely "pack" the bitmap files (various sizes and color depths) all into one large disk file (

Re: [perl-win32-gui-users] Persistent Graphics in Win32::GUI::Graphic

2006-08-18 Thread Jeremy White
Hi, Seems the mailing list is messing up again - I didn't receive the original email in my main account (the original is repeated below). Ok - when a window is moved over another window, windows sends a message to tell the window that it needs repainting. In most cases you don't need to do m

Re: [perl-win32-gui-users] Bubbles in a list view

2006-07-18 Thread Jeremy White
I'm in the process of designing my program so I apologize for not having any code. I want to setup a list view and then have it so that when you move the mouse over a specific item/or if need be click a specific item a pop-up bubble appears with some text. Like the ones you see on the taskbar

Re: [perl-win32-gui-users] multiline textfields in a dialogui windowunder XP?

2006-06-29 Thread Jeremy White
Under Windows 2000, which I was using until last week, it worked fine; hitting Enter in the textfield moved to the next line. This week, the machines in my office got upgraded to XP, and now hitting Enter in the textfield does absolutely nothing. I can get to a new line by hitting CTRL-Enter,

Re: [perl-win32-gui-users] Sourceforge Mail list search broken?

2006-06-29 Thread Jeremy White
(By the way, I was looking for ways of using the GD image library functions with bitmaps/DIbitmaps... anyone got any pointers?) It's quite straightforward to use GD with Win32-GUI - although it's worth pointing out that Win32-GUI's drawing primitives are more powerful, and if used correctly,

Re: [perl-win32-gui-users] CVS Source 1.03_03 compile error

2006-06-12 Thread Jeremy White
To get it working I simply deleted the ->SetDefCellType( GVIT_NUMERIC ); option. However is there a workaround or another way to implement these options? It's defined in Grid.xs as: #define GVIT_NUMERIC 1 This should work: Win32::GUI::Grid::GVIT_NUMERIC() Cheers, jez.

Re: [perl-win32-gui-users] Win32::GUI::Scintilla V1.08

2006-06-01 Thread Jeremy White
Will the new version of Win32::GUI::Scintilla be based on the latest version of Scintilla? I have seen that now Scintilla is very accessible for screen readers, but the older version which is used on the actual version of Win32::GUI::Scintilla is not accessible at all. The V1.08 build is based

RE: [perl-win32-gui-users] Internal Dragging

2006-06-01 Thread Jeremy White
Has anyone implemented TreeViews or Listboxes with internal dragging, i.e., to move nodes/items within the control? The mouse events are (or at least should be) trivial, but the drag image is another matter. A simple line indicating the new position of the item/node would be sufficient. The

Re: [perl-win32-gui-users] Win32::GUI::Scintilla

2006-05-31 Thread Jeremy White
Ok, thanks. I can try to compile it even though I am not a C programmer. Can you please tell me where can I download the source code from? http://sourceforge.net/projects/perl-win32-gui Cheers, jez.

RE: [perl-win32-gui-users] Win32::GUI::Scintilla

2006-05-31 Thread Jeremy White
Sorry for my previous message because it was sent from a non-subscribed email address, and only the admin probably received it. Here it is again: I am using Perl 5.8.8 and I have installed Win::GUI::Scintilla using ppm: Version: 1.7 Author: ROCHER Laurent ( [EMAIL PROTECTED]) I am using Perl

RE: [perl-win32-gui-users] image view

2006-05-22 Thread Jeremy White
can anyone tell me what the easiest way to have an application display a jpeg image file? Iam thinking of using Axwindows but I don't even know what activeX to use and I really dont want to use IE I don't know enough about what activeX controls could do this, but it would be one solution. An

RE: [perl-win32-gui-users] Two quick questions

2006-05-18 Thread Jeremy White
First - Windows. How do I "close" a window? I dont mean hide or minimise, but actually close it and deallocate all the resources for it? If I click on the corner "x", my routine gets called before it closes, and the system terminates the window, but how do I get my program to actually terminate

RE: [perl-win32-gui-users] Unsetting an event

2006-05-17 Thread Jeremy White
I'm working on a GUI interface to create skins for my skin module. I'd like to be able to set an event (using SetEvent('MouseDown', \&handle)), and when I'd done with that event, reset the event to it's prior behavior. Is there a way to do this? I've looked on MSDN, and the closest that I can

Re: [perl-win32-gui-users] Adding controls to tab strip items.

2006-04-27 Thread Jeremy White
I've played around with TheGUILoft and was impressed with what it does for the most part. My biggest problem is that it doesn't export win32-gui code. I'd like the option of beging able to do both. The script below converts a .gld file into perl code. The script itself is a bit of a hack...:)

Re: [perl-win32-gui-users] Default Colors

2006-04-26 Thread Jeremy White
Thanks for the feedback, This is a nice broad way to change the colors at the system level. What I am looking for is a Win32 library variable I can set to change the theme for just my application. That way I can set global color settings for my whole application without having to assing color

RE: [perl-win32-gui-users] The skin module

2006-04-12 Thread Jeremy White
The reason I'm asking is that I'd like to proceed making the module Win32::GUI::Skin. I'd also like to start adding more controls. I don't want to do this until I know that the basic module is looking good. I had a quick look and it seems fine - although I didn't have time to do a proper lo

RE: [perl-win32-gui-users] accessing contents of a text box of another app

2006-04-09 Thread Jeremy White
I need to take the number that irfanview (a windows app distributed without sources) displays to the left of properties on top toolbar, and make it available via an HTTP request. I've got the HTTP request figured out (use HTTP::Daemon), but : How do I get the current value of the text? Do I h

RE: [perl-win32-gui-users] sharing objects

2006-04-07 Thread Jeremy White
I am trying to create a program using Win32::GUI that uses more threads. A few threads should connect to a server and download data permanently, and other threads should updated some list views with that data For doing this I need to use threads::shared and share some variables like $Win and othe

Re: [perl-win32-gui-users] Using Threads with Win::32 and Net::IRC

2006-04-07 Thread Jeremy White
Since both threads will be accessing the same database, would I need to connect and then close the database handle every time I query it or can the handle be left open? add as far as accessing the database, I Most databases can handle concurrent connections, so you should be able to leave each

RE: [perl-win32-gui-users] Window's Explorer over VPN

2006-04-05 Thread Jeremy White
I've looked at several Window's Explorer replacements to see if they might be faster, but they really aren't and I suspect that much of that is due to them using the same underlying Windows OS functions as Explorer does. I can CD and DIR with blazzing speed at a DOS prompt, but the GUI's are too s

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Jeremy White
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Yes. If you want to "remove" the DOS window during development of a script, you can run it via the command wperl rather than with the command perl. Cheers, jez.

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
How do you search the mailing list? That little info could prove VERY useful. http://sourceforge.net/mailarchive/forum.php?forum_id=3220 Cheers, jez.

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
yes, you are right, Net::IRC is blocking, even though the documentation says that do_one_loop allows it to work with other event based loops like Tk. Considering I'm a newbie, I have no idea where to begin using threads or processes. My program will need to share data with the IRC thread, so I

RE: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
I have been trying to create a GUI for my IRC bot, but no matter what I try, the GUI freezes once it connects. I know that the GUI has a loop and that NET::IRC has it's own loop; therefore I have used NET::IRC's do_one_loop and WIN32::GUI's DoEvents. I've even tried lagging the irc loop to get

RE: [perl-win32-gui-users] running another program

2006-03-30 Thread Jeremy White
Please tell me what is the correct way of running another .exe program under Windows from a program made using Win32::GUI. For example I want to be able to press a button which opens a separate program, but I don't want to maintain any relation between those 2 programs. (Just like when the seco

  1   2   3   >