[perl-win32-gui-users] why not work?

2002-08-06 Thread ROB
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

[perl-win32-gui-users] Latest Documentation?

2002-10-23 Thread Rob
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

Re: [perl-win32-gui-users] Latest Documentation?

2002-10-23 Thread Rob
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

Re: [perl-win32-gui-users] Latest Documentation?

2002-10-24 Thread Rob
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" <

[perl-win32-gui-users] printer support

2004-07-23 Thread Rob
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 ;-)

[perl-win32-gui-users] Centering Win32::GUI::GetOpenFileName Dialog Box

2005-09-22 Thread Rob
-file => $file , -title => 'Open' , -filter=> [ 'Text files' , '*.txt' , 'All files' , '*.*' ] , ) ; Rob

[perl-win32-gui-users] Re: Skins in Win32-GUI

2006-03-03 Thread rob
Very good example, thanks Brian, but too took the memory.

[perl-win32-gui-users] Textfield bug?

2006-03-19 Thread rob
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

Re: [win32gui] [perl-win32-gui-users] Textfield bug?

2006-03-19 Thread 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/ >

[perl-win32-gui-users] Re: Textfield bug?

2006-03-20 Thread rob
=> 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

[perl-win32-gui-users] How to pass a Picture* typed value to the interface of an ActiveX control.

2007-03-28 Thread rob
, [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

Re: [perl-win32-gui-users] Win32::GUI::Scintilla

2003-01-26 Thread Rob Cheung
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

[perl-win32-gui-users] Window 'Show' State

2003-03-28 Thread Rob Dixon
Hi. Can someone suggest how I can retrieve a window's current 'show' state as set by $window->Show()? Thank you, Rob

[perl-win32-gui-users] Need help placing controls on top of graphics

2006-12-21 Thread Perl 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

[perl-win32-gui-users] Need help repainting window after clicking "Show Desktop"

2006-12-26 Thread Perl 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).

[perl-win32-gui-users] Problem Printing Images

2006-12-27 Thread Perl Rob
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

Re: [perl-win32-gui-users] [win32-gui] Need help repainting window after clicking "Show Desktop"

2006-12-29 Thread Perl 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

[perl-win32-gui-users] Is it possible to print an inline bitmap using Win32::Printer?

2007-01-02 Thread Perl Rob
$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.

[perl-win32-gui-users] How to pass $_ to a subroutine

2007-01-08 Thread Perl Rob
t figuring it out. How can I pass the name of the button to the subroutine successfully? Thanks, Rob

Re: [perl-win32-gui-users] How to pass $_ to a subroutine

2007-01-08 Thread Perl 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

[perl-win32-gui-users] How can I get all the contents of a textfield?

2007-01-19 Thread Perl Rob
; if ( $line_number == 0 ) { print $line; } else { print "\n" . $line; } ++$line_number; } close(FILE); $line_number = 0; } Thanks, Rob

Re: [perl-win32-gui-users] How can I get all the contents of a textfield?

2007-01-20 Thread Perl 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

[perl-win32-gui-users] Toggle "always on top" status

2007-04-15 Thread Perl Rob
> 0); } else { Win32::GUI::Change($main, -topmost => 1); } } Thanks, Rob

[perl-win32-gui-users] Modify the behavior of Win32::GUI::BitmapInline

2007-06-26 Thread Perl Rob
If this change will work, would it require me to re-compile Perl or do anything else special? Thanks, Rob

[perl-win32-gui-users] How to catch unwanted Win32::Printer errors

2007-07-02 Thread Perl Rob
. $dc->Image("file.bmp", 10, 10, 187, 258); $dc->Close(); Thanks in advance, Rob

Re: [perl-win32-gui-users] How to catch unwanted Win32::Printer errors

2007-07-03 Thread Perl 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

[perl-win32-gui-users] Create font object from file?

2007-07-06 Thread Perl Rob
ut my Gdi32.lib file throws an error that it's not a valid image file and may be corrupt. Thanks, Rob

Re: [perl-win32-gui-users] Create font object from file?

2007-07-07 Thread Perl 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:

[perl-win32-gui-users] FindWindow and SendMessage

2007-08-15 Thread Perl Rob
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

Re: [perl-win32-gui-users] FindWindow and SendMessage

2007-08-15 Thread Perl 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

Re: [perl-win32-gui-users] FindWindow and SendMessage

2007-08-15 Thread Perl Rob
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:

Re: [perl-win32-gui-users] Marquee-style progress bar?

2008-02-08 Thread Perl Rob
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

[perl-win32-gui-users] Marquee-style progress bar?

2008-02-08 Thread Perl Rob
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,

[perl-win32-gui-users] The -fill and -frame options of AddLabel

2008-06-16 Thread Perl Rob
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

[perl-win32-gui-users] Avoid the appearance of a "frozen" window

2008-06-17 Thread Perl Rob
'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.

Re: [perl-win32-gui-users] Avoid the appearance of a "frozen"

2008-06-19 Thread Perl Rob
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://

[perl-win32-gui-users] Threads

2008-11-06 Thread Perl Rob
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

[perl-win32-gui-users] Refresh the taskbar

2008-12-07 Thread Perl Rob
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

Re: [perl-win32-gui-users] Refresh the taskbar

2008-12-07 Thread Perl Rob
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

Re: [perl-win32-gui-users] Perl-Win32-GUI-Users Digest, Vol 30, Issue 2

2008-12-11 Thread Perl Rob
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

[perl-win32-gui-users] Is Win32::GUI::NotifyIcon thread safe?

2009-01-17 Thread Perl Rob
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

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-22 Thread Rob May
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. --

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-23 Thread Rob May
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

Re: [perl-win32-gui-users] XP styles support -- when?

2009-05-02 Thread Rob May
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

Re: [perl-win32-gui-users] XP styles support -- when?

2009-05-05 Thread Rob May
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

Re: [perl-win32-gui-users] XP styles support -- when?

2009-05-05 Thread Rob May
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. &

[perl-win32-gui-users] Win32::CryptData crashing perl 5.10

2009-06-19 Thread Perl Rob
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

[perl-win32-gui-users] ANNOUNCE: Win32::GUI::OpenGLFrame V0.01

2009-07-14 Thread Rob May
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/~

Re: [perl-win32-gui-users] Win32::GUI Documentation

2009-07-14 Thread Rob May
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

Re: [perl-win32-gui-users] Win32::GUI ListBox Group - Why display text values in Chinese charset?

2011-03-28 Thread Rob May
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

Re: [perl-win32-gui-users] PPM distro for 64-bit PERL v 5.14

2012-02-17 Thread Rob May
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

RE: [perl-win32-gui-users] Animated windows

2002-10-18 Thread Brewster Rob-RBREWST1
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",

[perl-win32-gui-users] Custom window shapes

2010-10-09 Thread Rob Johansen (gmail)
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

[perl-win32-gui-users] Robust Windows

2010-10-19 Thread Rob Johansen (gmail)
_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 => 

Re: [perl-win32-gui-users] Robust Windows

2010-10-22 Thread Rob Johansen (gmail)
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

[perl-win32-gui-users] New folder option on Browse for folder

2010-08-30 Thread Hulley, Rob (APJ GCC Storage TPM)
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 <>--

Re: [perl-win32-gui-users] Vertical line spacing and a Win98/WinXP issue

2010-09-25 Thread Hulley, Rob (APJ GCC Storage TPM)
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

Re: [perl-win32-gui-users] Error when using GetOpenFileName()

2010-12-29 Thread Hulley, Rob (APJ GCC Storage TPM)
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

Re: [perl-win32-gui-users] Can't call method "STORE" on an undefined value during global destruction

2011-06-06 Thread Hulley, Rob (APJ GCC Storage TPM)
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

Re: [perl-win32-gui-users] need your help for win32 gui

2011-08-08 Thread Hulley, Rob (APJ GCC Storage TPM)
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