saw one suggestion of using
What where you planning on using the alarm function for? I can think of a
potential work around, but it would depend on what you were planning:)
Cheers,
jez.
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
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
For those that don't know what a "Coolbar" is - see the attached image:)
coolbar.png
Description: Binary data
e source you'll find a couple
of scripts in \Win32-GUI\docs if you run dodoc.pl and dohtml.pl they will
build all the documents.
Perhaps it would be a good idea to have a zip file on the sourceforge site
that contains all the doco?
Cheers,
jez.
item for it:
http://sourceforge.net/tracker/index.php?func=detail&aid=1201190&group_id=16572&atid=116572
There is another bug associated with -dialogui=1 - so this option needs a
good going over:)
Cheers,
jez.
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
nerally, how can I know
which events are seen by which objects?
Thanks in advance for any answer.
The code below might be able to help.
Cheers,
jez.
-
use Win32::GUI;
# main Window
$Window = new Win32::GUI::Window (
-title=> "Some Window",
-pos
re created directly on the tab strip they work fine. I'm not to
sure what to suggest - other than don't use the TabFrame package:)
Cheers,
jez.
- Original Message -
From: [EMAIL PROTECTED]
To: perl-win32-gui-users@lists.sourceforge.net
Sent: Tuesday, May 10, 2005 7:52
e's a decent description of the object model here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mspauto/html/welcomemodi_hv01135783.asp
Cheers,
jez.
t the control should be:)
Have a play with undef'ing the window and controls in various orders and see
if that makes any difference.
Cheers,
jez.
- Original Message -
From: "Ariel Serbin" <[EMAIL PROTECTED]>
To:
Sent: Saturday, May 07, 2005 6:02 PM
Subject: [perl
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.
atest documentation).
I had forgot that the documentation only comes with the source, and you have
to run a script to generate HTML versions of it. This documentation should
be included in the PPM's and perhaps, on the Win32::GUI Sourceforge
homepage.
Cheers,
jez.
a separate file:) It's not an api call - it's an actual
method.
Cheers.
jez.
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.
All,
I've just committed Alexander Romanenko's changes to the GridLayout object.
Cheers,
jez.
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
and check them in).
I can do this - I'll coordinate with Robert offlist.
Cheers,
jez.
2 arguments, redraw explicitly set to 0,
redraw is not requested
The "bug" I reported is with option (2), where the current code defaults
redraw to 0. For consistency I think this should be changed. Can we
reach an agreement on this?
Sounds good to me.
Cheers,
jez.
ve to pass 1 to redraw then there is no bug
since that's what the code is expecting:)
I'm with Robert.
I do agree that it should be changed - you pass 1 to stop the redraw - and
the documentation needs to be changed so it's clear:)
Cheers,
jez.
build?
Cheers,
jez.
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:
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.
--
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:
Se
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: [p
6.1.638
and GUI version 1.0 - I've no idea what is causing it:)
Cheers,
jez.
t; using perlapp( with the options of -gui and
> -freestanding.)
>
>
> Has anyone else seen anything similar?
I havent - I use the same version of perl and I use
perlapp too. Is this a repeatable problem? Is in on a
specific version of Windows?
Cheers,
jez.
mand. It is much more flexible and powerful in
terms win32 functionality - it is also much faster (in
returning to the calling script). It also has the
benefit (in this example) that it is browser
independent - it uses the registry to determine the
which browser to use.
Cheers,
jez.
7;m surprised it hasn't been added before. An
example:
my $exitval = $win->ShellExecute
('open','http://www.perl.org','','',1);
This opens www.perl.org in the default web browser.
Cheers,
jez.
Quoting Robert May <[EMAIL PROTECTED]>:
> A quick question on process:
>
> Should potential bugs be discussed on this list
> before raising bug
> reports at sourceforge?
Id do both - at least on sourceforge it wont be
forgotten about.
Cheers,
jez.
ure and
ReleaseCapture are already in Win32::GUI. If you are
keen on this idea, I'll add GetCapture, LoadCursor
into GUI.xs. The issue would then be ShellExecute -
perhaps that should be added too?
Cheers,
Jez.
per package that
would be installed separately.
Hope that helps,
cheers,
jez.
error would be
effectively ignored.
I changed the code to call ProcessEventError on an error, and while I was at
it I moved a string comparison check in ProcessEventError to only be
performed when there is an error - which should mean that all events will
run slightly faster (we're talking by a tiny amount).
Cheers,
jez.
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,
a message to a
window, which is then picked up by hook. As you can see, the programme should
die but it continues on it's merry way.
Before I spend some time trying to fix this problem am I correct in assuming
this is a bug?
Cheers,
jez.
-
#!/usr/lo
t they I doing I'll change the return parameter to the handle
of the buddy. I'll also update some of the documentation while I'm at it.
Does anyone have issues with this?
Cheers,
jez.
the source - alternatively you can view them via CVS on sourceforge. All the
examples are 'new' and typically show new functionality working, so it may be a
good idea to refer to the old examples now again again.
Cheers,
jez.
- Original Message -
From: [EMAIL PROTECTED]
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-
h can be
fixed by keeping the control in global scope - but I'm wondering if the bug
crops up in other cases?
Thoughts?
Cheers,
jez.
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 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
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
int "perl dragging $item \n";
}
So, now you know what item is being dragged, you'll need to use the methods
in the imagelist control to make a dragable image. Once the user releases
the mouse you'll know where the item was dragged to.
And that should be it:) I think.
Hope this helps somewhat.
Cheers,
jez.
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] Windo
included in the
binary for some reason.
Cheers,
jez.
C:\development>cd Win32-GUI-1.0-PPM-5.6
C:\development\Win32-GUI-1.0-PPM-5.6>ppm install Win32-GUI.ppd
Installing package 'Win32-GUI.ppd'...
Installing C:\Perl\site\lib\auto\Win32\GUI\GUI.dll
Installing C:\Perl\site\lib\au
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 -
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
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 Me
e site:
http://sourceforge.net/tracker/index.php?func=detail&aid=1086958&group_id=16572&atid=366572
Cheers,
jez.
owser" with all the events
etc)? The following link contains a pure C example (so it should work under XS):
http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4379/
Thoughts?
Cheers,
jez.
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
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
ld be added
directly to win32::gui?
Cheers,
jez.
- Original Message -
From: "Brian Millham" <[EMAIL PROTECTED]>
To:
Sent: Sunday, December 12, 2004 1:58 AM
Subject: [perl-win32-gui-users] The splashscreen example
I've tried to use the Splash Screen example that Jez
Thanks for this Glenn. You are correct, it was the focus.
I still can't get it working within my app - the code that uses Select is being
called from a tab strip event (which shows the listview) - so perhaps it has
something to do with that. I'll do more digging.
jez.
- Origin
Interesting - it does work - although the selected items are grey not blue (but
if a third item is selected by clicking and holding shift, they all turn blue)
- this is using XP styles - do you get the same?
Now, as for why it doesn't work in my main app...
Thanks,
jez.
- Ori
Hi Glenn,
Yeah - I tried that - but no joy - if Select is used in the list box it doesn't
work either. Well, it doesn't work when the -multisel option is used, and only
1 row is selected when it's turned off.
Cheers,
jez.
- Original Message -
From: Glenn W Mun
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 => [
to get it working with a list view? Am I
missing something?
Cheers,
jez.
--
.
#
# The correct usage is:
# $window->DoModal();
#
# See also Dialog()
# See also DoEvents()
Cheers,
jez.
- Original Message -
From: "Mark Nettlingham" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 30, 2004 11:33 AM
Subject: [perl-win32-gui-users] Aw
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]&
by Perl since it thinks the object is not used any longer.
Having the bitmaps in a global var should solve your problem.
Cheers,
jez.
- Original Message -
From: "Roelof Bos" <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 28, 2004 5:04 PM
Subject: [perl-win32-gui-us
us to a field of choice?
Can you use the method SetFocus?
cheers,
jez.
ia windows SendMessages.
Cheers,
jez.
bute, and my spare time is
limited - but drop me a mail of list if need be.
Cheers,
and good luck,
jez.
they didn't know win32::gui existed. If for example, win32::gui was
included in all activestate win32 distributions, then you would be a ready
made market!
Good luck,
Cheers,
jez.
- Original Message -
From: "Alex Lee" <[EMAIL PROTECTED]>
To: "Win32-GUI Li
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.
Ch
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:)
the better - if they are standalone, and if
you want them committed to cvs, let me know and I'll add them.
Cheers,
jez.
ted an example, and have added to CVS - the code is also below. The
only thing you need to do is to have a bitmap of some description - I was
going to add a bitmap to CVS so the script would run, but I don't think the
world is ready for my art skills:)
Cheers,
jez.
-
use
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
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.
- O
erl QT and CardLayout, you'll probably want to look at
using the GUI Loft to actually design your windows. It should be then a
simple enough job to convert your TK scripts.
http://www.bahnhof.se/~johanl/perl/Loft/
Cheers,
jez.
- Original Message -
From: <[EMAIL PROTECTED]>
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):
Chee
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.
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
elease 1.0 - something
to do with the activestate repository?
Cheers,
jez.
- Original Message -
From: "Blair Sutton" <[EMAIL PROTECTED]>
To: "perl Win32::GUI Users" ;
"perl Win32::GUI Hackers" <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 200
typically want a worker thread to do the 'work', and report the 'results'
back to the gui when complete. There are "work arounds" to this problem
(serialisation) but I gave up in the end.
Hope you have better luck than I did.
Cheers,
jez.
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'
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
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
x27;m not sure when this
code went in, so if it doesn't work for you you'll have to get the latest
PPM from Laurent's site:)
Cheers,
jez.
use Win32::GUI;
my $mainWindow = new Win32::GUI::Window (
-name => "mainWindow",
-title=> "Testing",
m/commctls/staticcontrols/staticcontrolreference/staticcontrolmessages/stn_clicked.asp
Perhaps another solution would be to trap the right click in the parent
window, and use the mouse coordinates to see if the pointer is over the
label.
Cheers,
jez.
- Original Message -
From: "Frazier,
ature (!?) not a
win32::gui feature.
Cheers,
jez.
- Original Message -
From: "Frazier, Joe Jr" <[EMAIL PROTECTED]>
To:
Sent: Saturday, July 03, 2004 3:27 PM
Subject: RE: [perl-win32-gui-users] AxWindow not receiving certain
keystrokes
I am having trouble selecti
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
the parent window in response to key
presses etc.
Hope this is of some help,
Cheers,
jez.
- Original Message -
From: "Brad Smith" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 25, 2004 6:43 PM
Subject: [perl-win32-gui-users] AxWindow IE has no tabbing between
textfields
make the whole
exercise rather futile!
Hope that is of some help...
Cheers,
jez.
- Original Message -
From: "Brad Smith" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 23, 2004 11:49 AM
Subject: [perl-win32-gui-users] Working with threads
> Yesterday, after finis
DC and Bitmap objects.
Cheers,
jez.
- Original Message -
From: "Pavel" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, June 22, 2004 3:53 AM
Subject: [perl-win32-gui-users] Win32::GUI::DIBitmap usage (Paste/Composite
methods)
> Hi All,
>
> I am trying to create a new
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-win3
. You then simply move the window up and down as the scroll
bars are moved.
Hopefully this made some sense!
Cheers,
jez.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 16, 2004 9:20 PM
Subject: [perl-win32-gui-users] Window / Dialogbox scro
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
oughts? Would anyone find this kind of functionality useful?
Cheers,
jez.
=
use Win32::GUI;
use strict;
my $Win = new Win32::GUI::Window (
-pos => [100, 100],
-size=> [330, 235],
-name=> "Window",
-text=> ":
he correct approach?
Thoughts anyone?
Cheers,
jez.
=
use Win32::GUI;
use strict;
#Create 2 main windows
my $Win = new Win32::GUI::Window (
-pos => [100, 100],
-size=> [330, 235],
-name=> "Window",
-text=> &qu
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:
All,
At the risk of asking a stupid question - how do you use NEM with pop up menus?
Cheers,
jez.
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.
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" &l
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, 20
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
number of items in the menu). This can be
minimised by only recreating the menu when you actually need to.
* Using Menus and the NEM in the same window.
Comments, thoughts?
Cheers,
jez.
==
use Win32::GUI;
use strict;
my $menu; #The menu
my @colors; #A list of the colors in the popup
RE: [perl-win32-gui-users] Dynamic popup menusEasy when you know how:) Thanks,
that's saved me hours of playing around.
So it looks like I'll have to completely recreate my whole menu tree rather
than just the sub menu.
Cheers and thanks again,
jez.
- Original Message ---
1 - 100 of 174 matches
Mail list logo