I see. Do you have a list of the corresponding icon, button, and modality
values?
erick
never stop questioning
www.jeb.ca
- Original Message -
From: Thomas, Timothy B
To: 'perl-win32-gui-users@lists.sourceforge.net'
Sent: Tuesday, January 23, 2001 11:09 PM
Subject: RE: [perl-
Here you go Bart. This shows how to implement a combobox. Well, at least I hope
this is what you want. If it isn't just personally email me.
erick
never stop questioning
www.jeb.ca
combobox.pl
Description: Binary data
Couldnt you just pass the mailto: link on to the web browser just like a
normal link?
-
__
"Old programmers never die...they just get a fatal error."
Erick - the function I was using was out of the Win32 module, not
Win32::GUI, that explains the differences.
to get the method I use to work you would need: use Win32, as well as
use: Win32::Gui.
Tim
Tim,
I tried your way and I got a runtime error, "Undefined subroutine
&Win32::MsgBox called at ...". However, if I call the method MessageBox() on a
window object, it's all good. Halfway through this email I realized what you
did wrong; shouldn't it be:
Win32::GUI::MessageBox(
0,
"Do y
Win32::MsgBox("Text", 0, "title");
or
$result=Win32::MsgBox("Do you want to do this?", 4, "Title");
if ($result==6) #yes is clicked
{
#do this stuff
}
-
Tim Thomas
Unix Systems Administrator
Lo
Sorry, I just found out how to do it.
- Original Message -
From: Erick J. Bourgeois
To: perl-win32-gui-users@lists.sourceforge.net
Sent: Tuesday, January 23, 2001 10:01 PM
Subject: [perl-win32-gui-users] MessageBox?
Is there a MessageBox constructor? I remember seeing this
Is there a MessageBox constructor? I remember seeing this idea somewhere, but I
can't find it any more.
erick
never stop questioning
www.jeb.ca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I didn't say anything before (about the html thing) because it really
didn't matter, but in this case it does.
You don't really want to find file extensions in the registry, you
want to find service providers. It's an academic point with html, but
w
It worked Jonathan, thanks. I put the Select method before I inserted the items
:)
erick
never stop questioning
www.jeb.ca
Erick,
No, actually I meant what I thyped:
$HostName ->Select(0);
It works for me.
Make sure you place that before your Win32::GUI::Dialog() call or somewhere
where it will get called from a specific sub.
Try this short code and see if it works:
=
use Win3
Aldo Calpini schrieb:
> BTW, I'm not sure yet that 0.0.558 is stable enough for a
> PPM distribution. I would like to get some feedback from
> 'people with a C compiler' that can build the module and
> test it, before giving it out to everybody.
Ah, you mean me :)
okay:
using my selfbuilt MSVC -
Johnathan,
Do you mean $HostName ->Select[0];
I tried both ways, both don't work.
erick
never stop questioning
www.jeb.ca
Sorry, I meant Erick! ;]
Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
[EMAIL PROTECTED]
- Original Message -
From: "Erick J. Bourgeois" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 23, 2001 1:44 PM
Subject: [perl-win32-gui-users] Combobox
> Wh
BAD MSG:
ric,
Add the following to your code:
$HostName ->Select(0);
Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
[EMAIL PROTECTED]
- Original Message -
From: "Erick J. Bourgeois" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 23, 2001 1:44 PM
S
Why is it that in the following Combobox:
$HostName = $MainWin->AddCombobox(
-name => "HostName",
-tabstop => 1,
-style=> WS_VISIBLE | 2 | WS_NOTIFY,
-left => 205,
-top => 10,
-width=> 110,
-height => 160,
);
$HostName->InsertItem ("ftp.server1.c
Aldo - pretty cool, did you just implement that?
I seem to be getting a not-very-descriptive error when I try your
code. See below.
Tim
D:\Archive\scripts\completed\digitaltool>perl aldourl.gpl
Wrong number of parameters: expected 0, got 2.
BEGIN failed--compilation aborted
Just to tell you Thomas, emails in Outlook have the ending
.eml
> Deviating from Win32-GUI somewhat:
> Next step is to figure out how to mimik a
"mailto:"; for the e-mail
> link. Should be easy, once we figure out how to determine
what the default
> e-mail program is. Not sure what assicat
Thomas, Timothy B wrote:
> Is there a way to imbed a cursor into your code the way you
> can a bitmap?
actually not, but it should be fairly trivial to write a
Win32::GUI::CursorInline module :-)
cheers,
Aldo
__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;
Erick J. Bourgeois wrote:
> I received this message after I installed version 0.0.502
>
> Win32::GUI object version 0.0.502 does not match
> $Win32::GUI::VERSION Beta at D:
> /Perl/lib/DynaLoader.pm line 219.
> Compilation failed in require at ftp.pl line 4.
> BEGIN failed--compilation aborted at f
Thomas, Timothy B wrote:
> Sean - Thanks! That was my next step, but didn't yet have the time
> to research how to go about doing it. Didn't know it was so easy
> to implement a custom cursor like that. Your code works perfectly.
please find attached HyperLink.pm, which implements a 'regular'
Win3
i think there is actually a mailto: association in the registry
yep:
HKEY_CLASSES_ROOT\mailto\shell\open\command
-rob
"Thomas, Timothy B" wrote:
>
> Sean - Thanks! That was my next step, but didn't yet have the time to
> research how to go about doing it. Didn't know it was so easy to impleme
Is there a way to imbed a cursor into your code the way you can a bitmap?
something like this:
$cursor = new Win32::GUI::BitmapInline( q(
...
) );
$linkCursor = new Win32::GUI::Cursor($cursor);
$urlClass = new Win32::GUI::Class(
-name => "UrlLabelClass",
-extends => "STATIC",
-curso
Sean - Thanks! That was my next step, but didn't yet have the time to
research how to go about doing it. Didn't know it was so easy to implement a
custom cursor like that. Your code works perfectly.
Deviating from Win32-GUI somewhat:
Next step is to figure out how to mimik a "mailto:"; for
Christopher - it's not meant to work that way, only when you click on the
URL is it supposed to open your browser. What version of Win32-GUI are you
running? Make sure you are running the latest, I think 0.0.502 is the most
recent stable version.
---
I received this message after I installed version 0.0.502
Win32::GUI object version 0.0.502 does not match
$Win32::GUI::VERSION Beta at D:
/Perl/lib/DynaLoader.pm line 219.
Compilation failed in require at ftp.pl line 4.
BEGIN failed--compilation aborted at ftp.pl line 4.
How do I change the Dyn
[EMAIL PROTECTED] wrote:
> Aldo,
>
> I noticed that when I do a
>
> ppm install --location=http://dada.perl.it/PPM Win32-GUI
>
> I will get Win32-GUI version 0.0.502. I don't get Win32-GUI
> version 0.0.558.
>
> Are you not placing this version in your PPM repository?
gimme time! this is not an a
Erick J. Bourgeois wrote:
> Aldo, I thought I had the version just before 0.0.558,
> however when I type:
>
>> perl -MWin32::GUI -e "print Win32::GUI::Version;"
>
> it tells me it is beta.
too old. please upgrade NOW :-)
version 0.0.502, which is available as PPM package, has all
the features that
Aldo, I thought I had the version just before 0.0.558,
however when I type:
> perl -MWin32::GUI -e "print Win32::GUI::Version;"
it tells me it is beta.
erick
Erick J. Bourgeois wrote:
> I'm afraid the -minsize option does not work.
Erick, which version of Win32::GUI do you have
installed? try this command:
perl -MWin32::GUI -e "print Win32::GUI::Version;"
-resizable and -(min|max)size were added (IIRC --
If I Remember Correctly) around version 0.0.49
30 matches
Mail list logo