If I'm not mistaken, it should be like this:
$ModuleWindow->{-title} = "New Title";
Jeremy Blonde
[EMAIL PROTECTED]
--- christopher sagayam <[EMAIL PROTECTED]>
wrote:
>
> how to set the name of a dialog box dynamically ?
>
> $ModuleWindow = new Win32::GU
y, so you'll need to
convert it to use the Win32::API module. I don't know
if it's useful to anyone, but I have script that I
want to use this for and thought I'd pass the info
on...
http://www.mvps.org/vb/code/FormBdr.zip
Thanks,
Jerem
off the ShellExecute API call to load the URL.
I don't have Perl on the machine I'm using so I
haven't tried to convert it to Perl syntax yet.
Thanks,
Jeremy Blonde
[EMAIL PROTECTED]
--- Sean Healy <[EMAIL PROTECTED]> wrote:
> Never tried it or even seen anything on it, b
Last time i tried it, I could get Click to work, but
not DblClick.
Jeremy Blonde
[EMAIL PROTECTED]
--- "Thomas, Timothy B" <[EMAIL PROTECTED]>
wrote:
>
> Do the Click() or DblClick() events work for the
> Win32::GUI::Label object yet?
> My tests seem to indicate no,
sub About_Click {
Help_About_Click();
}
This creates a label that I use to fire up the about
dialog. The label is "hidden" behind a bitmap. As
long as I apply the bitmap to the background prior to
creating the label, the label's messages are received.
Jeremy Blonde
[EMA
e style is not being applied correctly.
In any case, I believe it would be better to move away
from modifying "-style" directly and instead use
"-align => center", to align the label. Or at least
use "-addstyle" or "-pushstyle" instead of just
"-style&qu
Has anyone gotten _MouseUp or _MouseDown working?
I've tried but the event doesn't seem to be called
from what I can tell.
Thanks,
Jeremy Blonde
[EMAIL PROTECTED]
__
Get personalized email addresses from Yahoo! Mail - only $35
a y
Well, I don't know if this will actually fix your
problem, but you should definitely be using
"$index[0]" instead of "@index[0]".
Just my 2 cents,
jb
--- "Erick J. Bourgeois" <[EMAIL PROTECTED]> wrote:
> I'm trying to test if any items have been selected
> in a
> listview with a button event and
>From my understanding BringWindowToTop is for Windows
not objects on a window. I did a quick search on MSDN
and it seems to indicate this too. If I'm mistaken,
please let me know.
In view of that, I wonder if BringWindowToTop is
really doing anything, perhaps it's just the Show and
Hide behavio
code
and I'll see what I'm doing differently.
Hope this helps,
jb
--- Jeremy Blonde <[EMAIL PROTECTED]> wrote:
> From my understanding BringWindowToTop is for
> Windows
> not objects on a window. I did a quick search on
> MSDN
> and it seems to indicate this too. If I'
$W->Display->SetFocus(), I believe is what you are
looking for.
I also use $W->Display->SelectAll() so that the text
is highlighted and when you start typing it wipes out
all of the previous text.
jb
--- [EMAIL PROTECTED] wrote:
> Can Anybody help here.
> At the moment I have to click on the tex
rt the
ftp transfer.
Hopefully, that explains what is happening.
Jeremy Blonde
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jeremy Aiyadurai
Sent: Monday, April 23, 2001 4:18 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] G
You are going to want to change 'exec' to 'system'. That should take care
of the problem.
Check the 'perlfunc' section of the Perl documentation to note the
differences between 'exec' and 'system'.
Jeremy Blonde
-Original Message
this exact order, otherwise the "hidden" label events would not
fire.
Code sample is below.
Jeremy Blonde
$Window = Win32::GUI::Window->new(
-name=> "Window",
-text=> $PREFS{TITLE},
-pos => [ $PREFS{LEFT}, $PREFS{TOP} ],
-size=>
e 522)
and have installed the latest Win32-GUI module (.558), Win32-API (.2). I do
know that the script works just fine under Perl 522.
Any ideas?
Jeremy Blonde
$Window->AddGroupbox(
-text => "Enter Username",
-pos => [
o long as you don't
> need to interact with
> the thing. But popping out of Perl from unnamed
> objects, we've seen that
> before here on the list.
>
> Have fun,
> Harald
>
> > -Original Message-
> > From: Jeremy Blonde [mailto:[EMAIL PROTEC
Here's what I've done. I'm not sure that this is the *correct* way of
creating the rebar but it seems to work for me. I copied it from the
example code. It does use the -style flag but I'm not sure how to do it
without setting that manually.
Jeremy Blonde
Win32::GUI::Reb
obably want to keep MSDN
or TechNet handy, as their are certain snafus that CDO
has.
Jeremy Blonde
--- Peter_Köller <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have written an application with Win32::GUI which
> connects to Microsoft
> Outlook using Win32::OLE. It gets the mails f
> [ 110, 18 ],
-tabstop => 1,
);
Also, just to demonstrate another method to applying the icon, here's how
I've done it.
$ICON = Win32::GUI::Icon->new("icon.ico");
$Window->SetIcon($ICON);
Jeremy Blonde
- Original Message -
From: <[EMAIL PROTECTED]>
I'm not quite understanding what you are asking here Pete. Are you simply
saying that you want the "$Bad_Results" window to appear every time you
click "Button_1"?
If so, then create the "$Bad_Results" window inside of the "Button_1_Click"
subroutine. If you place "my $Bad_Results;" outside of t
the source
code still exists on cpan), I'd appreciate it.
Thanks,
Jeremy Blonde
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Make sure to give all your GUI objects names.
$main->AddLabel( -text => "Hello World", -name => "HelloWorld" );
Jeremy Blonde
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 14, 2002 7:43 AM
Subject: [perl-win32-gui-users]
Or you can simply use:
$DetailSearchTXT->SelectAll();
Which will also place the entry into replace/overwrite mode.
Jeremy Blonde
- Original Message -
From: "Eric Hansen" <[EMAIL PROTECTED]>
To: ; <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 2:32 PM
Below is the address you can use to reach Aldo's page.
Jeremy Blonde
- Original Message -
From: "Aldo Calpini" <[EMAIL PROTECTED]>
To: "Jeremy Blonde" <[EMAIL PROTECTED]>; "Perl-Win32-GUI-Users"
Sent: Thursday, February 07, 2002 8:18 A
Here's how I'm doing it. The code is borrowed from someone else, perhaps
Aldo's examples.
$SCR_WIDTH = Win32::GUI::GetSystemMetrics(0);
$SCR_HEIGHT = Win32::GUI::GetSystemMetrics(1);
$WIDTH = 350;# Window Width
$HEIGHT = 250;# Window Height
$LEFT = ($SCR_WIDTH/2) - ($WIDTH}/2);
$TOP =
I've always done it like this:
if (Win32::GUI::IsWindow($WINDOW)) {
$WINDOW->BringWindowToTop();
$WINDOW->Show();
return;
}
That way the window is brought back to the foreground and displayed to the user.
Jeremy Blonde
-Original Message-
From: Peter Eisengrein [ma
You need to have the -name parameter for the label (and pretty much any
GUI element) that you create.
Jeremy Blonde
Network Technician
Davis Joint Unified School District
530.757.5300 ext. 117
-Original Message-
From: Peter Janson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003
Vikas,
You'll want to use the following:
$WINDOW->BringWindowToTop();
Thanks,
Jeremy Blonde
-Original Message-
From: Sachdeva, Vikas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2003 4:02 PM
To: perl-win32-gui-users@lists.sourceforge.net
Cc: Sachdeva, Vikas
Subject: [pe
he version I was using).
The code below is snippets from my script, it won't work as is.
Jeremy Blonde
Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE);
#$Win32::OLE::Warn = 0;
my($SESSION) = Win32::OLE->new('MAPI.Session'); # Session Object
my($profile
so you can do a search
for it on ActiveState if you need more detail.
Since this doesn't really fall under the "Perl-Win32-GUI" umbrella, your
question is best suited for the other Perl mailing lists (you can access them
by going to www.activestate.com).
Thanks,
Jeremy Blonde
30 matches
Mail list logo