Re: [win32-gui] [perl-win32-gui-users] Multi Select Listbox

2006-04-19 Thread Robert May
Try: http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=listview#selecteditems Andrew M Pastuszak wrote: Hello all, I have just been pouring through the mailing list archives, as well as UseNet, and Google, and I just can't figure out to read the selected values in a multi-select list

Re: [win32-gui] RE: [perl-win32-gui-users] The skin module

2006-04-19 Thread Robert May
Brian Millham wrote: Thank you for the suggestions Rob! You're welcome. Thank you for the interest in furthering the Win32::GUI cause. Once I'm to the point of creating the Makefile and PPM, I'll probably need some help. No problems - contact me off list when you are ready for this. I'll

Re: [perl-win32-gui-users] accessing contents of a text box of another app

2006-04-27 Thread Robert May
[EMAIL PROTECTED] wrote: I just wish there was a way to send ENTER key press to a window (an "Edit" class text widget, to be exact) without having to give the window focus. Any ideas? Can you post a WM_CHAR message to the window? Win32::GUI::PostMessage($hwnd, WM_CHAR, VK_RETURN, 0); [WM

Re: [win32-gui] Re: [perl-win32-gui-users] Making a treeview"active"? Oh, and Scrollbar sizes...

2006-05-02 Thread Robert May
Steve Loughran wrote: ... Another function that states it works on a window, but can also work on objects... you would think by now I would have learned a lesson about this, what with my Sort()<-->Treeview issue over the weekend, but apparently not :) Right, edited code to SetFocus and it

Re: [win32-gui] [perl-win32-gui-users] Request for control or workaround.

2006-05-02 Thread Robert May
Brian Fredette wrote: > An application I'm creating has a need to obtain IP address > information from a user. I'd like to be able to setup to > screen to look similar to the windows tcp/ip properties panel. > The ip address text boxes on that screen are different in that > they seem to have embe

Re: [win32-gui] [perl-win32-gui-users] Horizontal scrollbars for listboxes and textfields

2006-05-02 Thread Robert May
-hscroll => 1 Regards, Rob. [EMAIL PROTECTED] wrote: Dear win32-gui users, I have just begun with win32::gui (v1.03). Can someone please show me how to add horizontal scrollbars to listboxes and textfields? Many thanks! Paul Jesze ---

Re: [win32-gui] [perl-win32-gui-users] Horizontal scrollbars for listboxes and textfields

2006-05-03 Thread Robert May
[EMAIL PROTECTED] wrote: thanks for the hint. I tried that, but it doesn't seem to work. Here's some code: -- use Win32::GUI; $main_window = new Win32::GUI::DialogBox( -text => "Test", -left => 100, -top=> 50,

Re: [win32-gui] [perl-win32-gui-users] Animation AVI supported formats

2006-05-04 Thread Robert May
Martin Hopkins wrote: I was trying to get the animation function working but have been unsuccessful. One animation I have worked on is in the wrong colour and offset in the display. Does anyone know which formats are supported by the Win32::GUI::Animation package? The Win32::GUI::Animation pa

Re: [perl-win32-gui-users] Horizontal scrollbars for listboxes and textfields

2006-05-04 Thread Robert May
[EMAIL PROTECTED] wrote: This creates a horizontal scrollbar even if the strings inserted do not need scrolling. Can this be set to an auto-detection? I tried "-autohscroll", but it didn't work. Please keep the discussion on the list so that others can benefit from it, and suggest their solu

Re: [win32-gui] RE: [perl-win32-gui-users] Odd problem with compiling a script

2006-05-05 Thread Robert May
Andrew M Pastuszak wrote: [edited] > My script used to read as follows: > > use strict; > use warnings; > use Win32; > use Win32::GUI; <- line 12 > I get the following error: > > Subroutine main::MB_ICONEXCLAMATION redefined at > C:/Perl/lib/Exporter.pm line 65. at I:\SiteBuild HTA > files\Si

Re: [win32-gui] [perl-win32-gui-users] piping system commands

2006-05-05 Thread Robert May
Steve Loughran wrote: Is there a way to run a system command, either via a system() call, or a open(FH,"cmd |") (or any other way), and read in the output of that command, without a cmd.exe instance appearing on the screen? From what I understand if the command is marked as a 'console' app (t

[perl-win32-gui-users] Exporting constants [Was: Odd problem with compiling a script]

2006-05-05 Thread Robert May
Robert May wrote: > Both Win32 and Win32::GUI export a set of constants by default Andrew M Pastuszak wrote: How do I know which constants these two modules export? If they were well behaved modules, then it would be documented, but neither do. Either look in their .pm files for the @EXP

Re: [win32-gui] [perl-win32-gui-users] Progress Bar Not Displaying

2006-05-05 Thread Robert May
Andrew M Pastuszak wrote: I am having a problem, with the progress bar not displaying in a window. Here is my subroutine. Feel free to offer any comments you want about cleaning up this code: Without *short*, *complete*, and *runnable* code example that demonstrates your problem it is very d

Re: [win32-gui] RE: [perl-win32-gui-users] Odd problem with compiling a script

2006-05-05 Thread Robert May
Glenn Linderman wrote: On approximately 5/5/2006 12:42 PM, came the following characters from the keyboard of Robert May: I can duplicate the problem and the solution. I don't understand why the presented solution solves the problem. As can I. I assumed (some years back when I disco

Re: [win32-gui] [perl-win32-gui-users] Progress Bar Not Displaying

2006-05-05 Thread Robert May
Andrew M Pastuszak wrote: Thanks for the help. I didn't want to post the whole script and clog the list. Next time I will post the entire script. Please don't. If its long its very likely that no one will read it. Post a *short*, but complete example demonstrating your problem. Often the

Re: [win32-gui] RE: [perl-win32-gui-users] Unsetting an event

2006-05-17 Thread Robert May
. The GetEvent() method returns the current code reference for a NEM event (or undef if there isn't one), so something like this should do you: my $old = $control->GetEvent('MouseDown'); ... $control->SetEvent('MouseDown', $old) if defined $old; Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [win32-gui] [perl-win32-gui-users] HTML problem after install of Win32::GUI

2006-05-18 Thread Robert May
Bullock, Howard A. wrote: After installing Win32::GUI via ActiveStates PPM library, the HTML documentation did not work. The hyperlinks all had extra data in them making them invalid. I had to change all the links in the HTML documentation. The link path were as follows: file:///C:/Perl/html//

Re: [win32-gui] Re: [perl-win32-gui-users] Win32 Problems

2006-05-25 Thread Robert May
Kevin L. Gross wrote: I installed using the Win32-GUI.ppd ppm file. Whaddyaknow? Now it works! Isn't that the standard way to install PPM files? Really clear instructions were not to be found anywhere... I'd be interested in knowing where you tried looking, so we can make it easier for oth

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

2006-05-26 Thread Robert May
proving this module. I was impressed enough when I first found it a few years ago (version 0.5 something, I think it was), but it just keeps getting better and better. Thanks, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [win32-gui] Re: [perl-win32-gui-users] Need an example, please.

2006-05-31 Thread Robert May
t there a better way to flow text into a scroll-bar field or window or dialog or something? Try this. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/ #!perl -w use strict; use warnings; use Win32::GUI qw(WS_CLIPCHILDR

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

2006-06-01 Thread Robert May
Sean Healy wrote: On Thu, 01 Jun 2006 00:03:21 -0600, Octavian Rasnita <[EMAIL PROTECTED]> wrote: I sent Octavian the Win32::GUI::Scintilla 1.8 PPM I made, but he got the following error. I've only ever built for myself before, not for dsitribution. Can someone tell me how to build so any ver

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

2006-06-01 Thread Robert May
Octavian Rasnita wrote: Will the new version of Win32::GUI::Scintilla be based on the latest version of Scintilla? Yes, the version I sent you uses Scintilla 1.68, which was the latest available when I looked a week or so ago. (although I see there's already a 1.69). Regards, Rob.

Re: [win32-gui] [perl-win32-gui-users] BrowseForFolder & Make New Folder

2006-06-01 Thread Robert May
There's already an RFE for this: http://sourceforge.net/tracker/index.php?func=detail&aid=1342872&group_id=16572&atid=366572 Regards, Rob. Eric Nichols wrote: I've been trying to get the "Make New Folder" button to appear in the BrowseForFolder dialog. I think that BIF_NEWDIALOGSTYLE (0x0040?)

Re: [win32-gui] [perl-win32-gui-users] -singlesel

2006-06-01 Thread Robert May
If I add -singlesel => 1, to the constructor for the listview_drag_drop.pl demo that is distributed with Win32::GUI, then it works fine for me. Perhaps you could post a short, complete example of what doesn't work for you (along with what version of Win32::GUI you are using)? Regards, Rob.

Re: [win32-gui] [perl-win32-gui-users] -singlesel

2006-06-01 Thread Robert May
Greg Dance wrote: [snipped to leave some options from Greg's post] -singlesel => 1, -style => WS_CHILD | WS_VISIBLE | 1, -fullrowselect => 1, -gridlines => 1, -checkboxes => 1, What I found is that the -style line is the culprit. When this is included the -singlesel o

Re: [win32-gui] [perl-win32-gui-users] -singlesel

2006-06-01 Thread Robert May
Greg Dance wrote: Just an FYI... 1) I originally had the -singlesel as the last option in the list (after -style) and the problem still existed. OK, I understand. This may have been the behaviour with older Win32::GUI versions, but not anything since at least 1.0 (I've double checked my mem

Re: [perl-win32-gui-users] [win32-gui] Trayicon balloon tips

2006-06-07 Thread Robert May
tinti wrote: Hi, is there a way to display information in a balloon tip with Win32::GUI under WinXP and Win2k? I think that I found once an example but I cannot remember this page. If someone knows if it is possible or if someone has an example how to do it, please let me know. Balloon tips f

Re: [perl-win32-gui-users] [win32-gui] Re: CVS Source 1.03_03 compile error

2006-06-12 Thread Robert May
Jeremy White wrote: To get it working I simply deleted the ->SetDefCellType( GVIT_NUMERIC ); option. However is there a workaround or another way to implement these options? It's defined in Grid.xs as: #define GVIT_NUMERIC 1 This should work: Win32::GUI::Grid::GVIT_NUMERIC() I've asked Ch

Re: [perl-win32-gui-users] [win32-gui] CVS Source 1.03_03 compile error

2006-06-12 Thread Robert May
Chris Wearn wrote: Hi All, Checked out latest in CVS… compiled with VC++6 Noted that checkout now includes AXWindow, Contants, DiBitmap, DropFiles, Grid, etc When compiling all sub-modules from the main directory, it all worked except Scintilla, which gives an error. It turns out Chris ma

[perl-win32-gui-users] Help with Scintilla

2006-06-12 Thread Robert May
s New Roman?). Am I missing something? Thanks for any help, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [win32-gui] Re: Help with Scintilla

2006-06-13 Thread Robert May
Sean Healy wrote: On Mon, 12 Jun 2006 14:05:26 -0600, Robert May <[EMAIL PROTECTED]> wrote: From a scan of the source to Win32::GUI::Scintlla::Perl, this module should be using a mono-spaced font (Courier New), but when I use it I am getting a variable width font (Times New Roman?

Re: [perl-win32-gui-users] [win32-gui] Re: Is it bug connected with -visible option?

2006-06-13 Thread Robert May
[10,120], -onClick => sub{ $state=1-$state; $label->Text($state); }, ); $frame->Show(); Win32::GUI::Dialog(); $frame->Hide(); exit(0); __END__ Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [win32-gui] DCs and background images

2006-06-18 Thread Robert May
Steve, This should help you http://sourceforge.net/mailarchive/message.php?msg_id=12601142 Regards, Rob. Steve Loughran wrote: Hi all Not being a programmer by trade, I try to try things over and over again until I admit to myself that I dont have a clue :) So far, everything in Win32::GU

Re: [perl-win32-gui-users] [win32-gui] DCs and background images

2006-06-19 Thread Robert May
Steve Loughran wrote: (as the message is truncated in the archive, I am guessing that there is nothing after the get_bitmap() routine) Correct. Regards, Rob.

Re: [perl-win32-gui-users] [win32-gui] Sourceforge Mail list search broken?

2006-06-29 Thread Robert May
. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [multiline textfields in a dialogui window under XP?

2006-06-29 Thread Robert May
ger activate the default button while the textfield has focus. [In the next version of Win32::GUI there will be a '-wantreturn' option for Textfields/RichEdit controls, as I've lost track of the number of times I've seen this question on this list - I guess I should also mak

Re: [perl-win32-gui-users] multiline textfields in a dialogui window under XP?

2006-07-16 Thread Robert May
Geoffrey Spear wrote: Thanks, that works beautifully. Oddly enough, though, while the Return wasn't being entered as a \r\n in my textfield, it wasn't being passed on to the button that has -ok => 1 set either, and the textfield was accepting the tab key to insert a tab (until I found another wo

Re: [perl-win32-gui-users] [win32-gui] Problem with Registering a DocumentComplete Event of WebBrowser2 in Win32::GUI::AxWindow

2006-07-16 Thread Robert May
Benjamin Kyan wrote: Has anyone else encountered issues with registering the DocumentComplete event with WebBrowser2 in Win32::GUI::AxWindow? For me, the following code sample is causing the Perl Interpreter (ActivePerl 5.8.8) to crash every time the DocumentComplete event is fired. I can tell

Re: [perl-win32-gui-users] attaching OnClick events to dynamic MenuItems?

2006-07-17 Thread Robert May
rather than just a reference to the Window that contains the menu, which is fairly useless? Sadly not at the moment. And not trivial to implement, as it's something that would be really useful. If I ever get enough time to visit the menu code, then I'll look at it in more detail (unl

Re: [perl-win32-gui-users] Tab and Escape with Multiline textfield

2006-07-17 Thread Robert May
task manager I suspect you'll find the wperl process still running. Nasty :-) The archives mention a Win32::GUI version that fixes at least some of these problems. Is there a binary test version available? I don't have or know how to use a C compiler at present. Very soon. I don&

Re: [perl-win32-gui-users] [win32-gui] Re: Bubbles in a list view

2006-07-18 Thread Robert May
yet. If you don't mind the popup windows being square, then you could use standard tooltips, and you'd be able to turn them into balloon tooltips with a later release. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Balloon tooltips for listview items [Was:: Bubbles in a list view]

2006-07-19 Thread Robert May
# over it, hide it if(defined $tip_showing and $tip_showing != $item) { # de-activate the tool # BUG: trackactivate only works with regions, not windows, # so roll owr own my $toolinfo = pack( "LLL", 44, # cbSize TTF_IDISHWND,# uFlags $mw->{-handle}, # hwnd $lv->{-handle}, # uId 0, 0, 0, 0, 0, 0, 0); $tt->SendMessage(TTM_TRACKACTIVATE, 0, $toolinfo); # and we're not showing a tip any more $tip_showing = undef; } return 1; # allow message to be # passed on for deafult processing } __END__ Enjoy! Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Test (please ignore)

2006-07-21 Thread Robert May
I want to see if this makes it to the list, as I've posted a couple of messages in the past days that don't seem to have made it. Please ignore this message. Thanks, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Balloon tooltips for listview items [Was: Bubbles in a list view]]

2006-07-23 Thread Robert May
_showing and $tip_showing != $item) { # de-activate the tool # BUG: trackactivate only works with regions, not windows, # so roll our own my $toolinfo = pack( "LLL", 44, # cbSize TTF_IDISHWND,# uFlags $mw->{-handle}, # hwnd $lv->{-handle}, # uId 0, 0, 0, 0, 0, 0, 0); $tt->SendMessage(TTM_TRACKACTIVATE, 0, $toolinfo); # and we're not showing a tip any more $tip_showing = undef; } return 1; # allow message to be # passed on for deafult processing } __END__ Enjoy! Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [win32-gui] Sourceforge mail list search broken?

2006-07-23 Thread Robert May
Steve Loughran wrote: Been broken for at least 12 hours: http://sourceforge.net/search/?type_of_search=mlists&group_id=16572&words=+Mailing+Lists "Timed out waiting for response from Search Server." (I am looking for code using DIBitmap GetLayer and SetLayer) I saw it broken too, briefly. I

Re: [perl-win32-gui-users] Tooltip

2006-07-31 Thread Robert May
[EMAIL PROTECTED] wrote: So I installed PERL and win32::gui started working on my program and got an error that it failed to create a tooltip. I thought maybe something got messed up when the old laptop died or something. So I wrote a small program that just creates a window and a new tooltip

Re: [perl-win32-gui-users] Tooltip

2006-08-01 Thread Robert May
[EMAIL PROTECTED] wrote: Sorry, I forgot to put the version. Perl: 5.8.7 Win32-Gui: 1.02 Afraid that I don't have a 1.02 to hand right now, but that's not the latest. I'd thoroughly recommend the the 1.03 release, unless you've got a good reason not to upgrade. I did fix some tooltip rel

Re: [perl-win32-gui-users] [win32-gui] Re: Checking for memory leaks?

2006-08-03 Thread Robert May
Steve, Laurent in no longer maintaining WIN32::GUI::DIBitmap, and it's in the Win32::GUI repository. I've had a quick look at the source, and it appears there is indeed a leak, which matches your described symptoms: - If there is no transparency in the image, then AlphaCOpyToDC uses exactl

[perl-win32-gui-users] Beta release of 1.04 available for testing

2006-08-03 Thread Robert May
Enjoy! Did I say to make sure you read the release notes? They're online at http://www.robmay.me.uk/win32gui/RELEASENOTES.TXT Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] Beta release of 1.04 available for testing

2006-08-04 Thread Robert May
I have been sent reports about some people not getting this, so resending. Apologies if you already saw it. Rob. Original Message Subject: Beta release of 1.04 available for testing Date: Fri, 04 Aug 2006 01:24:08 +0100 From: Robert May <[EMAIL PROTECTED]> To:

Re: [perl-win32-gui-users] [win32-gui] Re: Beta release of 1.04 available fortesting

2006-08-04 Thread Robert May
Jamal Mazrui wrote: Thanks for these improvements! And thanks for the feedback. So long as no one turns up anything too terrible I'll turn it into an official 1.04 release in a few weeks time. Tabbing out of a multi-line edit control now seems fine. The Escape key still aborts the program

Re: [perl-win32-gui-users] [win32-gui] Re: Beta release of 1.04 available fortesting

2006-08-04 Thread Robert May
Jamal Mazrui wrote: A clarification on the Escape key issue. I think the behavior should be to trigger a click event on a Cancel button if one is defined. That's how it is for everything other than a multi-line TextField/RichEdit. See my previous posting. Rob.

Re: [perl-win32-gui-users] Event subroutines not called

2006-08-30 Thread Robert May
Arthur Schwarz wrote: [snip] I put the into my 'Win' nanamespacesing 'project Win;', violating condition 1) above. I can't figure how you got it to work. If you did, then my reasoning above is incorrect and needs to be changed. Any ideas? Peter is using a very, very old version of Win32::GUI.

Re: [perl-win32-gui-users] Win32::GUI and RPC Server??

2006-08-30 Thread Robert May
Jeremy White wrote: I'm in trouble using Win32::GUI together with Event::RPC::Server. How can I run both in my script? The RPC parts needs the following lines to start: my $server = Event::RPC::Server->new ( port=> , ); $server->start; and Win32::GUI needs: Win32::GUI::Dialog()

[perl-win32-gui-users] Keyboard navigation for win32-gui-demos script [Was: Beta release of 1.04 available fortesting]

2006-08-30 Thread Robert May
Robert May wrote: Jamal Mazrui wrote: [snip] The batch file to run examples worked. Unfortunately though, the program is difficult to access by a screen reader and keyboard user. I could not figure out how to move focus to the tree view with keyboard commands. After clicking on a tree view

Re: [perl-win32-gui-users] Win32::GUI and RPC Server??

2006-08-31 Thread Robert May
tinti wrote: Thanks for this information, I've read that Win32::GUI::ThreadUtils is currently experimental!? Do you have used Win32::GUI::ThreadUtils in a real environment and tested it for stability? I've not used it in anger for a project, but equally I've not had any problems or had any pr

Re: [perl-win32-gui-users] [Activestate Perl Install failed

2006-08-31 Thread Robert May
Arthur Schwarz wrote: With nothing better to do, I tried installing Win32::GUI into Activestate Perl with bad results. Text below. Any solution? If I wanted to install V1.03 on ActivePerl, then I'd use ppm. c:\perl\bin\perl.exe -MCPAN -e shell I've never had any good experiences with trying

[perl-win32-gui-users] Win32::GUI::ThreadUtils [Was: Win32::GUI and RPC Server]

2006-08-31 Thread Robert May
Robert May wrote: I've not used it in anger for a project, but equally I've not had any problems or had any problems reported. The 'experimental' label, is mainly because I know there are some additional things I want to complete, and the fact that there's no real

Re: [perl-win32-gui-users] [win32-gui] precision timer event?

2006-09-06 Thread Robert May
Steve Loughran wrote: Just a quicky... I need to be able to obtain a high precision time stamp when certain events are triggered (more precise than time()), and after searching cpan for some answers, it seems there are a lot of options I could choose. Any pointers? Time::HiRes should do what

Re: [perl-win32-gui-users] How to disable the default action of Textfield in onKeyDown()?

2006-09-06 Thread Robert May
flw wrote: I want to write an editor use Win32::GUI; So I hope I can process the KeyDown event for Textfield control by myself. After some tries, I can't disable the default action of Textfield in sub onKeyDown(). following is my code, any help would be appreciated. Sorry, but it's not clear t

Re: [perl-win32-gui-users] [win32-gui] Listbox multi-column

2006-09-06 Thread Robert May
Roode, Eric wrote: I am trying to figure out how to work with a multiple-column listbox. The doco clearly shows how to create the Listbox as multi-colum: -multicolumn => 0/1 (default 0) but it says nothing about how to add/insert multicolumn items. No different to adding non-multicolumn i

Re: [perl-win32-gui-users] [win32-gui] Listbox multi-column

2006-09-06 Thread Robert May
-vscroll => 1, s/vscroll/hscroll/ Regards, Rob.

Re: [perl-win32-gui-users] ListView - Report Mode [Was: Listbox multi-column]

2006-09-06 Thread Robert May
Roode, Eric wrote: AH! The light dawns! The problem is not in the Listbox, it's in my expectations of it. :-) I had thought that a multi-column listbox would show multiple sub-items *per selectable item*, sort of the way a ListView works. Say I was doing library books, and the user's search

[perl-win32-gui-users] 1.03_04 beta testers and preparing for a 1.04 release

2006-09-07 Thread Robert May
the week after next. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-14 Thread Robert May
Steve Loughran wrote: How does DIBitmap cope with Animated GIF files? I see no reference to multiple image GIFs in the docs, so I`m guessing it doesnt deal with them at all. I've not tried it, but suspect that DIBitmap doesn't cope with animated gifs (as an aside I seem to remember seeing som

Re: [perl-win32-gui-users] [win32-gui] Re: Question: GridLayout

2006-09-14 Thread Robert May
Jeremy White wrote: Hello! First of all a big thanks for this mailing list, definitly great. This is my first post but I'm reading it for a while now. SO, here is my question: I need a Grid for a database application. The grid should only show the rows of a table and the content should be editab

Re: [perl-win32-gui-users] [win32-gui] Access the text content of a message box

2006-09-15 Thread Robert May
Wang, Yu wrote: I am trying to automatically handle the exception dialogs (I believe they are message boxes) thrown from micosoft offices (COM objects). The problem I meet is how to get the text content of the exception dialog after I get the handle of the window. Once I can have that information

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-15 Thread Robert May
Steve Loughran wrote: Thanks Robert. Sadly, the images are loaded from a profile that users create, so the option of using a fixed AVI isnt possible. I`ll go have a play with Image:ParseGIF -> DIBitmap, and see if that will do what I`m looking for. That looks like a way to go for now. The F

Re: [perl-win32-gui-users] [win32-gui] "hotkeys" for an inactive window?

2006-09-19 Thread Robert May
Steve Loughran wrote: I have seen several programs that have installed some kind of "hotkey" event handler that the controlling program is sent when triggered, even if the window is minimized, or in the system tray, or does not currently have keyboard/system focus. All the keyboard related item

Re: [perl-win32-gui-users] HTML comments on Win32::GUI 1.03_04

2006-09-21 Thread Robert May
Arthur Schwarz wrote: Well, being in a Lofty mode, I did a review of all options that I could find in the latest HTML file download. Recommendations follow. As always, these are comments and not criticisms. The effort to get to this point seems huge and worthwhile, and I am greatful. Thank yo

Re: [perl-win32-gui-users] [win32-gui] RE: 1.03_04 beta testers and preparing for a1.04 release

2006-09-21 Thread Robert May
Chris Wearn wrote: Hi Rob, Just checked out latest from CVS... Attempted to compile on Windows XP SP2 with ActiveState Perl v5.8.8 with VC6++ and got the following error: [snip] Undefined subroutine &main::UpdateHTML_blib called at -e line 1. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe

Re: [perl-win32-gui-users] [win32-gui] Re: 1.03_04 beta testers and preparing for a 1.04 release

2006-09-21 Thread Robert May
Reini Urban wrote: Robert May schrieb: A number of you (about 30 if I interpret my server logs correctly) have downloaded Win32::GUI V1.03_04 beta. ... (2) I downloaded 1.03_04 and have been using it, but have had problems (please tell me what problems you have been having) Sat Sep 9 10:52

Re: [perl-win32-gui-users] [win32-gui] RE: 1.03_04 beta testers and preparing for a1.04 release

2006-09-21 Thread Robert May
Glenn Linderman wrote: > On approximately 9/21/2006 12:33 PM, came the following characters from > the keyboard of Robert May: >> Chris Wearn wrote: >> >>> Hi Rob, >>> >>> Just checked out latest from CVS... >>> >>> Attempted

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-25 Thread Robert May
Steve Loughran wrote: Well, my attempts at loading in animated/multi-page GIFs has come to a stop. Image:ParseGIF seems to create "invalid gifs" (but its last update was 1999 apparently!), DIBitmap doesnt handle them at all (due to it using an earlier version of FreeImage), Imager::Files only

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-27 Thread Robert May
Brian Millham wrote: I've got a simple script that can display an animated gif. [snip] I think that it could be improved. It's a bit slow loading the gif, and it doesn't handle the missing information from some frames (changes from I-frames [in MPEG speak]) and it doesn't handle transparent

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-27 Thread Robert May
Glenn Linderman wrote: On approximately 9/27/2006 11:41 AM, came the following characters from the keyboard of Robert May: Brian Millham wrote: [various snips] Would this be a good script to add as an example script with the Win32::GUI distribution? I have a policy (open for

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-09-27 Thread Robert May
the constants I've used. (If I remember correctly AlphaCopyToDC has a resource leak in earlier DIBitmaps too) My attempt below - enjoy. Rob. #!perl -w # (C) 2006 Brian Millham [EMAIL PROTECTED] # The perl artistic license applies. # Modification for drawing into window DC by Robert May

Re: [perl-win32-gui-users] "hotkeys" for an inactive window?

2006-09-29 Thread Robert May
Steve Loughran wrote: > I have seen several programs that have installed some > kind of "hotkey" event handler that the controlling program > is sent when triggered, even if the window is minimized, > or in the system tray, or does not currently have > keyboard/system focus. All the keyboard relat

Re: [perl-win32-gui-users] [win32-gui] DIBitmap and Animated GIFs?

2006-10-01 Thread Robert May
Glenn Linderman wrote: > Will you be putting your TMTOWTDI offering on the Wiki also? Steve Loughran wrote: My code is usually very ugly, and nowhere near as "pro" looking as the offerings posted here, but i`ll knock something up so you can all laugh at it :) Please don't allow any particular

Re: [perl-win32-gui-users] [win32-gui] Win32::GUI dialog doesn't close

2006-10-04 Thread Robert May
Octavian Rasnita wrote: I have made the main window a "dialog" window for making it usable with a keyboard, so if I press the escape key, the program closes. Well, this is pretty ok, but the problem is that perl interpreter doesn't always close, and after closing the program that way, I can see

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

2006-10-04 Thread Robert May
Arthur Schwarz wrote: Does this really exist? my $a = Win32::GUI::ToolbarWindow( ... ); I never heard of Win32::GUI::ToolbarWindow, but that doesn't mean it doesn't exist. Rob.

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

2006-10-05 Thread Robert May
Arthur Schwarz wrote: */Robert May <[EMAIL PROTECTED]>/* wrote: Arthur Schwarz wrote: > Does this really exist? > > my $a = Win32::GUI::ToolbarWindow( ... ); I never heard of Win32::GUI::ToolbarWindow, but that doesn't mean it doesn't

Re: [perl-win32-gui-users] [win32-gui] Grid questions

2006-10-11 Thread Robert May
Arthur Schwarz wrote: I'm trying to use 1.03_4 Grid and have the following questions: 1. In GUI.html::SetCellFormat there is a listing of 'DT_*' formats. In GUI::Constants but missing from this list are: DT_CHARSTREAM DT_DISPFILE DTIDEPREFIX DT_METAFILE DT_NOFULLWIDTHCHARBREAK DT_

Re: [perl-win32-gui-users] [win32-gui] Win32::GUI::AxWindow and UTF-8

2006-10-11 Thread Robert May
Octavian Rasnita wrote: If Win32::GUI doesn't support UTF-8 but some controls in Windows supports it (like the multiline textfield in Notepad), can I include those controls in a Win32::GUI application using Win32::GUI::AxWindow module? If yes, how can I find the class names of those controls? I

Re: [perl-win32-gui-users] [win32-gui] Win32::GUI dialog doesn'tclose

2006-10-11 Thread Robert May
"Robert May" <[EMAIL PROTECTED]> wrote: Do you have a multi-line edit control (Win32::GUI::Textfield) in the dialog? Does this symptom only occur when the textfield has focus? If so it's a known bug - I can generate a work around, let me know. Teddy wrote: Hmm, stran

Re: [perl-win32-gui-users] [win32-gui] Adding -image to Listview - subitem

2006-10-11 Thread Robert May
Chris Wearn wrote: I have a need to insert images into subitems of a listview control in columns other than the first. It is relatively easy to add images to the Listview column header using: $lvwCtrl->InsertColumn(-index => 0, -subitem => $i, -text => “”, -image => 0); # where -image referen

Re: [perl-win32-gui-users] [win32-gui] Re: Grid questions

2006-10-12 Thread Robert May
Arthur Schwarz wrote: As a separate note to Robert May, it appears that the following constants are missing from Win32::GUI::Constants (or I am missing the point): GVIT_CHECK = Check Box GVIT_DATE= Date control GVIT_DATECAL = Date control with calendar control GVIT_DEFAULT

Re: [perl-win32-gui-users] [win32-gui] Re: Grid questions

2006-10-13 Thread Robert May
Arthur Schwarz wrote: Thanks; On the topic of constants, in my humble way I thought that all constants were located in GUI::Constants. Is there a caveat to this? [snipped discussion about GVIT_* and other Grid control constants being defined and exported by the Win32::GUI::Grid package and

[perl-win32-gui-users] ANNOUNCE: Win32::GUI v1.04

2006-10-15 Thread Robert May
has been aliased to the GUI namespace for backwards compatibility with very early scripts. This aliasing has been removed, and any remaining scripts will need updating. Contributors to this release Robert May Reini Urban Jeremy White -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [perl-win32-gui-users] [win32-gui] onKeyUp

2006-10-15 Thread Robert May
Octavian Rasnita wrote: Hi, I have tried the test script below, and if I press enter on the text field, the onKeyUp event is not handled at all. If I press other keys, that event appears, but not if I press enter. onKeyUp is handled, but I also need the onKeyUp event. Is it a bug, or am I doi

Re: [perl-win32-gui-users] [win32-gui] POD for 1.04

2006-10-17 Thread Robert May
Octavian Rasnita wrote: I have installed Win32::GUI 1.04 using ppm, but the POD docs were not installed. How can I get the documentation for this version? HTML documentation should have been installed. Some time ago we made a decision not to package the POD documentation in the PPM, but I do

Re: [perl-win32-gui-users] [win32-gui] scrollbars in a textfield within an MDIChild window?

2006-10-18 Thread Robert May
Geoffrey Spear wrote: Does anyone out there know if it's possible to add a vertical scrollbar to a multiline textfield that's displayed inside an MDIChild window? An identical call to AddTextfield with multiline and autovscroll options turned on produces a textfield with a scrollbar in a regular

Re: [perl-win32-gui-users] [win32-gui] Displaying a button on a DC

2006-10-21 Thread Robert May
Brian Millham wrote: I'm working on adding button support to Skin.pm. My question is how to draw a button on the DC, without it being overwritten by whatever is drawn on the DC. For a good example, try the sample Draw.pl included with Win32::GUI, and add a button to the window. The button will

Re: [perl-win32-gui-users] [win32-gui] NEM Menus?

2006-10-23 Thread Robert May
Glenn Linderman wrote: > Hi, > > Last time I tried to play around with NEM menus, they didn't work, but > that was several years ago. > > 1) Do they work now? > 2) Any one have a small working sample? I didn't find one in the demos I've not played extensively with the menu support. Basic

Re: [perl-win32-gui-users] [win32-gui] Displaying a button on a DC

2006-10-23 Thread Robert May
Brian Millham wrote: > BTW, I haven't tried yet, but do you know how using WS_CLICKCHILDREN works with other controls? (Like the caption of a checkbox, does the caption show with the bitmap as the background, or is the window background show?) That's WM_CLIPCHILDREN :-) I would expect other

Re: [perl-win32-gui-users] [win32-gui] Force overlapped DCs to update?

2006-10-23 Thread Robert May
Steve Loughran wrote: When I grab a window's (or DC's) contents and save it out as an image for later use, it all works fine unless the window/DC is partially offscreen or overlapped/overlayed by another window. Is there a flag or style I can use to force the window/DC to be updated by the syst

Re: [perl-win32-gui-users] [The GUI Loft] The future of GUI programming in Perl?

2006-10-23 Thread Robert May
Johan Lindstrom wrote: At 19:16 2006-10-19, Dave wrote (on the TGL list): Since loft is no longer in development, I was wondering if anyone is aware of similar software for win32::gui ? After upgrading to 1.04 today it made me realize the controls we are missing out on. Does anyone know of anoth

Re: [perl-win32-gui-users] NEM Menus?

2006-10-24 Thread Robert May
Glenn Linderman wrote: Robert May wrote: Glenn Linderman wrote: > Hi, > > Last time I tried to play around with NEM menus, they didn't work, but > that was several years ago. > > 1) Do they work now? > 2) Any one have a small working sample? I didn't fi

Re: [perl-win32-gui-users] [win32-gui] Force overlapped DCs to update?

2006-10-24 Thread Robert May
Steve Loughran wrote: Robert May wrote: I've never tried, but I believe you can do what you want by creating a compatible DC, and then sending a WM_PRINT message to the window, with the DC's handle in the wParam and some flags in the lParam (see MDSN for more info). I think most of

Re: [perl-win32-gui-users] [win32-gui] Force overlapped DCs to update?

2006-10-24 Thread Robert May
Steve Loughran wrote: Robert May wrote: foreach my $tempwin (@windows) { # $tempwin->InvalidateRect(1); Win32::GUI::InvalidateRect($tmpwin, 1); # $tmpwin is a scalar not an object my $tempdib = newFromWindow Win32::GUI::DIBitmap ($tempwi

<    1   2   3   4   5   >