Re: [perl-win32-gui-users] Icon in menu?

2007-07-27 Thread Robert May
On 27/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > is it possible to show an icon within a menu? Not directly using Win32::GUI, but using Win32::API too ... I posted some code to the list a few months ago - I was going to give you a pointer to the list archive, but it appears that SF's se

Re: [perl-win32-gui-users] Qs on Sliders, Buttons and the KBD (Was: Accelerator Scoping Oddity)

2007-07-27 Thread Robert May
On 27/07/07, Veli-Pekka Tätilä <[EMAIL PROTECTED]> wrote: > First of all, good to hear you are working on a TK-like layout manager. > I'm looking forward to its release. Don't hold you breath :-) Just because it's on my list doesn't mean that I'll get around to it. Of course, anyone else is free

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-28 Thread Robert May
On 26/07/07, Robert May <[EMAIL PROTECTED]> wrote: > On 26/07/07, Marc Nürnberger <[EMAIL PROTECTED]> wrote: > > H... I found a strange behavior after adding some "debugging" prints. > > The delay occurs when the last command is executed. That `links.html`

[perl-win32-gui-users] Request for help tracking down bug

2007-07-28 Thread Robert May
All, We've had a recent thread discussing a delay in launching an external program after creating a Win32::GUI window. After some investigation I think this is a problem in perl, and not something we can do anything about in Win32::GUI. In order to help me track this down, I'd like to get some

Re: [perl-win32-gui-users] Request for help tracking down bug

2007-07-28 Thread Robert May
On 28/07/07, Robert May <[EMAIL PROTECTED]> wrote: > In order to help me track this down, I'd like to get some information > from as wide a set of perl versions and operating systems as possible, > but I only have Win98 available to me right now. I'd appreciate it > i

Re: [perl-win32-gui-users] Request for help tracking down bug

2007-07-28 Thread Robert May
On 28/07/07, Robert May <[EMAIL PROTECTED]> wrote: > On 28/07/07, Robert May <[EMAIL PROTECTED]> wrote: > > In order to help me track this down, I'd like to get some information > > from as wide a set of perl versions and operating systems as possible, > >

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-28 Thread Robert May
On Sat, 28 Jul 2007, Robert May wrote: > Here's what happens - the call to system, or using backticks, makes a > request to the OS to find the program associated with *.html files, > launch it (if it isn't already running) and ask it to open the html > file. > > As pa

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-29 Thread Robert May
On 29/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > On Sat, 28 Jul 2007, Robert May wrote: > > On 28/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > > > CreateProcess() will return and not wait for command.com/cmd.exe to > > > initialize. Upon return

[perl-win32-gui-users] HWND_MESSAGE on Win98 [Was: Why is my GUI hanging?]

2007-07-29 Thread Robert May
On 29/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > PS: Please let me know if you happen to know a mechanism to create a > message-only window on 98/NT (a window that is not top-level and > will not receive broadcast messages). If this were possible, then we > could get rid of PostThr

Re: [perl-win32-gui-users] HWND_MESSAGE on Win98

2007-07-30 Thread Robert May
On 30/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > On Sun, 29 Jul 2007, Robert May wrote: > > On 29/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > > > PS: Please let me know if you happen to know a mechanism to create a > > > message-only window on 98

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-30 Thread Robert May
Re-post to the win32-gui-users list, without the zip attachment, so that it goes through. Rob. On 30/07/07, Robert May <[EMAIL PROTECTED]> wrote: > > On 29/07/07, Jan Dubois <[EMAIL PROTECTED]> wrote: > > > The whole reason for *not* running a message pump is

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-31 Thread Robert May
On 30/07/07, Robert May <[EMAIL PROTECTED]> wrote: > Attached is a patch to win32.c (against AS build 819). It implements > most of what I've talked about, plus a few other bits. It fails 2 of the fork() tests on bleed, and one under AS build 819. > A lot of the compl

Re: [perl-win32-gui-users] Timer not being fired when using threads

2007-07-31 Thread Robert May
On 31/07/07, Brian Fredette <[EMAIL PROTECTED]> wrote: > I found the threads example posted in this group and began playing around. > I've modified the code to add a splash screen using Win32::GUI:SplashScreen, > a timer taken from Tutorial_Part4_timer.pl, a statusbar, and a notifyicon. > For some

Re: [win32gui] Re: [perl-win32-gui-users] Wrappers for listviews/comboboxes etc...

2005-02-15 Thread Robert May
Hi all, I've been a lurker on this list for some time now (probably a year or more), but I finally got time in the last few weeks to start playing with Win32::GUI properly. Firstly can I thank the regulars for a great set of features, and to say what an improvement V1.0 is over what I had pl

[perl-win32-gui-users] Win32::GUI bugs

2005-02-15 Thread Robert May
A quick question on process: Should potential bugs be discussed on this list before raising bug reports at sourceforge? Rob.

[perl-win32-gui-users] Hyperlink.pm [Was: Wrappers for listviews/comboboxes etc...]

2005-02-16 Thread Robert May
[EMAIL PROTECTED] wrote: Quoting Robert May <[EMAIL PROTECTED]>: [snip] I though this might be a good moment to introduce HyperLink.pm - a sub-classing of Win32::GUI::Label that acts as a clickable hyperlink: This is a great start - a nice object. Thanks. Although I had a p

[perl-win32-gui-users] Hyperlink.pm [Was: Wrappers for listviews/comboboxes etc...]

2005-02-16 Thread Robert May
Glenn Linderman wrote: Would it not be possible to just use system qq{start whatever_command}; instead of ShellExecute? What is the advantage of ShellExecute? That seems to work fine on my Win98 system. It takes a bit longer to return control to the GUI (but only just noticable), and

[perl-win32-gui-users] Re: HyperLink.pm

2005-02-16 Thread Robert May
::API dependencies. I'll steal the idea of adding an AddHyperLink method to the Win32::GUI::Window namespace though. Rob. Glenn Linderman wrote: On approximately 2/16/2005 3:00 AM, came the following characters from the keyboard of [EMAIL PROTECTED]: Quoting Robert May <[EMAIL PROTECT

Re: [win32gui] [perl-win32-gui-users] How to draw GridLayout?

2005-02-20 Thread Robert May
Hi, Interestingly I was looking at this just yesterday. The draw() method draws lines directly on the DC (device context), and for this to have any effect, the window must be visible. So make sure you have called Show() on the window you want to draw on ... Also you will see that no re-pai

[perl-win32-gui-users] HyperLink.pm v0.11 available

2005-02-20 Thread Robert May
Hi, Have updated my HyperLink.pm module, taking into account previous comments. It is available for download from http://www.robmay.me.uk/win32gui/ Summary of changes: - Wrote initial test suite - Turned comments into pod documentation, and completed documentation - Made API backward compati

[perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-16 Thread Robert May
I have submitted a bug report whose text I reproduce below. A file with the code from below is attached to the bug report. http://sourceforge.net/tracker/index.php?func=detail&aid=1164766&group_id=16572&atid=116572 Regards, Rob. Unhook() causes perl Warning --- This

[perl-win32-gui-users] BUG Followup[1092732 ]:Slider no longer supports setting position

2005-03-16 Thread Robert May
I have submitted a follow-up a bug report whose text I reproduce below. http://sourceforge.net/tracker/index.php?func=detail&aid=1092732&group_id=16572&atid=116572 Regards, Rob. This example shows a problem with Win32::GUI::Slider/Trackbar::Pos() method. It creates 3 sliders, and attempts to s

[perl-win32-gui-users] BUG REPORT [1164780]: Label does not show bitmap on creation

2005-03-16 Thread Robert May
I have submitted a bug report whose text I reproduce below. A file with code demonstrating the problem is attached. http://sourceforge.net/tracker/index.php?func=detail&aid=1164780&group_id=16572&atid=116572 Regards, Rob. The attached file shows an example of a bitmap label that remains blank

[perl-win32-gui-users] BUG REPORT: [ 1164783 ] EnumMyWindows() does not work

2005-03-16 Thread Robert May
I have submitted a bug report whose text I reproduce below. http://sourceforge.net/tracker/index.php?func=detail&aid=1164783&group_id=16572&atid=116572 Regards, Rob. [ 1164783 ] EnumMyWindows() does not work --- Win32::GUI::EnumMyWindows() sh

[perl-win32-gui-users] Possible Bug with DoModal

2005-03-16 Thread Robert May
I've gone nearly blind looking through the source code, and can't see why I am experiencing the following behaviour. I have examined the windows generated with Spy++, and the modal window has its parent/owner set correctly, and I cannot see how the movement of the modal window before calling Do

[perl-win32-gui-users] Any plans for another Win32::GUI release

2005-03-16 Thread Robert May
Question targetted at Laurent, I think. Are there any plans for an official 1.XX release, or an unofficial release of a CVS HEAD build, so those of us who don't have the capability to build from the CVS source can take advantage of the fixes and enhancements that are being applied to CVS? Re

Re: [win32gui] Re: [perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Robert May
ed to reproduce this bug using your example but I couldn't reproduce it. I'm on 5.6.1 638 Win32::GUI 1.0 Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 8:29 PM Subject: [perl-win32-gui-users] BUG REPORT[

Re: [win32gui] Re: [perl-win32-gui-users] BUG Followup[1092732 ]:Slider no longer supports setting position

2005-03-17 Thread Robert May
locical to me that redrawing be the default. Rob. Jez White wrote: Hi, I'm not sure if this is a bug, but a "feature":) The docs seem to imply that if you want the control to redraw then you have to explicitly pass 1. Thoughts anyone? Cheers, jez. - Original Message

Re: [win32gui] Re: [perl-win32-gui-users] BUG REPORT: [ 1164783 ] EnumMyWindows() does not work

2005-03-17 Thread Robert May
LE); //if(!(style & GW_CHILD)) { av_push(ary, newSViv((long)hwnd)); //} } return TRUE; } - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 8:55 PM Subject: [perl-win32-gui-users] BUG REPORT

Re: [win32gui] Re: [perl-win32-gui-users] Possible Bug with DoModal

2005-03-17 Thread Robert May
does seem odd behaviour, and I can't see any thing that is wrong. Perhaps it is a bug? Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 9:38 PM Subject: [perl-win32-gui-users] Possible Bug with DoModal

[perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Robert May
Glen, thanks for the report.I'd be interested in a 5.8.6 report from someone, so that I can narrow it down to perl, or simply my installation. perl v5.8.4 build 810, Win32::GUI v1.0.1 [snip] I notice the error message you reported was from line 40, but there were not 40 lines in your tes

[perl-win32-gui-users] Documentation and default values [Was: BUG Followup[1092732 ]:Slider no longer supports setting position]

2005-03-23 Thread Robert May
Glen, Jez, Johan, Thank you for your follow-ups to the original bug report. I've had a quick scout round the other .xs files, and this documentation syntax isn't used elsewhere. I do, however, believe that I can clarify the syntax of the documentation for trackbasr.xs. The documentation o

[perl-win32-gui-users] Patches for toolbar.xs and Hook()ing WM_NOTIFY

2005-03-23 Thread Robert May
I have been struggling with getting drop-down menus from toolbar buttons working. I'm nearly there, but not quite. I'll post separately to share my finding once I have some tidier working code. I've found a number of problems that need fixing in the XS source (some related to drop-down menu

Re: [win32gui] [perl-win32-gui-users] Catching Combobox droplist mouse clicks

2005-05-05 Thread Robert May
From the html page for the Win32::GUI class: > Dialog() > > Enter the GUI dialog phase: the script halts, the user can interact with the created > windows and events subroutines are triggered as necessary; note that this function > must be called without ANY parameter or instantiation (eg. don'

Re: [win32gui] Re: [perl-win32-gui-users] Button and RichEdit issues

2005-05-19 Thread Robert May
Hi all, I've been travelling on business for the last couple of weekes, and so have had a few spare moments at airports to have a look into these 2 issues, and think I have got to the root cause in both cases. RichEdit crashing on exit: Fundamentally this is a problem with Win32::GUI, where

Re: [perl-win32-gui-users] Catching Combobox droplist mouse clicks

2005-05-23 Thread Robert May
Jez White wrote: Kurt, droplist didn't work with the mouse but it wasn't obvious why. I wonder if invoking Dialog() via an instance should be outright forbidden in GUI.pm or GUI.xs. Unless there is a reason for Dialog to exists as a method - it probably should be forbidden - thoughts anyo

[perl-win32-gui-users] CVS Commits - bug fixes and enhancements

2005-05-25 Thread Robert May
All, Jez White has kindly committed a set of changes that have been accumulating in my workspace. Details below: I will post a further message (to the users list only) about the Coolmenu changes mentioned below. + [Robert May] : Fixes for Toolbars: - Toolbar.xs: + Fixed message

[perl-win32-gui-users] Internet Exlorer like tool and menu bars (Coolbar.pm)

2005-05-25 Thread Robert May
All, I have for some time no been tinkering with getting Internet Explorer like menu bars working (aka CoolMenu or CoolBar). If you have the facility to download the latest CVS code, and build your own Win32::GUI, then you may be interested in my Coolbar.pm module, available from http://www.

Re: [perl-win32-gui-users] Internet Exlorer like tool and menu bars (Coolbar.pm)

2005-06-01 Thread Robert May
Aldo Calpini wrote: Jez White wrote: The coolbar basically inherits from the rebar - various changes were added by Rob so that menus can be added to a band within the rebar:) cool then :-) See more information on what I've implemented at: http://msdn.microsoft.com/library/default.asp?url=/

Re: [perl-win32-gui-users] RichEdit and Hyperlink

2005-06-05 Thread Robert May
Len, This should get you started. I've only tested on activestate perl 5.8.6, and win98. You'll need a Win32::GUI build from CVS if you want to be able to click on the links,as Hook()ing WM_NOTIFY messages is broken in Win32::GUI V1.0. Let me know how you get on. Regards, Rob. #!perl use

Re: [win32gui] [perl-win32-gui-users] Catching die() before Win32::GUI

2005-06-08 Thread Robert May
Can you catch the 'die' by putting the offending call in an eval block (perldoc -f eval). Regards, Rob. #!perl use strict; use warnings; use Win32::GUI; my $mw = Win32::GUI::Window->new( -title => "Cheating death", -pos => [100,100], -size => [100,100], ); $mw->AddButton( -text => "Cl

[perl-win32-gui-users] New release soon: Win32::GUI v1.01 RC1 available for testing

2005-06-19 Thread Robert May
All, We've been discussing a new release on the hackers list for the last week or so. There's a lot of good additions and bug fixes that have been made by various contributors since the V1.0 release at the end of last year. Release candidate 1 (RC1) for V1.01 is available for downloading an

Re: [win32gui] [perl-win32-gui-users] New release soon: Win32::GUI v1.01 RC1 available for testing

2005-06-27 Thread Robert May
Robert May wrote: [edited] Release candidate 1 (RC1) for V1.01 is available for downloading and testing. PPMs for ActiveState perl 5.6 and 5.8 are available from http://www.robmay.me.uk/win32gui/ The PPMs include the CHANGELOG. Assuming that there are no problems with this release

Re: [win32gui] [perl-win32-gui-users] TabFrame - deprecated style

2005-07-02 Thread Robert May
Chris Wearn wrote: Hi All, Using the TabFrame module developed by Laurent... however using the latest checkout from Sourceforge CVS, in use, it errors with non-fatal warnings of '-style' and '-exstyle' being deprecated in GUI.pm line 597. Has anybody got a fix for Frame.pm to work. Chris,

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

2005-07-11 Thread Robert May
I am please to announce that v1.02 of Win32::GUI is available for download from SourceForge. Win32::GUI is a Perl extension allowing creation of native Win32 GUI applications. Project summary and download: http://sourceforge.net/projects/perl-win32-gui/ Release notes: http://sourceforge.net/p

RE: [perl-win32-gui-users] listview text color

2005-07-11 Thread Robert May
Glenn W Munroe wrote: I'm afraid the short answer is "no" (as far as I'm aware)--at least not using the latest Win32::GUI release. Someone asked this a year or so ago and I looked into it, eventually coming up with a tremendous hack (using hooks) to get it to work. Since then, the XS code has ch

Re: [win32gui] RE: [perl-win32-gui-users] Window Background Color

2005-07-11 Thread Robert May
I can confirm that I get the same behaviour under Win98: AP 5.6.1 has a green background AP 5.8.7 has a grey background Rob. Jeremy White wrote: Does not work on WinXP SP2, Perl 5.8.4 and Win32::GUI v1.0.3 Just normal grey background, even tried dropping the ::class and and $winBackBrush as -

Re: [win32gui] [perl-win32-gui-users] The window -backgroud option

2005-07-11 Thread Robert May
That doesn't work here either, and I agree that it should. I raised a tracker for this one too: 1236283 Rob. Jeremy White wrote: Can anyone remember if this has ever worked? Looking at the options logic within Win32-GUI you should be able to do: my $win = new Win32::GUI::Window( -name

Re: [win32gui] [perl-win32-gui-users] DragDrop Functionality?

2005-07-11 Thread Robert May
Jason, The XS changes that are required are in Win32::GUI (and have been for some time), and that package seems to work fine for me in the quick test I just did (Win98, Perl 5.8.7, Win32::GUI 1.02). I'll put adding the required functions on the TODO list, as it would be nice to get rid of th

Re: [perl-win32-gui-users] listview text color

2005-07-14 Thread Robert May
Glenn W Munroe wrote: Rob, No problem adding it as a sample. When I posted this, it was a little tongue in cheek, as the "RtlMoveMemory" API call is a tremendous kludge, but I couldn't figure any way to do it with pure perl. Then again, if it *is* the only way, then I guess it also qualifies as

Re: [win32gui] [perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-15 Thread Robert May
Dan, $re->Text() behind the scenes calls the win32api GetWindowText API, which in turn sends a WM_GETTEXT message to the richedit control. As far as I can see there is no Unicode version of GetWindowText.. You actually need to send a EM_GETTEXTEX message (see msdn for more information). Thi

Re: [win32gui] [perl-win32-gui-users] Iterating through the controls of a window

2005-07-15 Thread Robert May
Dan Dascalescu wrote: Hello everyone, I've been using Win32::GUI for a while, but this is my first post on the mailing list. Welcome. What I'm wondering is if there is a way to iterate through all the controls in a window, by name. After creating a window, I examined the object in Komodo

Re: [perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-17 Thread Robert May
Glenn Linderman wrote: Hi Rob, I've been trying for a year to get some form of Unicode support into Win32::GUi, and you did it in an afternoon! (it seems) I was aware that you had been looking at this, but hadn't realised the scope: I though that you were looking for a 'full' unicode build.

Re: [win32gui] [perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-17 Thread Robert May
Glenn Linderman wrote: However, the code shown seems like it can't perform a "round trip". Right. I never implemented the return, as Dan's query was only for getting the text out. I should have change the button label to reflect this. I haven't yet figured out the magic by which "\u305

[perl-win32-gui-users] Announce: Win32::GUI::SplashScreen

2005-07-17 Thread Robert May
Win32::GUI::SplashScreen v0.01 has been released. Win32::GUI::SplashScreen is a module to make it exceedingly easy to add a Splash screen to your Win32::GUI application. Create your bitmap (or JPEG if you have Win32::GUI::DIBitmap available), and add 2 lines to your existing application. Tha

Re: [perl-win32-gui-users] Announce: Win32::GUI::SplashScreen

2005-07-17 Thread Robert May
Sorry all - wrong link. That should be: http://www.robmay.me.uk/win32gui/ Robert May wrote: Win32::GUI::SplashScreen is a module to make it exceedingly easy to add a Splash screen to your Win32::GUI application. Create your bitmap (or JPEG if you have Win32::GUI::DIBitmap available), and

Re: [perl-win32-gui-users] Announce: Win32::GUI::SplashScreen

2005-07-17 Thread Robert May
And finally . I've upped the version to V0.02 and fixed a bug I just found with selecting the directories o look for the splash image in. Also the bitmap shipped with the samples was corrupted. Apologies if you already downloaded it, should be fine now. Robert May wrote: Sorr

Re: [win32gui] Re: [perl-win32-gui-users] RichEdit->Text or ->GetSelText loses Unicode

2005-07-18 Thread Robert May
The behaviour is marginally better (from a brief experiment) if you use -class => "RichEdit20A" (Richedit 2or 3 depending on your system) when creating the RichEdit control. I couldn't see any immediate difference between that and "RichEdit20W". Put still not perfect. By using the clipboard

Re: [win32gui] Re: [perl-win32-gui-users] SSLeay fails when GUI is initialized

2005-07-19 Thread Robert May
Emmanuel E wrote: Even here the start_SSL fails. Can you make a script work without using any GUI (either Win32::GUI ot Tk). If so, then we can investigate further. If not, then it is likely a problem in Openssl/Net::SSLeay. The Win32::GUI code goes nowhere near any of the socket stuff,

Re: [win32gui] [perl-win32-gui-users] System Tray problem after upgrade to v1.02 from v1.00

2005-07-20 Thread Robert May
Daniel, Could you post a minimal example that exhibits this problem so that I can verify and track it down. I have played with with the TrackPopupMenu implementation in this release, but my testing didn't show any such problems. Also what Perl version, and what windows platform? Regards,

Re: [win32gui] [perl-win32-gui-users] System Tray problem after upgrade to v1.02 from v1.00

2005-07-20 Thread Robert May
Daniel Åkesson wrote: my($x, $y) = Win32::GUI::GetCursorPos(); $mw_win32->TrackPopupMenu($systray_menu->{SystrayMenu}, $x, $y); My most humble apologies. I've broken TrackPopupMenu() in a piece of logic that I spent so long looking at that I was *sure* I had it right. The fix is trivi

[perl-win32-gui-users] Next release [Was: System Tray problem after upgrade to v1.02 from v1.00]

2005-07-21 Thread Robert May
Glenn Linderman wrote: On approximately 7/20/2005 12:58 PM, came the following characters from the keyboard of Robert May: I've raised a tracker: 1241830, so that there is visibility of the problem. Does anyone think this is serious enough (as it breaks backwards compatibility) to wa

Re: [win32gui] RE: [perl-win32-gui-users] Next release [Was: System Tray problem after upgrade to v1.02 from v1.00]

2005-07-21 Thread Robert May
Frazier, Joe Jr wrote: I would have though that targeting a bug-fix only release for a month's time might be realistic. I'd like to get the following done: - fix as many of the trackers as possible - get all the current sample code to work properly - include all the examples from the tutorial

Re:[perl-win32-gui-users] Help My GUI, please

2005-07-25 Thread Robert May
[EMAIL PROTECTED] wrote: Thanks Steve; I've already downloaded the tutorial and it is incomplete. If you mean that parts 6-8 are missing, then they have not been written (yet?). If I remember correctly, it is replicated in CPAN and JEB. So they have been tried also. The material in JEB, da

Re: [win32gui] [perl-win32-gui-users] Re: Perl-Win32-GUI-Users digest, Vol 1 #1074 - 5 msgs

2005-07-26 Thread Robert May
[EMAIL PROTECTED] wrote: I do have a concrete example (given below). Behavior: 1. A window containing a list view w/caption and scroll bar is displayed. No it's not. There's no scrollbars in your example. 2. On clicking the terminate ('X') in the list view I expect that my list vie

Re: [win32gui] [perl-win32-gui-users] Thinner width

2005-07-26 Thread Robert May
Joe, A quick sample (minimum complete working code) showing what you've tried, and what doesn't work for you would be really helpful with knowing where to start. Dave posted a really good link to why this is a good idea yesterday: http://www.catb.org/~esr/faqs/smart-questions.html If I'm gu

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

2005-07-27 Thread Robert May
John, It's very had to understand what you are trying to do from such a brief description, so it's hard to suggest alternative approaches. Controls that can be (natively) edited are: Textfield Richedit ComboBox - (standard and drop-down types can enter items not in the list Listview - First co

[perl-win32-gui-users] Re: Readonly TextEdit redraw problem. [Was: otther thngs]

2005-07-27 Thread Robert May
perly.. Has anyone else seen this? It this something that could be fixed before the next release? Steve -Original Message- From: [EMAIL PROTECTED] on behalf of Robert May Sent: Thu 7/21/2005 6:23 PM To: Frazier, Joe Jr Cc: perl-win32-gui-users@lists.sourceforge.net Subject: [SPAM]

Re:[perl-win32-gui-users] Thinner width

2005-07-27 Thread Robert May
Lloyd, Steve wrote: Your sample produces the following error for me: --- perl.exe - Application Error --- The instruction at "0x77c460cb" referenced memory at "0x". The memory could not be "read". Click on OK to terminate the program Click

Re: [win32gui] RE: [perl-win32-gui-users] Thinner width

2005-07-27 Thread Robert May
Peopleclick Service Support Tel: +1-800-841-2365 E-Mail: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert May Sent: Wednesday, July 27, 2005 5:13 PM To: Lloyd, Steve Cc: perl-win32-gui-users@lists.sourceforge.net Subject: Re:

Re: [win32gui] [perl-win32-gui-users] RE: [SPAM] - Re: Readonly TextEdit redraw problem. [Was: otther thngs] - Bayesian Filter detected spam

2005-07-27 Thread Robert May
;$now\r\nHello This is a test of the emergency broadcast system and is only a test. Should this cause problems please report it to the authorities."; my $mstr="$str"x10; $Test->Append($mstr); } exit(0); -- -O

[perl-win32-gui-users] ANNOUNCE: New home on the web

2005-08-02 Thread Robert May
I am pleased to announce that Win32::GUI has a new home on the web at: http://perl-win32-gui.sourceforge.net/ There you'll find links to all things Win32::GUI including the latest documentation. Problems/suggestions/corrections to the users mailing list please. Regards, Rob.

Re: [win32gui] RE: [SPAM] - [perl-win32-gui-users] ANNOUNCE: New home on the web - Email found in subject

2005-08-02 Thread Robert May
mples or content for the areas marked TDB? I also suggest an Examples section in both the Methods and Events area. Steve Lloyd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert May Sent: Tuesday, August 02, 2005 3:35 PM To: [EMAIL PR

Re: [win32gui] Re[2]: [SPAM] - [perl-win32-gui-users] timer do not work - Email found in subject

2005-08-03 Thread Robert May
Сергей Черниенко wrote: LS> Change LS> my $mw = Win32::GUI ... LS> To LS> our $mw = Win32::GUI ... LS> This will allow the timer subroutine to see the $mw object. That'll make no difference. The subroutine can already see the lexically scoped variable. sub CheckDir_Timer { $mw->>Hide()

Re: [win32gui] Re[2]: [SPAM] - [perl-win32-gui-users] timer do not work - Email found in subject

2005-08-03 Thread Robert May
Apologies for the duplication - I should read all my mail before replying. Oh why can't mail user agents thread properly. Rob. Robert May wrote: Сергей Черниенко wrote: LS> Change LS> my $mw = Win32::GUI ... LS> To LS> our $mw = Win32::GUI ... LS> This will allow the

Re:[perl-win32-gui-users] timer do not work

2005-08-03 Thread Robert May
Сергей Черниенко wrote: But! Timer do not work as before though I declared $mw as our (not my) (Steve Lloyd advice) and corrected event handler. It's like that handler not executed at all. I have Win32-GUI 1.02, perl 5.8.6 and Windows98SE It works fine here using lexical variables, Win98SE, pe

Re: [perl-win32-gui-users] Control for Displaying the contents of a text file?

2005-08-03 Thread Robert May
Octavian Rasnita wrote: my $content; { local $/; open(FILE, $file_path); open(FILE, $file_path) or die "Failed to open $file_path: $!"; *always* check error conditions $content = ; close FILE; } Then insert the $content in the Win32::GUI control you want. For a Textfield that would be $text

Re: [win32gui] RE: [perl-win32-gui-users] Control for Displaying the contents of a text file?

2005-08-03 Thread Robert May
Mark Sutfin wrote: That's what I was asking..."but did not see a method to assign the content to the control". Here's what I see available thru the docs.. * Constructor o new Win32::GUI::Textfield(PARENT, %OPTIONS) * Methods o LineFromChar(INDEX) o MaxLen

Re: [win32gui] RE: [perl-win32-gui-users] Control for Displaying the contents of a text file?

2005-08-03 Thread Robert May
Mark Sutfin wrote: I installed 1.02 (5.8.7). I still cannot locate the Text() method in the Win32::GUI:Textfield entry. Could it be that I'm so new to this, I didn't understand that it's listed on the "Common Methods" entries? You're absolutely correct. Is there a beginners win32::gui list

Re: [perl-win32-gui-users] Readonly TextEdit redraw problem

2005-08-03 Thread Robert May
I've just put a fix for this into CVS. Regards, Rob. Robert May wrote: OK, I think that I've narrowed it down. A readonly edit control sends a WM_CTLCOLORSTATIC message before re-drawing, rather than a WM_CTLCOLOREDIT message. In the former case the code sets the backgrou

Re: [win32gui] [perl-win32-gui-users] The window -backgroud option

2005-08-03 Thread Robert May
I just put a fix for this into CVS. Rob. Jeremy White wrote: Can anyone remember if this has ever worked? Looking at the options logic within Win32-GUI you should be able to do: my $win = new Win32::GUI::Window( -name=> "WinMain", -pos => [100, 100], -size => [10

[perl-win32-gui-users] Mixing OEM and NEM events [Was: working/not working timer]

2005-08-04 Thread Robert May
Сергей Черниенко wrote: [ snipped timer-related stuff ] And does it mean that OEM and NEM can not be mixed? By default a window/control uses the Original/Old Event Model (OEM), where the sub that is called is the -name of the window/control followed by '_' followed by the event name itself. (

[perl-win32-gui-users] MouseOver and MouseOut Events [Was: The window -backgroud option]

2005-08-04 Thread Robert May
Lloyd, Steve wrote: Rob, Is there a planned date for the next release? Not really. Perhaps the end of the month would be a good target, but I have some travel, so may not get to do a whole lot more between now and then - lets see how things go. Also, many of the common events do not work

[perl-win32-gui-users] gb109.zip

2005-08-06 Thread Robert May
Сергей Черниенко wrote: Hello, perl-win32-gui-users, Can someone give live link to GUI Bulder written by David Hiltz? It's impossible to download it from ftp://ftp.wh.whoi.edu/pub Thanks! ftp://ftp.wh.whoi.edu/pub/gb109.zip works fine from here. I also turned up some stuff on t

Re: [win32gui] [perl-win32-gui-users] (no subject)

2005-08-08 Thread Robert May
Сергей Черниенко wrote: Здравствуйте, perl-win32-gui-users, I'm using NotifyIcon object to minimze my app to tray. All works fine but the icon in tray has grey color instead of its real purple. The questions are: 1. What format has to have icon (size, number of colors and so

RE: [perl-win32-gui-users] DC used for customdrawn Toolbar

2005-08-08 Thread Robert May
Kind, Uwe wrote: Just so I understand what you are trying to do. Do you mean the change in the menu colour (to blue) when the mouse moves over the menu buttons I want to 'grey out' the text when $mw loses the focus. The structures used by a toolbar and header are different This appears to b

Re: [perl-win32-gui-users] Trapping ctl-<> and function keys and invalidating windows

2005-08-09 Thread Robert May
[EMAIL PROTECTED] wrote: Any way to trap control key and function key entries without a dialog window? I'd like to be able to associate functions to keys so that someone can invoke a function by pressing a key, primariliy for debugging. I don't want a submenu. You should investigate Win32::GU

Re: [win32gui] [perl-win32-gui-users] {Spam?} MDIFrame and background Image

2005-08-09 Thread Robert May
Apologies if this is a repeat post, but I did not see the first one come back from the reflector. I've made the included image a whole lot smaller in case that was the problem. Rob. Robert May wrote: Daniel Fernandez wrote: Hello, perl-win32-gui-users, Anybody knows if it's po

Re: [win32gui] [perl-win32-gui-users] {Spam?} MDIFrame and background Image

2005-08-09 Thread Robert May
Daniel Fernandez wrote: Hello, perl-win32-gui-users, Anybody knows if it's possible to display a background bitmap image in a MDIFrame? If it's possible, I will appreciate a short example . Here's one way of doing it with a regular window. You should be able to adjust this to work with an

[perl-win32-gui-users] Draggable 'window' [Was: MDIFrame and background Image]

2005-08-10 Thread Robert May
Lloyd, Steve wrote: Is there a way using Win32::GUI to create a dragable child window that can be dragged and dropped onto another window like winspy does? Steve Are you referring to the 'Find' window from Windows Spy++? If so, then that's not a draggable window at all: the application chan

[perl-win32-gui-users] Re: [win32gui] {Spam?} Re: MDIFrame and background Image

2005-08-10 Thread Robert May
Daniel Fernandez wrote: Hi, Sorry by my last mail. I sent you a wrong script. This it's my modified MDI script with your code. The problem is that the new child window is not visualized but the activate/deactivate events works when the window is created. Is there are any wrong in my code? I'

[perl-win32-gui-users] Re: [win32gui] RE: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-10 Thread Robert May
Lloyd, Steve wrote: From: Robert May [mailto:[EMAIL PROTECTED] Lloyd, Steve wrote: Is there a way using Win32::GUI to create a dragable child window that can be dragged and dropped onto another window like winspy does? Steve Are you referring to the 'Find' window from Windows

[perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-11 Thread Robert May
Steven Lloyd wrote: Rob, I have got this far but I cannot seem to get SetCapture to allow me to go outside my window. Any ideas? Steve, Please can we keep discussion on-list (unless they are OT) - others may be able to help, and may like to see the problems being solved. Read up about Set

[perl-win32-gui-users] Re: [win32gui] {Spam?} Re: MDIFrame and background Image

2005-08-14 Thread Robert May
Daniel Fernandez wrote: Hi, I'm trying to implement the StretchBlt function using a call to gdi32.dll in order to fill the window with the image. here, I load the dll my $ApiObj = new Win32::API ("gdi32", "StretchBlt", "PPN", "I"); my $ApiObj = new Win32::API ("gdi32", "StretchBlt"

[perl-win32-gui-users] Re: Debugging Win32::GUI [Was: (no subject)]

2005-08-19 Thread Robert May
[Please always put a descriptive subject line with your mail - if nothing else it helps people searching the archive] Sergey Cherniyenko wrote: How can I turn on debugging in Win32::GUI to get some descriptive output to console. In modules I've seen that can be done. How? There is no spec

Re: [win32gui] [perl-win32-gui-users] popup menu for NotifyIcon

2005-08-19 Thread Robert May
Sergey Cherniyenko wrote: 1. On each right click on tray icon I get following warnings Use of uninitialized value in subroutine entry at D:\perl_projects\exrc1.pl line 68. Argument "-notifyicons" isn't numeric in subroutine entry at D:\perl_projects\exrc1.pl line 68. Argument "_NotifyIcon10

[perl-win32-gui-users] Re: Draggable 'window'

2005-08-19 Thread Robert May
Steven Lloyd wrote: MouseMove returns the label, and the x, y coordinates of the mouse, right? Right - but it gives an unsigned value. This is not usually a problem, as you don't normally seem mouse move locations outside the client area, which always has 'small' positive values. The code bel

[perl-win32-gui-users] Re: [Vertical Slider?

2005-08-22 Thread Robert May
Jason P. wrote: Steven Lloyd wrote: I know that a horizontal slider can by created but is there a way to create a vertical slider control using Win32::GUI? Does AddSlider have such an option? Steve Lloyd http://www.basgetti.com -horizontal=>0 snatched from Splitter.xs Or possibly, -ve

Re: [win32gui] [perl-win32-gui-users] Continued Window Background Color Problems

2005-08-22 Thread Robert May
Brian Fredette wrote: I read in the group there was a bug submitted regarding the setting of window background colors (http://sourceforge.net/tracker/index.php?func=detail&aid=1236053&group_id=16572&atid=116572) I'm still having this problem but the bug tracker says the problem has been fixed.

Re: [win32gui] Re: [perl-win32-gui-users] SW_SHOWNA and SW_SHOWNOACTIVATE

2005-08-23 Thread Robert May
Jason P. wrote: Jeremy White wrote: Sometimes it fires the Activate, sometimes it doesnt...odd, and annoying to have it grab the cursor away, if only for brief moments, It can stop you typing at just the right time.. Very interesting example. I checked that the win32-gui show method is passi

  1   2   3   4   5   >