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] Forcing focus on a field

2004-11-28 Thread Brian Millham
I just found that if you try to use SetFocus in the Activate event, it doesn't appear to work. Using SetFocus just before using DoModal for the window does work. Any ideas why it doesn't work in the Activate event? Brian Millham This message traveled at least 44,000 miles to reach you! [EMAIL

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

2004-11-28 Thread Roelof Bos
Hi, I have this test application (see attachment) with a toolbar and a treeview. The treeview lists the drives an files on my computer. The toolbar just contains 10 test buttons with images. The treeview and toolbar theirselfs seem to work fine. But if I expand an item in the treeview twice

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

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

2004-11-28 Thread Roelof Bos
A quick reply - I'll have a proper look tomorrow. Great! 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

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

2004-11-28 Thread Harlan Carvey
Jez, Do you have examples of this? Thanks, Harlan --- Jez White [EMAIL PROTECTED] wrote: 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