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

[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 problem

[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
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 PROTECTED]: Hi Rob

[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

[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

[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: [win32gui] Re: [perl-win32-gui-users] Possible Bug with DoModal

2005-03-17 Thread Robert May
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: perl-win32-gui-users@lists.sourceforge.net Sent: Wednesday, March 16, 2005 9:38 PM Subject: [perl-win32-gui-users] Possible Bug

[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

[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

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't

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

[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

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:

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

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 = Click me!,

[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

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.

[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:

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

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

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).

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

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.

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

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: Sorry all

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] [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

[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 warrant

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

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,

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

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
); -- -Original Message- From: Robert May [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:56 AM To: Lloyd, Steve Cc: perl-win32-gui-users@lists.sourceforge.net Subject: [SPAM] - Re: Readonly TextEdit redraw problem. [Was: otther

[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[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() if

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 timer subroutine to see

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,

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 = FILE; close FILE; } Then insert the $content in the Win32::GUI control you want. For a Textfield that would be

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

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 background mode

[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

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

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

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 possible

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

[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?

[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

[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

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 _NotifyIcon100

[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

[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,

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=detailaid=1236053group_id=16572atid=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

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

2005-08-24 Thread Robert May
Steven Lloyd wrote: For what it is worth, here is an example of horizontal and vertical sliders. Feel free to add this to the samples if you would like. Thanks - will do. Note: Min, Max, and Pos do not seem to work when sent as attributes on slider creation but work if set afterward. Any

Re: [win32gui] [perl-win32-gui-users] Tooltip once again

2005-08-24 Thread Robert May
Dominik wrote: i dont get it.. is there one example how to use a simple tooltip - not using the -tip = text option but creating a Win32::GUI::Tooltip object somewhere around? I am searching a way to display a tracking multiline tooltip from one of my events ( a hooked WM_HELP after clicking

Re: [win32gui] [perl-win32-gui-users] Tooltip once again

2005-08-25 Thread Robert May
Jason P. wrote: Robert May wrote: In the example provided, and all my further tests, using the subclass option provides inaccurate location for the automated placement. Try moving the window down a ways. You will find you need to expand the window. It looks like the subclass option is using

Re: [win32gui] [perl-win32-gui-users] Tooltip once again

2005-08-25 Thread Robert May
Dominik wrote: one question though: is it possible to have the tips being showed also outside of my main-window (f.e. if the mouse is near the windowboarder)? You'll get that with the fix to the creation styles that I just put into CVS. Currently the addition of the WS_CHILD style to the

Re: [win32gui] [perl-win32-gui-users] Textfield - insert at cursor

2005-08-26 Thread Robert May
The ReplaceSel() method replaces the current selection. If there is no current selection, the replacement text is inserted at the location of the caret. More at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/editcontrols/editcontrols.asp The MSDN

Re: [win32gui] [perl-win32-gui-users] Win32::GUI::MessageBox with a timer?

2005-09-02 Thread Robert May
::API and Win32::API::Callback; it would be easier to implementing your own Modal Dialog to display the message that you're currently using MessageBoxes for. Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [win32gui] RE: [perl-win32-gui-users] Win32::Gui built-in functions?

2005-09-02 Thread Robert May
Jeremy White wrote: There are quite a few Win32::GUI functions like Win32::GUI::GetOpenFileName that are built in but not listed on http://perl-win32-gui.sourceforge.net http://perl-win32-gui.sourceforge.net/docs/Win32/GUI/Reference/Methods.html Or, evem more precisely:

Re: [perl-win32-gui-users] CVS/Nightly builds?

2005-09-13 Thread Robert May
Antony Baxter wrote: Hello, Is it possible to get hold of nightly builds of Win32::GUI from CVS? Not currently, but it is on my (ever extending) list of things to think about. I don't have VC++6 and am having all sorts of problems building it with VC++7 (and given the warnings in the

Re: [win32gui] [perl-win32-gui-users] Using the Win32::GUI::RichEdit Control

2005-09-13 Thread Robert May
Steven Lloyd wrote: Can anyone show me how to do any of the following in a Win32::GUI::RichEdit Control? - Insert an image No idea, but probably not possible with Richedit V1.0 which Win32::GUI uses by default. IIRC OLE support was a Richedit V2.0 feature. - Bold or underline the selected

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

2005-09-27 Thread Robert May
Rob wrote: Does anyone know how I could center my Win32::GUI::GetOpenFileName dialog box in my window Ariel Serbin wrote: It would be very nice to be able to have that dialog default to the thumbnail view. Brian wrote: Win32::GUI::GetOpenFileName is a hook into a Windows system

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

2005-09-29 Thread Robert May
Ariel Serbin wrote: 1. Win32::GUI::FindWindow only finds top level windows (which is what it says in the docs.) The docs are correct! I was thinking of FindWindowEx, which is not in Win32::GUI. I had to install Win32::GuiTest to get the handle of the listview control in the Open dialog.

[perl-win32-gui-users] Re: Attaching to a window created by some other application

2005-10-06 Thread Robert May
Piotr Kaluski wrote: Hi, I am one of developers of Win32::GuiTest library. It is a module for GUI test automation. I am actually pretty impressed with all the great work you have done. Using your module should free us from writing some functions ourselves. I have one question. My impression is,

[perl-win32-gui-users] Perl versions earlier than 5.6.1

2005-10-06 Thread Robert May
Is anyone using Win32::GUI with any Perl version earlier than 5.6.1 I am considering officially dropping support for earlier versions, and so this is your chance to tell me if that will cause you problems. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications

[perl-win32-gui-users] Re: Merging Win32::GUI and Win32::GuiTest

2005-10-07 Thread Robert May
Piotr Kaluski wrote: 1. Win32::GUI team has a look on what is implemented in Win32::GuiTest. Have a look on the manual. It is up to date: http://www.piotrkaluski.com/files/winguitest/docs/index.html . The source code is available at www.sourceforge.net/projects/winguitest. I'll certainly have

[perl-win32-gui-users] Re: Attaching to a window created by some other

2005-10-07 Thread Robert May
Jeremy White wrote: Coincidentally, I've been working on a similar problem and was very interested For example: my $win=Win32::GUI::Window::CreateFromHandle($handle); $win-Show; #no problem $win-Hide; #no problem $win-SomeControl-Show(); #how would we know a control called 'SomeContol'

[perl-win32-gui-users] Re: how to get filename of drag-n-dropped file?

2005-10-11 Thread Robert May
Jason P. wrote: Johan Lindstrom wrote: At 12:27 2005-10-11, Pavel Prostine wrote: Hello perl-win32-gui-users is it possible to get name of drag-and-dropped file(s) which I pull from Windows Explorer and drop on Win32-Gui window? See:

[perl-win32-gui-users] ANNOUNCE: New Mailing List

2005-10-14 Thread Robert May
There is a new mailing list available: [EMAIL PROTECTED] It is available for anyone to subscribe to, and is a read-only list that provides details of commits made to the Win32-GUI CVS repository. Subscribe at http://sourceforge.net/mail/?group_id=16572 Regards, Rob. -- Robert May Win32::GUI

[perl-win32-gui-users] Web Site Updated

2005-10-14 Thread Robert May
, then you can pick up edits to the wiki from an RSS feed - you'll find the link on the Home page. Otherwise you should recognise it pretty much as before. Please take a look: http://perl-win32-gui.sourceforge.net/ Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32

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

2005-10-18 Thread Robert May
with. I shall provide an example in the near future, as part of a whole. Jason P. There's a demo of this for ListView in the samples folder - I don't remember, but I think I posted it to the list a couple of months back. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32

Re: [win32gui] [perl-win32-gui-users] Mouse Events Problems

2005-10-18 Thread Robert May
, it will indeed fire. If you are fast with your optical mouse, it may not fire at all, leaving you with a constantly stuck down state. Although it RightClick will always fire. Hmm... Anyone else have this problem? Jason P I've not seen it on Win98 or Wink, but don't have XP. Rob. -- Robert May

Re: [win32gui] RE: [perl-win32-gui-users] Next Release soon

2005-10-18 Thread Robert May
Glenn W Munroe wrote: Rob, I just downloaded the 5.8 PPM from your site. It failed a new dependency check for Test::More. This module is available on CPAN, but not on the ActiveState repository. I had a quick look through the code and couldn't find where it was used; could it be a hangover from

Re: [win32gui] [perl-win32-gui-users] TreeView - No DoubleClick Event

2005-10-18 Thread Robert May
!= 0) { my %info = $self-GetItem($node); print Mouse Dbl Click ($node: $info{-text})\n; } return; } __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] NotifyIcons with Balloon Tips (Win2k/XP -not-9x)

2005-10-19 Thread Robert May
Jason, Thanks for the code. If this is something that you'd like to see added, then please raise a RFE at https://sourceforge.net/tracker/?group_id=16572atid=366572 We'll need to do something to prevent these options killing Win9x boxes, but I'll be happy to have a look for a future

Re: [win32gui] [perl-win32-gui-users] Toolbar style contants

2005-10-30 Thread Robert May
Chris Wearn wrote: Hi All, Have just downgraded and recompiled latest Win32-GUI from CVS using VC6. Now I get an error can't find TBSTYLE_EX_MIXEDBUTTONS in package blah blah The same if I run the demo toolbar.pl that Rob May posted to the group when experimenting with all the options. Is

Re: [win32gui] RE: [perl-win32-gui-users] Next Release soon

2005-10-30 Thread Robert May
that you're getting. Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/ --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss

Re: [win32gui] [perl-win32-gui-users] Toolbar style contants

2005-10-31 Thread Robert May
is in the same boat, as he couldn't run the script either, the other day without the same error. I know from previous discussions with Jez that he's using quite an old MinGW build. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [win32gui] [perl-win32-gui-users] Extened windows style

2005-11-02 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] Toolbar style contants

2005-11-02 Thread Robert May
Chris Wearn wrote: What version of the Platform SDK are you using Rob? Win2003 sp1, downloaded in June of this year. I do remember having to play with removing a few of the new SDK tools (nmake for example) as the new ones don't play well with W98, but I'm afraid that I don't have any notes

Re: [perl-win32-gui-users] Help Required in installing Win32-GUI

2005-11-08 Thread Robert May
on. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Re: Next Release soon

2005-11-13 Thread Robert May
the current CVS code-base. You should consider them beta software (i.e. they may not work properly), but I have been using the 5.8 code for some time now with no problems. If you are so inclined, then download and give it a spin. Feedback to this list please. Regards, Rob. -- Robert May Win32::GUI

Re: [win32gui] Re: [perl-win32-gui-users] TK to Win32-GUI, Win32-GUI to TK utilities

2005-11-15 Thread Robert May
such tools if anyone finds them. Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Re: Control Resize

2005-11-17 Thread Robert May
-- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

Re: [win32gui] RE: [perl-win32-gui-users] DIBitmap odd resize behaviour with TIFFs?

2005-11-17 Thread Robert May
/viewcvs.py/perl-win32-gui/ If anyone is interested in championing DIBitmap, then please get in touch with Jeremy or me. [EMAIL PROTECTED] Thanks, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/

[perl-win32-gui-users] Re: Splitter control [DC bug?]

2005-11-21 Thread Robert May
I raised tracker 1363141 for this. Thanks for the report. Rob. Plum, Jason wrote: Hey all, Ariel Serbin and I have notice something strange occurring with the splitter demo, and specifically the splitter control itself. Run the script attached, a previous post contained it. Then,

  1   2   3   4   >