Email Archive: perl-win32-gui-users (read-only)
From: Peter Eisengrein <[EMAIL PROTECTED]>
RE: AcceleratorTable
2001-02-05 08:34
I've never been able to get the -accel's to work either. Good luck, I am
looking forward to seeing the resolution on this.
-Original
Hi all.
Just starting to experiment with this module, and liking what I find.
I wonder if anybody can point me to the latest documentation?
The best I can find is that on Dada's site, which is dated June 1999.
Thanks for any help.
Rob Dixon
r enough,
but I just thought there may be something out there more up to date.
And please: no more flames.
Cheers all,
Rob Dixon
Thanks John
I'm using ActiveState Perl and got my copy of Win32::GUI from PPM.
I assumed the CPAN version was the same.
(Now somebody's going to tell me that there's documentation in
the PPM version as well!)
Rob
- Original Message -
From: "Rogers, John" <
http://search.cpan.org/author/WASX/Win32-Printer-0.8.1/Printer.pm
BTW, is it possible for Win32::GUI::AxWindow to invoke the "print preview",
"printer setup" and "print page setup" of IE directly?
Rob
Thanks ;-)
-file => $file ,
-title => 'Open' ,
-filter=> [ 'Text files' , '*.txt' , 'All files' , '*.*' ] ,
) ;
Rob
Very good example, thanks Brian,
but too took the memory.
er
Has the method to solve?
My system is WindowsXP SP2, Perl 5.6 and Win32-GUI-1.03.
My English is very bad, sorry!
rob
o have make a new-line, then you need to
> add the ES_WANTRETURN style to the textfield. There is no
> Win32::GUI::Textfield support of this directly (although there probably
> should be). The following will do what you want:
>
> use Win32::GUI qw(ES_WANTRETURN);
>
> my $win = Win32::GUI::Window->new(
> ...
> );
>
> $win->AddTextfield(
> ...
> -addstyle => ES_WANTRETURN,
> );
>
>
> Regards,
> Rob.
> --
> Robert May
> Win32::GUI, a perl extension for native Win32 applications
> http://perl-win32-gui.sourceforge.net/
>
=> 1,
-popstyle => WS_BORDER,
-addstyle => ES_WANTRETURN,
);
sub Result_KeyDown
{
my $key=Win32::GUI::GetKeyboardState;
$Win->{Result}->ReplaceSel("\t") if $key->[0x09];
}
Also has a better method?
rob
Robert May 写道:
[EM
,
[in] short Col,
[in] Picture* rhs);
how to initialize a Picture structure?
Is it able to convert a Win32::GUI:BitBmp object to a Picture* ?
Any help appreciated.
Thanks,
Rob
cool~
Thank you! :-)
- Original Message -
From: "Laurent Rocher" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 27, 2003 12:24 AM
Subject: [perl-win32-gui-users] Win32::GUI::Scintilla
> Hi,
>
> I have release a new package for add Scintilla control in Win32::GUI.
>
> See mor
Hi.
Can someone suggest how I can retrieve a window's current 'show' state
as set by $window->Show()?
Thank you,
Rob
sub Graphic_Paint {
$DC = $main->Graphic->GetDC();
if (defined $background) {
$background->CopyToDC($DC);
}
$DC->Validate();
}
$main->Show();
Win32::GUI::Dialog();
#
Thanks in advance,
Rob
ly happens if I run my program
right after clicking the "Show Desktop" button.
Thanks,
Rob
P.S. - I'd be happy to provide sample code off-list (my app is already past
7000 lines of code with all the inline bitmaps).
and number of copies, etc. (BTW, I
tried looking into Win32::API for this, but I got completely lost trying to
figure out how to determine the prototype of the function being imported
from comdlg32.dll and/or gdi32.dll).
Any help with Win32::Printer or Win32::API would be much appreciated!
Thanks,
Rob
As it turns out, the problem only occurs on one of my computers. Since not
even I can reproduce it on other computers, I don't want to waste the time
of anyone on the list. Thanks for the response though, this list has been SO
helpful!
Thanks,
Rob
-Original Message-
From: Rober
$height) = $dc->Image($image_handle);
#
What exactly is $dc, and how/where do I define it? Also...must I specify a
filename, or can $image_handle be an inline bitmap?
Thanks,
Rob
P.S. - A special thanks to Richard Noble for sending me a PPD of
Win32::Printer built with FreeImage support.
t figuring it out. How can I pass the name of the button to the
subroutine successfully?
Thanks,
Rob
-onClick => sub { Button_Clicked ( $name ) },
);
++$y;
}
sub Button_Clicked {
print "Your name is " . $_[0];
}
Regards,
Rob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 4:08 AM
To: [EMAIL PROTEC
;
if ( $line_number == 0 ) {
print $line;
} else {
print "\n" . $line;
}
++$line_number;
}
close(FILE);
$line_number = 0;
}
Thanks,
Rob
As always, thanks very much for the quick reply and simple solution! Glad to
know I wasn't doing something "wrong".
Thanks,
Rob
-Original Message-
From: Robert May [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 20, 2007 7:26 AM
To: Perl Rob
Cc: Win32 GUI Users Maili
> 0);
}
else
{
Win32::GUI::Change($main, -topmost => 1);
}
}
Thanks,
Rob
If this change will work, would it require me to re-compile Perl or do
anything else special?
Thanks,
Rob
.
$dc->Image("file.bmp", 10, 10, 187, 258);
$dc->Close();
Thanks in advance,
Rob
Thanks Rob, that's exactly what I needed! As usual, you were right on the
money--even with "completely untested" code. :)
-Rob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Robert May
Sent: Tuesday, July 03, 2007 12:48 PM
To: Perl Ro
ut my Gdi32.lib file throws an error
that it's not a valid image file and may be corrupt.
Thanks,
Rob
ferences a .lib file (Gdi32.lib in my case), check
to see if you have the .dll version of the file (gdi32.dll in my case).
-Rob
From: Perl Rob [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 8:54 PM
To: 'Win32 GUI Users Mailing List'
Subject:
uld the parameters for FindWindow() be 'PP', with a
return value of 'P'? And should the parameters for SendMessage() be 'PIIN',
with a return value of 'P'?)
Thanks in advance,
Rob
#
This is a window started by another application
$windowToClose->Win32::GUI::SendMessage("WM_CLOSE",0,0); # This fails
because $windowToClose is not an object reference.
#########
Thanks,
Rob
_
From: Perl Rob [mailto:[EMAIL PROTE
I don't understand *why* that fixed the problem, but
it did. I couldn't get any windows to close until I did that-now I can close
any window (that allows it) by finding its handle and sending it the
WM_CLOSE message.
-Rob
_
From: Perl Rob [mailto:[EMAIL PROTECTED]
Sent:
Works like a charm! Thanks Rob!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
Hi all,
Is Win32::GUI() capable of creating a marquee-style progress bar for
indicating activity instead of overall progress?
This page in MSDN describes what I'm looking for:
http://msdn2.microsoft.com/en-us/library/bb760820(VS.85).aspx
TIA,
ne (default none)
Draws a border around the control. colors are the same
of -fill, with the addition of "etched" (a raised border).
Thanks,
Rob
-
Check out the new SourceForge.net Marketpla
't seem to be thread-safe).
Thanks,
Rob
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
wouldn't have guessed that DBI isn't thread
safe.
Thanks again,
Rob
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://
for (my $i=9; $i>0; $i--)
{
$labelObject->Text("I like the number $i");
sleep(1);
}
}
Thanks,
Rob
-
This SF.Net email is sponsored by the Moblin Your Move Developer
des and shows, but the setting still isn't taking effect! I get the
feeling I'm going about this all wrong, but I'm running out of ideas (and
I've searched all over MSDN).
Any ideas?
Thanks,
Rob
--
SF
r, WM_COMMAND, 424, 0, 0, 1000);
By the way, I found a list of message numbers in the 3rd post here (although
I'm still not sure where these message numbers are actually defined):
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/eb0b17d6-
66de-4ce6-bb3a-0c174a17991e
at didn't work. Perhaps someone else knows.
Regards,
Rob
--
Message: 4
Date: Tue, 9 Dec 2008 16:30:37 -
From: "Kieren Dunbar"
Subject: [perl-win32-gui-users] Combobox problems
To:
Message-ID: <53d8a58004a3594d9324cb66e7d1c3e9ca6...@hhlive.hh.lo
I'm happy to post my code, if necessary, but I thought someone might be able
to quickly tell me whether Win32::GUI::NotifyIcon is thread safe.
Thanks,
Rob
--
This SF.net email is sponsored by:
SourcForge Communi
ed . I haven't yet come up with a suitable strategy for
introducing this thought; perhaps adding a v6 manifest to perl.exe
will force me to find time to investigate further?
I hope to find some time to get back to Win32::GUI development over the summer.
Rob.
--
2009/4/23 Jan Dubois :
> On Wed, 22 Apr 2009, Rob May wrote:
>> I think I vote for it too, although I suspect that it'll cause some
>> (minor) layout problems for some people, as I'm not sure that all the
>> control decorations are the same on styled/non-styled cont
2009/4/22 Jan Dubois :
> On Wed, 22 Apr 2009, Rob May wrote:
>> I think I vote for it too, although I suspect that it'll cause some
>> (minor) layout problems for some people, as I'm not sure that all the
>> control decorations are the same on styled/non-styled cont
dLibraryW, with a
MultiByteToWideChar call. I don't think it really matters, and for
the sake of not breaking a non-delay-loading build I'll change it to
LoadLibraryA.
> Most of the feedback above is probably just personal taste, except for the
> architecture string in the m
2009/5/5 Rob May :
> 2009/5/4 Jan Dubois :
>> * The manifest file contains a hardcoded X86 architecture. The file should
>> be generated dynamically and contain AMD64 as the architecture for 64-bit
>> Windows on x86_64. Something like this:
Manifest is now generated.
&
nts right (no crash, it just
always returns 0).
Could anyone help me figure out what's wrong with Win32::CryptData, or how to use
Win32::API to call CryptUnprotectData() myself? I've been
banging my head against the wall for days
apologies to those who have posted code to the list recently that I
haven't reviewed - if your code is significantly different fro what
I've done, then some benchmarking (or otherwise) may be in order to
determine the best way to proceed.
Cheers,
Rob.
CPAN: http://search.cpan.org/~
of the Win32::GUI website - it could do with a re-vamp and
some TLC. Any takers? This work might tie in nicely with moving us
over to a new Wiki (or similar).
Thanks for all the interest.
Rob.
[1] It would actually be better to have the embedded docs pulled into
POD before the build, so that so
oup id is 0
0 # igroup
);
I think the listbox makes a copy of the text - so that should be sufficient.
Let us know how you get on.
Regards,
Rob.
On 27 March 2011 14:44, FPerl wrote:
>
> Hi,
>
> I'm testing ListView Groups on my Windows 7 os.This code working
s - and
I'm not likely to get any any time soon.
I'm also not sure that Jeremy's right; I don't think the 64-bit patches
are in the repository. That said, I have no issue with someone else
applyin
te the background of the actual text not the whole box. Any
ideas?
Rob Brewster.
# Menu options for GUI
#===
$menu = Win32::GUI::MakeMenu(
"&Help" => "Help",
brary/ms997507.aspx). Instead they
recommend using the UpdateLayeredWindow() function, which doesn't seem
to be available in Win32::GUI by default. Before I to use UpdateLayeredWindow() with help from Win32::API, does
anyone have any experience, recommendations, or code samples?
Thanks,
Ro
_EXSTYLE);
$winstyle = $winstyle | WS_EX_LAYERED;
$main->SetWindowLong(GWL_EXSTYLE, $winstyle || WS_EX_LAYERED);
$setLayeredWindowAttributes->Call($main->{-handle}, 0, 255,
LWA_ALPHA);
my $OK = $main->AddButton
(
-name => 'OK',
-text =>
tributes = Win32::API->new('user32',
'SetLayeredWindowAttributes', 'LLIN', 'I');
my $winstyle = $main->GetWindowLong(GWL_EXSTYLE);
$winstyle = $winstyle | WS_EX_LAYERED;
$main->SetWindowLong(GWL_EXSTYLE, $winstyle || WS_EX_LAYERED);
$setLayeredWind
Hi Everyone,
I am using "Win32::GUI::BrowseForFolder" .
I cannot work out how to add the "create new" option as seen on other "browse
for folder" windows.
Is this feature available?
Thanks
Rob
<>--
You could try the "style" common option parameter.
I think one of them is line-height.
-pushstyle
-pushstyle => NUMBER
Add the specified styles to the window's style mask. This option can be
repeated multiple times, or values can be 'or'ed together.
-Original Message-
From: John Whit
You could try this multisel option.
-multisel => 10, # use 4 byte buffer
-Original Message-
From: Octavian Rasnita [mailto:orasn...@gmail.com]
Sent: Thursday, 30 December 2010 2:30 AM
To: Perl-Win32-GUI-Users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Error when using
Hi Vijay,
You could try using the Open Office odt format.
This is recognised by the newer Word versions.
I have not used this module but it may help.
http://search.cpan.org/dist/OpenOffice-OODoc/OODoc.pod
Regards
Rob
From: Vijay Maurya [mailto:vijaykumarmau...@gmail.com]
Sent: Monday, 6 June
Hi Hongsheng,
I have had errors with nmake.
I found dmake from the mingw package works better.
Regards
Rob
From: yhsh327 [mailto:yhsh...@163.com]
Sent: Monday, 8 August 2011 4:05 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] need your help for win32 gui
Hi
60 matches
Mail list logo