Re: [perl-win32-gui-users] fix GridLayout.pm

2005-05-27 Thread Jez White
I have fixed mistake with alignment into multi-cells controls. Please, commit it. Done - have a quick test just to make sure it went in ok. Cheers, jez. -- Win32-GUI ChangeLog === + [Alexander Romanenko] - GridLayout.pm + Fix for alignment into

Re: [perl-win32-gui-users] Internet Exlorer like tool and menu bars (Coolbar.pm)

2005-05-26 Thread Jez White
For those that don't know what a Coolbar is - see the attached image:) coolbar.png Description: Binary data

Re: [perl-win32-gui-users] Mouse click event on the main window

2005-05-16 Thread Jez White
My problem is now: Are they other mouse events that can be trapped this way? I tried onMouseClick, onMouseDoubleClick with no result; but onMouseRightDown had the desired effect... I think you can use the following: MouseMiddleDblClick MouseMiddleUp MouseMiddleDown MouseRightDblClick

Re: [perl-win32-gui-users] Mouse click event on the main window

2005-05-12 Thread Jez White
I am new to Win32::GUI. I would like to open a simple, plain, main window, with only label objects on it, let say, and intercept a mouse click anywhere on the client area, so that, depending on where the click happens (Win32::GUI::GetCursorPos()), different actions can be taken. It doesn't

Re: [perl-win32-gui-users] Button and RichEdit issues

2005-05-11 Thread Jez White
Ok - Ariel's solution (calling DESTROY) on the richedit controls before exit solves the crash for your example:) I must admit I'm a bit stumped at the button hang - I was able to reproduce it. It must be something to do with TabFrame (probably a scoping issue) since if the buttons are created

Re: [perl-win32-gui-users] AxWindow Application Error

2005-05-09 Thread Jez White
Thanks for the reply. I tried undefing the window, ax-control and ole-control in various orders. All of them still generated the error. I tried stepping through the script to see which undef was causing the error, but it seems to be caused by something under the hood that happens after all of

Re: [win32gui] [perl-win32-gui-users] Catching Combobox droplist mouse clicks

2005-05-07 Thread Jez White
Kurt, droplist didn't work with the mouse but it wasn't obvious why. I wonder if invoking Dialog() via an instance should be outright forbidden in GUI.pm or GUI.xs. Unless there is a reason for Dialog to exists as a method - it probably should be forbidden - thoughts anyone? Cheers, jez.

Re: [perl-win32-gui-users] Dumb questions re window objects/focus/topmost and destruction of the object

2005-04-16 Thread Jez White
Have you tried $your_top_seeking_window-SetForegroundWindow(), called from the notify icon click handler? I think I'm using that to do what it sounds like you want to do... Ah... yep.. worked like a charm. Thanks a lot. Would have been easier if that was actually listed in the

Re: [perl-win32-gui-users] Dumb questions re window objects/focus/topmost and destruction of the object

2005-04-16 Thread Jez White
For the benefit of anyone following this thread who also couldn't find that info: http://jeb.ca/perl/win32-gui-docs/index.pl/win32-gui#SetForegroundWindow_ Hi, I just had a quick look at this page - and it is out of date (more functions and improved documentation for others in the latest

[perl-win32-gui-users] Win32::GUI::GridLayout Commit

2005-04-06 Thread Jez White
All, I've just committed Alexander Romanenko's changes to the GridLayout object. Cheers, jez.

Re: [perl-win32-gui-users] Documentation and default values [Was: BUG Followup[1092732 ]:Slider no longer supports setting position]

2005-03-24 Thread Jez White
The XS code cannot provide a default in this case (due to the optionality of the first argument), and so explicitly looks at the number of arguements. We have 4 ways to call this method, and for consistency with what happens elsewhere this is how I believe the behaviour should be: (1)

Re: [win32gui] Re: [perl-win32-gui-users] BUG Followup[1092732 ]:Slider no longer supports setting position

2005-03-18 Thread Jez White
You are right, it would be more logical to have drawing as the default - and you pass 1 to stop the redraw. Assuming no one has issues with this change - perhaps it should be done before the next build? Eh, let's agree what that 1 stands for first :) Well, if you assume that you have to

Re: [perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Jez White
Hi, I've tried to reproduce this bug using your example but I couldn't reproduce it. I'm on 5.6.1 638 Win32::GUI 1.0 Cheers, jez. - Original Message - From: Robert May [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Wednesday, March 16, 2005 8:29 PM Subject:

Re: [perl-win32-gui-users] GetOpenFileName() filters fail with Win32::OLE::Const 'Microsoft Excel'

2005-03-02 Thread Jez White
Quoting Ed VanderPloeg [EMAIL PROTECTED]: The following code will pop up a file open dialog, but when you select between different filters in the drop-down list, the list of available files to choose from doesn't get updated. To get the list of files updated, you need to go to a different

Re: [perl-win32-gui-users] Hyperlink.pm [Was: Wrappers for listviews/comboboxes etc...]

2005-02-17 Thread Jez White
Quoting Glenn Linderman [EMAIL PROTECTED]: On approximately 2/16/2005 1:43 PM, came the following characters from the keyboard of Robert May: Glenn Linderman wrote: Would it not be possible to just use system qq{start whatever_command}; instead of ShellExecute? What is

Re: [perl-win32-gui-users] Graphical problems when using exe file created with perlapp

2005-02-17 Thread Jez White
Quoting Greg Dance [EMAIL PROTECTED]: I have an application that starts up with just a couple of buttons displayed in the main window. It all runs fine on my machine just running perl ApplicationName.pl and also running the exe file created using perlapp( with the options of -gui and

[perl-win32-gui-users] A bug with Hook?

2005-02-07 Thread Jez White
Hi, I've just spent ages tracking down a problem in my code...it turns out that it was a simple typo - I spelt a method name incorrectly:) The program should have died, but it didn't - this is due to hook not propagating die. The example below shows the bug in action - a timer sends a message

Re: [perl-win32-gui-users] A bug with Hook?

2005-02-07 Thread Jez White
Ok - I've fixed the problem - but before I commit it - do you think this was a real bug? Cheers, jez. - Original Message - From: Jez White To: Win32-GUI Sent: Monday, February 07, 2005 2:53 PM Subject: [perl-win32-gui-users] A bug with Hook? Hi, I've just spent ages

[perl-win32-gui-users] SetBuddy Method of the updown control causes a crash

2005-01-31 Thread Jez White
Hi, I've just come across a problem with the updown control when using the SetBuddy, Buddy and GetBuddy methods - they all cause a crash. All these methods attempt to return the previous (or current) buddy control and it crashes in this part - I suspect that these methods have not been updated

[perl-win32-gui-users] Strange Crash

2005-01-14 Thread Jez White
Hi, I've been having a strange crash in my application - and I'm wondering if any win32::gui users are experiencing anything similar? The crash occurs on exit (which is why I suspect win32::gui and not other components) and only when the application hasn't been used for a while. The easiest

Re: [perl-win32-gui-users] Strange Crash

2005-01-14 Thread Jez White
Hi, The things you do to track down bugs eh?:) It's just run on the command line - but I should try with perlapp. Cheers, jez. - Original Message - From: Chris Wearn To: Jez White Cc: perl-win32-gui-users Sent: Friday, January 14, 2005 9:36 AM Subject: Re: [perl-win32

Re: [perl-win32-gui-users] Listview Control functionality - Drag n Drop - Email found in subject

2005-01-10 Thread Jez White
) = $winMain-ScreenToClient(Win32::GUI::GetCursorPos()); $lvwChart-ItemPosition($dragitem,$x,$y); $drag=0; } return 1; } - Original Message - From: Frazier, Joe Jr [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED]; Lloyd, Steve [EMAIL PROTECTED]; Chris Wearn [EMAIL PROTECTED]; perl

Re: [perl-win32-gui-users] Windows not displaying?

2005-01-07 Thread Jez White
Very odd - I just ran that example and it displayed for me. (XP perl 5.6, win32::gui v1.0). What sub version of 5.8 are you using? Cheers, jez. - Original Message - From: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Friday, January 07, 2005 8:04 PM

Re: [perl-win32-gui-users] PERL Win32 and Perl Version

2004-12-31 Thread Jez White
-2001, Larry Wall Binary build 638 provided by ActiveState Corp. http://www.ActiveState.com ActiveState is a division of Sophos. Built Apr 13 2004 19:24:21 - Original Message - From: Ronald [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Sent

Re: [perl-win32-gui-users] terminate program at windows logoff

2004-12-22 Thread Jez White
Hi, I'm not sure if signals is the way to go - you might have a bit more joy with hooking the one of the windows shutdown messages http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/system_shutdown_messages.asp cheers, jez. - Original Message - From:

Re: [perl-win32-gui-users] Win32::GUI AddRichEdit crash problem.

2004-12-21 Thread Jez White
Hi, Yes there is a bug: http://sourceforge.net/tracker/index.php?func=detailaid=1064828group_id=16572atid=116572 You can get around it by keeping the richtext control in global scope - although I couldn't get it to work with your example. Cheers, jez. - Original Message - From:

Re: [perl-win32-gui-users] Win32::GUI AddRichEdit crash problem.

2004-12-21 Thread Jez White
I'm using Activstateperl 5.8.0 on Win2000 and it doesn't crash. It opens the empty window and allows typing. After closing the window I need to interrupt the program to stop it. Sorry, I don't know much about Tk. Its not Tk - Win32::GUI:) What version are you using? Cheers, jez. -- No

Re: [perl-win32-gui-users] A need for a native HTML browser?

2004-12-17 Thread Jez White
I tend to agree with this assessment... if it is almost free to include it (not more than 4KB additional size would be my definition of almost free), then why not? Well, one reason might be because of the multitude of security holes in IE... and that alone would make me prefer it being

[perl-win32-gui-users] A need for a native HTML browser?

2004-12-16 Thread Jez White
Hi, If you want to embed a HTML browser in a win32::gui app you can go down the Win32::GUI::AxWindow route: http://rocherl.club.fr/Win32GUI.html#AxWindow Would it make more sense to have a native version of this functionality built directly into the core of win32::gui (win32::GUI::Browser

Re: [perl-win32-gui-users] PERL Win32 and Perl Version

2004-12-14 Thread Jez White
Hi, I've built a version for 5.6.1 build 638 - but those PPM should work. What error messages are you getting? Cheers, jez. - Original Message - From: Ronald [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, December 14, 2004 5:28 AM Subject:

Re: [perl-win32-gui-users] The splashscreen example

2004-12-12 Thread Jez White
Hi, I've seen the splashscreen work on a wide range of screen resolutions and depths, so I would be surprised if that was the problem. Perhaps there is something wrong with the bitmap - can you display the bitmap in a label? I wonder if splash screen functionality of some sort should be

[perl-win32-gui-users] Pre selecting items in list Views and List Boxes (example)

2004-12-02 Thread Jez White
the example: --- use Win32::GUI; my $mainWindow = new Win32::GUI::Window ( -name = mainWindow, -title= Testing, -pos = [0, 0], -size = [300, 300], ); my $lb=$mainWindow-AddListbox ( -name = Listbox, -pos = [20, 60], -size = [100, 120],

Re: [perl-win32-gui-users] Pre selecting items in list Views and List Boxes

2004-12-02 Thread Jez White
of SetSel, but they do what I *think* you want to do. Glenn -- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jez White Sent: Thursday, 02 December, 2004 13:07 To: Win32-GUI Subject: [perl-win32

Re: [perl-win32-gui-users] Pre selecting items in list Views and List Boxes

2004-12-02 Thread Jez White
Message - From: Glenn W Munroe To: 'Jez White' ; 'Win32-GUI' Sent: Thursday, December 02, 2004 5:01 PM Subject: RE: [perl-win32-gui-users] Pre selecting items in list Views and List Boxes Jez, Hummm. I was pretty sure you would have tried that. There must be something else wrong

Re: [perl-win32-gui-users] Awaiting modal window closure

2004-11-30 Thread Jez White
Hi, The DoModal method might be what you are looking for - from the docs: ### # (@)METHOD:DoModal([DISABLE_ALL=FALSE]) # Enter the GUI dialog phase for a specific window: the script halts, the # user can

Re: FW: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-29 Thread Jez White
that gets the items from the queue. Hope that helps, Cheers, jez. - Original Message - From: Harlan Carvey [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED]; Alex Lee [EMAIL PROTECTED]; Win32-GUI List perl-win32-gui-users@lists.sourceforge.net Sent: Monday, November 29, 2004 2

Re: FW: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-28 Thread Jez White
Hi, I can put together GUIs...been doing it in Java, Tk, and using Win32::GUI. One thing I'd be interested in would be how to write a Windows app that has a GUI that responds when you click buttons, but the underlying activities/background processes continue to run. This is doable by using

Re: [perl-win32-gui-users] Forcing focus on a field

2004-11-28 Thread Jez White
I've run into a minor problem, probably just me being dense again... I have a form that you click on a button to open another form. When the second form opens, no field is active until you click on one. How do you set a field to be the default field (in the Loft), or how can you force focus to

Re: [perl-win32-gui-users] Treeview, Toolbar and Imagelist problem. Memory trouble?

2004-11-28 Thread Jez White
Hi, A quick reply - I'll have a proper look tomorrow. This sounds like a scoping issue. Take the line: $ExplorerImageList-Add(new Win32::GUI::Bitmap(file_folder.bmp)); This will add a newly created bitmap to the image list - but the bitmap will be destroyed by Perl since it thinks the object

Re: FW: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-23 Thread Jez White
:[EMAIL PROTECTED] On Behalf Of Chris Wearn Sent: Monday, November 15, 2004 7:28 AM To: Jez White Cc: Win32-GUI List Subject: RE: [perl-win32-gui-users] Website - Code snippets gallery Hiya Jez, I agree that a Win32::GUI cookbook would be a great idea, available as a document that you can print out

Re: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-15 Thread Jez White
There are many examples / small snippets of code that could serve as examples to others, we just need a place to easily store and collectively showcase them. Something like a forum (I run one using phpBB). Is there any way of doing this on Sourceforge or some other place where people can paste

Re: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-15 Thread Jez White
From: Chris Williams I've got some scripts I can post, has a lot of examples in it, settings, auto updating, custom colors for everything, embedded images and everything, if you want to see it, let me know, I'll make it as an attachment. Go for it - the more examples the better - if they are

Re: [perl-win32-gui-users] Website - Code snippets gallery

2004-11-15 Thread Jez White
I'll probably regret saying this, but there should be a lot less TDB in the Version 1 documentation. Almost all methods, functions, and events should now be documented (thanks to Steve and Laurent). Although it would be nice to have a couple of examples for each class:) Cheers, jez. -

Re: [perl-win32-gui-users] Rounded ToolTips

2004-11-12 Thread Jez White
Hi Chris, Sorry, but my reply isn't going to be that helpful:) If you couldn't get this working, I would suggest you create a feature request via: http://sourceforge.net/projects/perl-win32-gui/ I'm sure someone will get around to it eventually:) Cheers, jez. - Original Message -

Re: [perl-win32-gui-users] How to write a Wizard?

2004-10-26 Thread Jez White
Hi, Yes, it's possible to write a Wizard using Win32::GUI, and once you've added the XP style manifest to your binary (or to perl) your application will look like any other under XP. I would suggest using the latest version of Win32::GUI from sourceforge. With you mentioning perl QT and

Re: [perl-win32-gui-users] About time for a release?

2004-09-27 Thread Jez White
Hi, I too think there should be a new release. I've been using the latest dev version for several months with no problems. For those who don't know this version contains many new events and methods as well more/better documentation. There was talk of bumping the version number up to release 1.0

Re: [perl-win32-gui-users] Working with threads

2004-08-19 Thread Jez White
Hi, [snipped code] This works, but the problem is when I exit the program, I get this warning printed to STDOUT: d:\gui100.pl A thread exited while 2 threads were running. Anyone know how stop this? Also, now that I have 5.8, I hope to be able to use threads more often. Can anyone

Re: [perl-win32-gui-users] How to change window/dialogbox icon

2004-07-29 Thread Jez White
Arh - I'm using the latest dev build. You can use the latest PPM from this link: http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/index.html Cheers, jez. - Original Message - From: Eric Hansen To: 'Jez White' ; 'Frazier, Joe Jr' ; perl-win32-gui-users

Re: [perl-win32-gui-users] Problem with icons not being set properly

2004-07-23 Thread Jez White
Hi, Does this happen when you run as an exe or via the perl command line? Cheers, jez. - Original Message - From: Frazier, Joe Jr [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Friday, July 23, 2004 5:01 PM Subject: [perl-win32-gui-users] Problem with icons not

Re: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Jez White
Hi, I was just about to say you could try and hook the event - but I just had a look at MS documentation an there doesn't seem to be a right click event for a label. Surely that can't be correct?

Re: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Jez White
= [60, 20], -size = [40, 40], -text = 'some text', -onMouseDown = sub {print 'Left click';}, -onMouseRightDown = sub {print 'right click';}, ); $mainWindow-Show; Win32::GUI::Dialog(); - Original Message - From: Frazier, Joe Jr [EMAIL PROTECTED] To: Jez White

Re: [perl-win32-gui-users] AxWindow not receiving certain keystrokes

2004-07-05 Thread Jez White
Hi, I can reproduce this bug - I then did a little digging, and realised it's not a bug:) If you use the method SetSel instead of Select, you should see that it works. Apparently this is the selection method you should use when the listbox is in multiple select mode - this is a windows feature

Re: [perl-win32-gui-users] Transparent bitmaps on labels?

2004-07-02 Thread Jez White
Hi, You have to use an Icon, not a bitmap for transparencies to work - at least that is my understanding:) If you are using an imagelist to store your bitmaps, you can use the method GetIcon to create an icon which you can use in other controls (this is the approach I use). Cheers, jez. -

Re: [perl-win32-gui-users] AxWindow IE has no tabbing between textfields

2004-06-26 Thread Jez White
Hi, I've noticed this behaviour too. I am assuming that the key board presses aren't getting to the Axwindow - I've no idea if this is a bug or not. Assuming that this is the case, and you can trap these key presses in the parent window you should be able to simulate some of this functionality

Re: [perl-win32-gui-users] Working with threads

2004-06-24 Thread Jez White
Hi, Threading in Perl is arguably the weakest part of the language. I do know of successful implementations of a threaded win32::gui app, where one thread handles GUI interaction, while the other does all the work. I think if you search the list you might be able to come across a couple of

Re: [perl-win32-gui-users] -noflicker problem

2004-06-17 Thread Jez White
Hi Glenn, I've just tried this, and I have no problem - although I am using a later version of Win32-GUI. Cheers, jez. - Original Message - From: Glenn W Munroe To: perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, June 15, 2004 5:57 PM Subject:

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

2004-05-11 Thread Jez White
Hi, Has anyone tried to create an application for Win32::GUI that supports various natural languages? I've worked on production applications that had to provide this kind of support in the past, so I've got a rough idea how the whole process should work. Adding the various windows API

Re: [perl-win32-gui-users] Internationalization and Win32::GUI

2004-05-11 Thread Jez White
a little more playing. Cheers, jez. - Original Message - From: Peter Eisengrein To: 'Jez White' ; Win32-GUI Sent: Tuesday, May 11, 2004 4:50 PM Subject: RE: [perl-win32-gui-users] Internationalization and Win32::GUI If the text were to always be the same, I would say yes

Re: [perl-win32-gui-users] NEM for Pop up Menus

2004-04-27 Thread Jez White
Yep, works as you describe. I now have my first fully NEM window:) Cheers, jez. - Original Message - From: Glenn Linderman [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED] Cc: Win32-GUI perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, April 27, 2004 1:11 AM Subject: Re: [perl

[perl-win32-gui-users] SetParent and Modal Window support

2004-04-27 Thread Jez White
Hi, I've been playing with the new DoModal window support (it works really well), but came across an interesting problem. Imagine a multi window application, where each window can open the same dialogue. At the moment you specify the parent on window creation, but in this example you need to

[perl-win32-gui-users] NEM for Pop up Menus

2004-04-21 Thread Jez White
All, At the risk of asking a stupid question - how do you use NEM with pop up menus? Cheers, jez.

Re: [perl-win32-gui-users] Windows XP Problems

2004-04-19 Thread Jez White
Hi, Yeah, I've had/seen the same thing. I've also seen this problem on other GUI toolsets, so the problem is not specific to Win32::GUI. As for the solution - it may be worth searching for fixes for other toolsets, and see if it can be applied to Win32::GUI. Cheers, jez. - Original

Re: [perl-win32-gui-users] problem with Win32::GUI::AxWindow when building exe file with Activestate Perlapp

2004-03-02 Thread Jez White
Hi, I tried this will perl2exe, and it kinda worked. For some odd reason when running as an exe, none of the images in the www.perl.com displayed. Sorry I couldn't help any more. Cheers, jez. - Original Message - From: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net

[perl-win32-gui-users] A dynamic popup menu example

2004-02-28 Thread Jez White
Thanks to Peter Eisengrein and Leonard Jacobsen for giving me the pointers to build this example. The code below creates a window with a richtext control. The richtext can be populated with strings separated by commas. When the menu button is clicked, a popup menu is shown, with a sub menu

Re: [perl-win32-gui-users] A dynamic popup menu example

2004-02-28 Thread Jez White
this is my understanding:) jez. - Original Message - From: Frazier, Joe Jr To: Jez White ; Win32-GUI Sent: Saturday, February 28, 2004 4:52 PM Subject: RE: [perl-win32-gui-users] A dynamic popup menu example Is that because every time you create menu, you get a new handle? I

[perl-win32-gui-users] Dynamic popup menus

2004-02-27 Thread Jez White
Hi, I've searched through the list but am unable to find an answer to the following question. I'm trying to create a (static) pop up menu with a dynamic sub menu. As an example, open internet explorer, then the tools menu. The first item in the menu is Mail and News , I want to make the sub

Re: [perl-win32-gui-users] Dynamic popup menus

2004-02-27 Thread Jez White
Synchronize -- - All Quit Where the manual entry sub menu is the dynamic one. Does this make any sense? cheers, jez. - Original Message - From: Peter Eisengrein To: 'Jez White' ; Win32-GUI Sent: Friday, February 27, 2004 2:02 PM Subject: RE

[perl-win32-gui-users] A guide for adding resources (bitmaps, binary objects and XP manifest) to your exe

2004-02-23 Thread Jez White
This mini guide will take you through the steps that I go through when I add bitmaps, binary objects and an XP manifest to my exe. These steps should work with perl2exe and perlapp. I have tried to make these steps as simple as possible, I apologies in advance if this approach turns out to be

[perl-win32-gui-users] Hook and WM_ERASEBKGND

2004-02-23 Thread Jez White
Steve, I'm still playing with rebars, and have come across an interesting problem:) To quote from msdn:

Re: [perl-win32-gui-users] Hook and WM_ERASEBKGND

2004-02-23 Thread Jez White
'in Erase'; #$mainwindow-InvalidateRect(1); my $dchandle= $mainwindow-GetDC-{-handle}; Win32::GUI::SendMessage($mainwindow, 20, $dchandle, 0); return 1; } #sub OtherErase { # print 'in other'; # return 1; #} - Original Message - From: Jez White To: Win32-GUI ; Steve Pick

Re: [perl-win32-gui-users] Shipping resources with your exe

2004-02-19 Thread Jez White
, with a step by step guide on how to use it? jez. - Original Message - From: Steve Pick To: Jez White ; Win32-GUI Sent: Wednesday, February 18, 2004 10:40 PM Subject: Re: [perl-win32-gui-users] Shipping resources with your exe I'd find this functionality kinda handy

[perl-win32-gui-users] Rebar and toolbar revisited

2004-02-19 Thread Jez White
Hi, For a while I've been playing with rebars, with the goal of ending up with something like the attached image... With the recent (excellent) additional methods/styles to the toolbar, I went back to the rebar, and tried to add a tool bar to it. I couldn't get the toolbar to work when it is

Re: [perl-win32-gui-users] Rebar and toolbar revisited

2004-02-19 Thread Jez White
Ok - I'm getting somewhere:) I've managed to set a toolbar direct - but it causes oddness... As a base I'm going to try and get the rebar example in the page below working: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/rebar/rebar.asp The C code

Re: [perl-win32-gui-users] Commited a LoadResource function

2004-02-19 Thread Jez White
Hi, I've tested this and it works great (I'm using perl2exe). I built and modified the exe under XP, and have tested it on a win98 box. I added a png image to my exe, which is extracted by Win32::GUI::LoadResource and displayed as the splash screen. I've also added single bitmaps which are

Re: [perl-win32-gui-users] Status bar Parts method bug.

2004-02-16 Thread Jez White
Arh. Simple. Apologies. Thanks for improvements to the parts methods - will be handy:) Cheers, jez. - Original Message - From: Stephen Pick To: Jez White ; Win32-GUI Sent: Monday, February 16, 2004 10:51 AM Subject: RE: [perl-win32-gui-users] Status bar Parts method bug

[perl-win32-gui-users] Status bar Parts method bug.

2004-02-15 Thread Jez White
Hi, I've found a bug when using the parts method in the status bar control. All the following statements fail (no error, application just exits): $status-Parts($width-200,$width-100,-1); my $temp=$status-Parts($width-200,$width-100,-1); my @temp=$status-Parts($width-200,$width-100,-1);

[perl-win32-gui-users] Re: Win32::GUI::Header use

2004-02-09 Thread Jez White
Hi, The toolbar does not work with an imagelist - this is a known issue. As for the header, I assume the parent would be the list control? cheers, jez. - Original Message - From: [EMAIL PROTECTED] To: Steve Pick ; Jez White ; perl-win32-gui-users@lists.sourceforge.net Sent

Re: [perl-win32-gui-users] AXWindow and Media Player 9

2004-02-09 Thread Jez White
Laurent, Can AxWindow/Win32::OLE be used for things like AcitiveX menu controls or is their use mainly limited to simple things? Cheers, jez. - Original Message - From: Laurent ROCHER [EMAIL PROTECTED] To: Chris Whiting [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net

Re: [perl-win32-gui-users] XP Look and Feel - Success.

2004-02-04 Thread Jez White
The only control that has problems (that I could find) with XP styles is the tab strip. The tab strip only has minor issues - other dev platforms have the same issues, so it's not specific to Win32::GUI. To get XP styles working direct with Perl you can save the attachment (perl.exe.manifest) in

Re: [perl-win32-gui-users] Memory Usage

2004-02-03 Thread Jez White
there could be lots of these windows - roughly how much memory does a window use? Cheers, jez. - Original Message - From: Stephen Pick To: Jez White ; Win32-GUI Sent: Tuesday, February 03, 2004 10:47 AM Subject: RE: [perl-win32-gui-users] Memory Usage Yep, there's

[perl-win32-gui-users] XP Look and Feel

2004-02-03 Thread Jez White
Hi, There have been a few mails in the past about getting XP look and feel working with Win32::GUI. I came across the following while searching for something completely different: http://search.cpan.org/~mbarbon/Wx-0.18/Wx.pm#Windows_XP_look It is an example of what need to be done for the

Re: [perl-win32-gui-users] Timer use with NEM

2004-01-30 Thread Jez White
Hi, I've altered your code slightly - and it works for me. There is a an NEM -onTimer event which is placed on the window. It handles all timers for that window - the name of the timer is passed to the handling sub. Does that make any sense? Cheers, jez.

Re: [perl-win32-gui-users] Window position

2004-01-30 Thread Jez White
Hi, You can use the methods Top and Left on the terminate event of the window. You can search this mailing list with http://sourceforge.net/mailarchive/forum.php?forum_id=3220 Cheers, jez. - Original Message - From: Hoff Miller [EMAIL PROTECTED] To:

Re: [perl-win32-gui-users] Win32::FileOp Erro with Win32::GUI

2004-01-25 Thread Jez White
Hi, What version of Perl are you using? Threading support is dodgy is most versions...If you are not on 5.8.2, it may be worth upgrading to that version. I'm not sure if 5.8.3 is available as a binary yet, but that version is meant to be better for threading. You will also need to check what

Re: [perl-win32-gui-users] Win32::FileOp Erro with Win32::GUI

2004-01-25 Thread Jez White
PROTECTED] To: Jez White ; Steve Pick ; perl-win32-gui-users@lists.sourceforge.net Sent: Sunday, January 25, 2004 11:49 AM Subject: Re: [perl-win32-gui-users] Win32::FileOp Erro with Win32::GUI Jez, I am using perl 5.8.2 (activestae) and Win32:GUI 0.67 and perl2exe 8.0 for perl 5.8

Re: [perl-win32-gui-users] Rebar - InsertBands - MultipleButtons

2004-01-23 Thread Jez White
Hi, Some good news and some bad news... The bad. To me the outlook rebar control looks like it contains a toolbar which contains the icons/text and separators. I have yet to get a toolbar to work correctly with the rebar...The toolbar control itself has various methods/features missing (hottrack

[perl-win32-gui-users] Re: Rebar - InsertBands - MultipleButtons

2004-01-23 Thread Jez White
, jez. - Original Message - From: Chris Wearn [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED] Cc: Win32-GUI List perl-win32-gui-users@lists.sourceforge.net Sent: Friday, January 23, 2004 3:55 PM Subject: RE: Rebar - InsertBands - MultipleButtons Hi Jez, Hey works for me

[perl-win32-gui-users] Re: Rebar - InsertBands - MultipleButtons

2004-01-23 Thread Jez White
Arh. I understand now. The -bitmap option is used to paint the background of a band, not for specifying a bitmap/button control. jez. - Original Message - From: Chris Wearn [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED] Cc: Win32-GUI List perl-win32-gui-users@lists.sourceforge.net

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Jez White
Steve, I think I have found some missing events (for graphics) but before I create any bug reports I'd like to check the XS code - but were should I look? Cheers, jez. - Original Message - From: Steve Pick [EMAIL PROTECTED] To: Jez White [EMAIL PROTECTED]; perl-win32-gui-users

Re: [perl-win32-gui-users] win32-gui 0.670 and perl2exe

2004-01-20 Thread Jez White
Hi, For whats it's worth I dont have any problem. What version of perl2exe are you using? cheers, jez. - Original Message - From: Grzegorz Uszynski [EMAIL PROTECTED] To: Win32-GUI perl-win32-gui-users@lists.sourceforge.net Sent: Monday, January 19, 2004 11:25 PM Subject:

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-20 Thread Jez White
I'de like to use NEM more - but I am finding some events missing. So it the NEM slightly faster as well? Aldo was talking about another model - is this just an enhancement of NEM? jez. - Original Message - From: Stephen Pick [EMAIL PROTECTED] To: [EMAIL PROTECTED];

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-20 Thread Jez White
in a position to comment on code clarity :) ). Steve - Original Message - From: Jez White [EMAIL PROTECTED] To: Stephen Pick [EMAIL PROTECTED]; [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, January 20, 2004 11:20 AM Subject: Re: [perl-win32-gui-users

Re: [perl-win32-gui-users] Statusbar example

2004-01-19 Thread Jez White
Hi, The code below creates a status bar with 3 parts. If run in the samples directory, will place an icon in one of the parts. Cheers, jez. use Win32::GUI; use strict; my $Icon = new Win32::GUI::Icon(camel.ico); my $W = new GUI::Window( -title= Win32::GUI::status

[perl-win32-gui-users] Rebar take 3 - the example

2004-01-19 Thread Jez White
Forgot the example - I need a coffee:) == use Win32::GUI; use strict; #create a dummy menu my $Menu = new Win32::GUI::Menu( File = File, New, Open, Save, Save As, Close, ); #create the main window my $mainwindow = new

Re: [perl-win32-gui-users] Yet Another CVS Commit...

2004-01-16 Thread Jez White
Quick question. If I wanted to use a scroll bar for part of the window - say, within a tabstrip, would the approach be to create another window and apply the scroll bar to that? Cheers, jez. - Original Message - From: Steve Pick [EMAIL PROTECTED] To: Win32 GUI Users

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

2004-01-16 Thread Jez White
Deselect() method (for use when the list is in multiselect mode). The problem of adding functionality to an existing method is that you run the risk of breaking somebody else's code and the problem of adding methods is, as Jez White suggested, you bloat the module with selfish code (by the way

[perl-win32-gui-users] Scroll bar example

2004-01-16 Thread Jez White
Hi, The example below will only work on the latest code line from CVS. I'm trying to get my head round using scroll bars. In my test example I want to create a window containing one tab strip. In the tab strip there will be a child window containing a scroll bar and 10 buttons. Scrolling the

Re: [perl-win32-gui-users] Scroll bar example

2004-01-16 Thread Jez White
not lose focus and everything would be hunky dory. Using a child window in this manor would also make sense when attaching a child window to a band in the rebar control. Or am I just way off the mark here?:) Cheers, jez. - Original Message - From: Stephen Pick To: Jez White ; Win32

Re: [perl-win32-gui-users] Scroll bar example

2004-01-16 Thread Jez White
Without meaning to continue the MDI debate - isn't it a dead design methodology? :) I suspect, that I may have confused the situation with me talking about child windows within windows. If Laurent manages to do a new build on the weekend so more of us can get involved in all the new changes, I'll

Re: [perl-win32-gui-users] Scroll bar example

2004-01-16 Thread Jez White
Impressive. It'll take me a bit longer to understand what is actually going on:) This is *really* useful. This example should be included in the next build. Thanks, jez. - Original Message - From: Steve Pick To: Jez White ; Win32-GUI Sent: Friday, January 16, 2004 7:24 PM

  1   2   >