Re: [perl-win32-gui-users] [win32-gui] NotifyIcon and balloontooltips

2006-12-28 Thread Brian Millham
I had basically come to that conclusion. I'm using the normal -tip for what I wanted. As I was looking at this, I noticed that no other apps pop up a balloon when hovering over a NotifyIcon. Brian Millham Tommy, Helen and Paka This message has traveled at least 44,000 miles to reach you! http://w

[perl-win32-gui-users] Tooltips balloon icons

2006-12-28 Thread Brian Millham
Hi again, I've just started using ToolTips with the -balloon option. It appears that the 'warning' and 'info' icons are reversed (1.05). When I use the 'warning' icon, the info icon is displayed, and when I use the 'info' icon, I get the ! in a triangle icon. Should I raise a tracker on this? Br

Re: [perl-win32-gui-users] [win32-gui] constants + OO + external file generates cleanup error message

2006-12-28 Thread Leif Andersson
Thank you Robert, Your explanation makes sense to me. I will search the archives for your work-arounds. And, by the way, the reason my posted code didn't work as advertised is that the first line of mainw.gui should read: $mainW = new Win32::GUI::DialogBox( Thanks again for the time and efforts

Re: [perl-win32-gui-users] [win32-gui] "Fat" sliders?

2006-12-28 Thread Robert May
Steve Loughran wrote: I am writing an application that is used on a touch screen, and would like to implement a slider, but it appears that there is no control over the size of the slider bar "button" to make it "fat" enough to accurately place a finger on the screen and select it. Does anyon

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

2006-12-28 Thread Robert May
Perl Rob wrote: Hi all, I've discovered a weird problem: if I minimize all open windows by clicking the "Show Desktop" button (from the Windows Quick Launch area) right before I run my Win32::GUI program, my program window opens and paints itself properly, but then immediately "hiccups" and

Re: [perl-win32-gui-users] [win32-gui] NotifyIcon and balloon tooltips

2006-12-28 Thread Robert May
Brian Millham wrote: Hi all, I'm playing with NotifyIcon with Balloon tooltips. (Win32::GUI version 1.05) Is there a way to display the balloon when the mouse is hovering over the NotifyIcon? (like how the -tip text is displayed, except in a balloon) The only way that I c

Re: [perl-win32-gui-users] [win32-gui] constants + OO + external file generates cleanup error message

2006-12-28 Thread Robert May
Leif Andersson wrote: I had the, maybe bad, idea of putting up a kind of "framework", so I could manage my windows definitions in external separate files. Doesn't sound like a bad idea, so far. In its simplest form it works as expected: #!/usr/bin/perl -w use strict; use Win32::GUI qw(WS_SYS

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

2006-12-28 Thread Kind, Uwe (AGIS)
Hi Rob, if you use a Label with the "-notify => 0" option to display the bitmap it should be possible to place other controls on top of it. If you need to catch the events for the background bitmap your in trouble. There seems to be a bug in the event handling for child-controls in Win32::GUI.

Re: [perl-win32-gui-users] [win32-gui] Bitmap image in the statusbar?

2006-12-28 Thread Robert May
Steve Loughran wrote: A crazy thought, but... is it possible to draw a bitmap into the status bar of a window? I want to have some kind of graphical "status" indicator (alongside the text in the status bar) any ideas? Or should I just drop this idea and get on with something else instead? :

Re: [perl-win32-gui-users] [win32-gui] Some beginner's problems

2006-12-28 Thread Robert May
MALEADt wrote: Hi all. I'm making my first programs with the win32::gui module, but I'm experiencing some problems: 1) threads and win32gui? Certainly possible, but there are some issues that you need to understand witht he current releases. If you haven't been pointed at it already, then I

Re: [perl-win32-gui-users] BringWindowToTop ... gah...

2006-12-28 Thread Robert May
Steve Loughran wrote: OK, this is driving me mad on and off for a few days (I keep coming back to it)... # my $window = Win32::GuiTest::FindWindowLike(undef, "fubar"); Win32::GUI::BringWindowToTop($window); # This doesn't affect the window Z order at all, and yet if I click

Re: [perl-win32-gui-users] Toolbar example

2006-12-28 Thread Robert May
Apu islam wrote: Anyone has a Win32::GUI::Toolbar example they can share ? I am trying this on the new 1.05 version and not having any luck to display that on my window object. Here's something that I did some time ago when I was playing with toolbars. It's not very tidy, but might help. Re

Re: [perl-win32-gui-users] Change values out of a thread

2006-12-28 Thread Kind, Uwe (AGIS)
Hi maleadt, have a look at the Win32::GUI::ThreadUtils package. It comes with a good example for changing the value of a progress bar. Setting the content of a textbox is quite comparable. Bye, Uwe Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftra

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-28 Thread Jason Plum
Simply state that the desktop owns it! --code-- use strict; use warnings; use Win32::GUI; my $ret = Win32::GUI::ShellExecute(Win32::GUI::GetDesktopWindow(),'open','notepad.exe','readme.txt','',1); Scott Spearman wrote: I don't know if it's in Win32 or ActiveStates Perl, but the traditional

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-28 Thread erik
I've reply'd by e-mail since this isn't a win32::gui problem. I think this is what he wants: #!/usr/bin/perl system 'rundll32.exe url.dll,FileProtocolHandler notepad.exe'; print foreach (1..10); __END__ While notepad is running, the main program still counts to 10 and exits nicely. Quo

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-28 Thread Scott Spearman
I don't know if it's in Win32 or ActiveStates Perl, but the traditional Unix method is to do an exec(). It takes a new executable and completely replaces your running program with the new program specified. I figure it's probably something you've already tried, but just in case... Scott Spearman

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-28 Thread Octavian Rasnita
I have not tried with Install Shield, but only with Null Soft installer (which is free) and you can do this very simple. You just need to put an "exec [program name]" in the configuration script, and the installer will launch that program. Of course you can close the installer while the progr

[perl-win32-gui-users] Launching a detached child process from Win32 app

2006-12-28 Thread Zach
I recently wrote an install shield with Win32::GUI. A nice feature I see of some install shields is the option to "Launch application" after the install is done. It's a nice convinient feature to let the user get down to business without having to click on the app via the start menu or desktop icon