Re: [perl-win32-gui-users] no alarm() in Win32, any work-arounds?

2005-05-28 Thread Jez White
Hi, This is not exactly a Win32::GUI question but a Win32 perl question: Today I became the 146,037th perl programmer to discover that Win32 totally ignores the alarm() function and SIG{ALRM} signal. Not even Time:HiRes ualarm() works. Unbelievable. So are there any clever work-arounds? I s

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

2005-05-27 Thread Jez White
Jez White wrote: For those that don't know what a "Coolbar" is - see the attached image:) this one looks similar to Win32::GUI::Rebar, which is already in the package. I don't remember if you can stick a menu bar in a Rebar, but maybe some of you could take a look at

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 multi-

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 MouseRight

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

2005-05-13 Thread Jez White
That option is supposed to enable tabbing between widgets (at least), and is one of the main differences between creating a window and creating a dialog box. Without it, you generally _must_ use the mouse to select widgets. Hummm - this sounds like a bug then. I've created a tracker item fo

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

2005-05-12 Thread Jez White
Ok - this might be a simple solution:) Comment out the line "$mainwindow -> {-dialogui} = 1;" and it works... I dont know what this option does, so I'm not sure it this would be a good solution for you. Cheers, jez. - Original Message - From: [EMAIL PROTECTED

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 d

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 t

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

2005-05-07 Thread Jez White
Hi Ariel, As a guess this could be a scoping issue. When your app is shutting down, various Perl variables will be destroyed and where appropriate, they will call the destructors "elsewhere" (in the xs code), i.e., your main window might be getting destroyed before your control (or vice versa)

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
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 docu

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 Win32::GU

[perl-win32-gui-users] Polygon, PolyBezier, PolyBezierTo, Polyline all cause a crash

2005-04-06 Thread Jez White
Hi, I've just noticed that all the above methods for the DC cause a crash - has anyone ever had these methods working? Cheers, jez.

[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] New GridLayout.pm

2005-04-03 Thread Jez White
Hi, I never knew this object was part of Win32::GUI:) I've never used it, so I can't test it - but I can check it in - is this OK with everyone? Cheers, jez. - Original Message - From: "Alexander Romanenko" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 30, 2005 10:49 AM Subject:

Re: [perl-win32-gui-users] Patches for toolbar.xs and Hook()ing WM_NOTIFY

2005-03-24 Thread Jez White
I have been struggling with getting drop-down menus from toolbar buttons working. I'm nearly there, but not quite. I'll post separately to share my finding once I have some tidier working code. I've found a number of problems that need fixing in the XS source (some related to drop-down me

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) $obj->

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 pas

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

2005-03-18 Thread Jez White
I beg to differ. The documentation (Trackbar.html) says: *|Pos([VALUE],[REDRAW=1])|* Set or Get maximum logical position for the slider in a trackbar Which I take to mean that the default for REDRAW is 1, and that you have to explicitly pass 0 not to redraw. It would certainly be logica

Re: [perl-win32-gui-users] Possible Bug with DoModal

2005-03-17 Thread Jez White
Hi, Interesting one - I don't use DoModal much, but I use it like your example - it does seem odd behaviour, and I can't see any thing that is wrong. Perhaps it is a bug? Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005

Re: [perl-win32-gui-users] BUG REPORT: [ 1164783 ] EnumMyWindows() does not work

2005-03-17 Thread Jez White
Hi, Now this is a bug - and I think I've fixed it (been committed - also added WaitMessage function). I'm not 100% sure I've considered all possible situations - for those interested the fixed code is below. Comments anyone? Cheers, jez. -- GUI.xs ##

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

2005-03-17 Thread Jez White
Hi, I'm not sure if this is a bug, but a "feature":) The docs seem to imply that if you want the control to redraw then you have to explicitly pass 1. Thoughts anyone? Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 8:4

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: Sent: Wednesday, March 16, 2005 8:29 PM Subject: [perl-win32-gui-users] BUG REPORT[1164

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

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

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}; > >> > >> inste

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

2005-02-17 Thread Jez White
Quoting Robert May <[EMAIL PROTECTED]>: > I'd love to get rid of the Win32::API dependency > - you'll see it listed > as one of the TODO items in the comments at the > start of Hyperlink.pm. > I had missed that SetCapture and ReleaseCapture > were already there - I > guess I searched the sourc

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

2005-02-08 Thread Jez White
Well, I'm not really an expert on Hook, but not propagating die sounds like a bug. I'd be curious to know how you fixed it. As you can imagine the fix wasn't difficult, or I wouldn't have been able to do it:) My use of the word "propagating" was probably misleading. When an event is run, an

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,

[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 t

[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

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

2005-01-27 Thread Jez White
Hi, Yes, the treeview/tabstrip is possible and is quite easy - I actually use this arrangement in one of my apps:) Just create both controls as you would normally, and position them in the layout you require. The samples directory should really be part of the binary - but it's part of the sou

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-

[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

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

2005-01-10 Thread Jez White
inDrag(0,0,0); Win32::GUI::ImageList::DragEnter($winMain,$x, $y); $drag=1; return 1; } sub lvwChart_MouseMove { my ($x,$y)[EMAIL PROTECTED]; if ($drag) { Win32::GUI::ImageList::DragMove($x, $y); } return 1; } sub lvwChart_MouseUp { if ($drag) { Win32::GUI::ImageList::EndDrag();

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

2005-01-10 Thread Jez White
Re: [perl-win32-gui-users] Listview Control functionality - Drag n Drop - Email found in subjectYeah sorry - it should have been BeginDrag:) - Original Message - From: Lloyd, Steve To: Jez White ; Chris Wearn ; perl-win32-gui-users Sent: Monday, January 10, 2005 4:29 PM

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

2005-01-10 Thread Jez White
PROTECTED]; if ($button==0) { print 'Left button dragging'; } else { print 'right button dragging'; } } In other words the second parameter is true (1) if it dragged by the right mouse button. Thoughs? Cheers, jez. - Original Message - From: "Lloyd, S

Re: [perl-win32-gui-users] Listview Control functionality - Drag n Drop

2005-01-08 Thread Jez White
Hi Chris, There are quite a few other Methods that appear on the MSDN site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/listview/listview_message_processing.asp What is required or is there anything that prevents these methods being implemented (b

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: Sent: Friday, January 07, 2005 8:04 PM Subject: [perl-win32-gui-users] Windows not dis

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

2004-12-31 Thread Jez White
erl -V for more detail) Copyright 1987-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"

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: Cal

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 vir

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=detail&aid=1064828&group_id=16572&atid=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] 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 separat

[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" wi

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: Sent: Tuesday, December 14, 2004 5:28 AM Subject: [perl-win32-gui-users] PERL Win32 and Perl Ver

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

2004-12-12 Thread Jez White
Hummm - I'm temped to say that it's something to do with the bitmap - could you send me a copy of list and I'll have a look? Cheers, jez. - Original Message - From: "Brian Millham" <[EMAIL PROTECTED]> To: "'Jez White'" <[EMAIL P

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 added

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

2004-12-03 Thread Jez White
al Message - From: Glenn W Munroe To: 'Jez White' ; 'Win32-GUI' Sent: Thursday, December 02, 2004 7:07 PM Subject: RE: [perl-win32-gui-users] Pre selecting items in list Views and List Boxes Yes, but that's just focus. Adding $mainWindow->ListVie

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

2004-12-02 Thread Jez White
ginal 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

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

2004-12-02 Thread Jez White
on't think they are exact equivalents 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

[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 => [

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

2004-12-02 Thread Jez White
Hi, I'm trying to pre select several items that appear in a list view. These items have been selected by the user previously, so when the list is reshown later I want those items to be pre-selected. The example below works with a list box - but for the life of me, I can't seem to get it working

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 intera

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

2004-11-29 Thread Jez White
f from the C backend, you call a funtion 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]&

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 ob

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: 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 th

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

2004-11-24 Thread Jez White
I think you guys are right. There probably is a very limited market, but on the other hand I think a book itself will generate publicity. This is how I see it as and why i think publishing is useful. 1a) the book would generate is own publicity and with this some 1) There are many perl "hackers"

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

2004-11-23 Thread Jez White
points you to the Calendar Class > or the DateFormat class. One would logically think that these two > classes would be subclasses so that you can pass these to a method that > takes a date, but no You have to convert to a date object > explicitly. Stupid Java > > >&

Re: [perl-win32-gui-users] Problems with background color

2004-11-18 Thread Jez White
Hi, Yes it does work - but only if you create a class, and attach it to the window - there doesn't seem to be a way to change the color once the window has been created - I've been playing with this in the last week or so:) The code below creates a green child window. Cheers, jez.

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. - O

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 ar

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] Rounded ToolTips

2004-11-12 Thread Jez White
d=1065072&group_id=16572&atid=366572 Cheers, jez. - Original Message ----- From: Jez White To: Chris Williams ; perl-win32-gui-users@lists.sourceforge.net Sent: Friday, November 12, 2004 10:35 AM Subject: Re: [perl-win32-gui-users] Rounded ToolTips Hi Chris, So

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 Card

Re: [perl-win32-gui-users] Got NotifyIcon but no events :(

2004-10-09 Thread Jez White
Hi, I've had a quick play with this, and it seems that you need to use AddNotifyIcon rather than Win32::GUI::NotifyIcon->new - I guess that the NotifyIcon needs to be associated to a window. This may, or may not be a bug:) The following code does what you want (I think): Cheers, jez. -

Re: [perl-win32-gui-users] Help? Bitmap not showing up!

2004-10-04 Thread Jez White
You'll kick yourself:) I've been stung with something similar. Your problem is related to scope. The bitmap is created correctly, but when InitGUI finishes $logoBitmap is destroyed resulting in no bitmap being displayed. If $logoBitmap is global, it will work:) Cheers, jez. - Original M

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

2004-09-27 Thread Jez White
o it may be worth emailing him direct if you want to be added as a developer? Cheers, jez. - Original Message - From: "Glenn W Munroe" <[EMAIL PROTECTED]> To: "'Jez White'" <[EMAIL PROTECTED]>; "'Blair Sutton'" <[EMAI

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 anyo

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'

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

2004-07-29 Thread Jez White
Hi, You can use the GetIcon method of an ImageList object to return an icon from the original bitmap. You have to create the imagelist and load the bitmap into it first - a bit convoluted, but it does work. Cheers, jez. - Original Message - From: Frazier, Joe Jr To: Eric Hanse

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: Sent: Friday, July 23, 2004 5:01 PM Subject: [perl-win32-gui-users] Problem with icons not being set properly I have a program

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

2004-07-08 Thread Jez White
27;;}, -onMouseRightDown => sub {print 'right click';}, ); $mainWindow->Show; Win32::GUI::Dialog(); - Original Message - From: "Frazier, Joe Jr" <[EMAIL PROTECTED]> To: "Jez White" <[EMAIL PROTECTED]>; Sent: Thursday, July 08, 2004 1

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? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/staticcont

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. - O

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 (c

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 examp

Re: [perl-win32-gui-users] Win32::GUI::DIBitmap usage (Paste/Composite methods)

2004-06-22 Thread Jez White
Hi, I used to use GD Win32::GUI::DIBitmap, but I have just recently switched to using the native Bitmap functions within Win32::GUI. The size of my exe was reduced, and performance actually went up too! >From your code, it looks like you can do all of this with the standard methods for the DC and

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-user

Re: [perl-win32-gui-users] Window / Dialogbox scrollbars

2004-06-17 Thread Jez White
Hi, I can confirm that scrollbars work, and work well. Your almost there - it took me a while to understand how it all works:) In windows, scroll bars are really nothing more than dressing and you are responsible for updating and changing the client area as scrolling takes place. There are a cou

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

2004-05-11 Thread Jez White
correct strings will be brought in at runtime. French on a French machine, Spanish on a Spanish machine...Instant internationalization:) I'll do a little more playing. Cheers, jez. - Original Message - From: Peter Eisengrein To: 'Jez White' ; Win32-GUI Sent: Tuesday

[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 internat

[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 be

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" Sent: Tuesday, April 27, 2004 1:11 AM Subject:

[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 Messag

Re: [perl-win32-gui-users] getting updown -range option to work?

2004-03-24 Thread Jez White
Hi, I've never used the updown control, so I can't help directly. I have used the scroll events quite a lot, so I may be able to help there. Could you give a little more detail on what you are trying to do? Cheers, jez. - Original Message - From: "John Schlick" <[EMAIL PROTECTED]> To:

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: Sent: Tuesday, March 02, 2004 12:01 AM Sub

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 handl

[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 cont

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

2004-02-27 Thread Jez White
-- From: Peter Eisengrein To: 'Jez White' ; Win32-GUI Sent: Friday, February 27, 2004 5:26 PM Subject: RE: [perl-win32-gui-users] Dynamic popup menus Yes, that much I know!!! my $Menu = new Win32::GUI::Menu( "&Menu" => "Menu", "

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

2004-02-27 Thread Jez White
RE: [perl-win32-gui-users] Dynamic popup menusHummIs it even possible to create a sub menu at all? - Original Message - From: Jez White To: Peter Eisengrein ; Win32-GUI Sent: Friday, February 27, 2004 2:14 PM Subject: Re: [perl-win32-gui-users] Dynamic popup menus Hi

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

2004-02-27 Thread Jez White
Entry 1 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:0

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

2004-02-27 Thread Jez White
TreeView problemHi, Steve fixed a bug with the treeview about 10 days ago which may fix your problem - can you build your own Win32::GUI? See the following link for more details: http://cvs.sourceforge.net/viewcvs.py/perl-win32-gui/Win32-GUI/TreeView.xs?only_with_tag=Win32-GUI-0_0_665-Fix chee

  1   2   >