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

2007-03-25 Thread Steve Loughran
no glitches as far as I can tell for my application (I develop under XP SP2, then run the application via perl2exe, not native perl... if you see what i mean) Steve Jeremy White wrote: Hi, Has anyone run a Win32::GUI application under Vista yet? Any glitches? Cheers, Jez.

Re: [perl-win32-gui-users] Determining user's font size prefs

2007-02-13 Thread Steve Loughran
Thanks for that, I`ll give that a go when I get back to the UK Steve Robert May wrote: Steve Loughran wrote: Does anyone know where I should be looking to determine if the user has selected "large" or "very large" fonts in the control panel -> display -> appearanc

[perl-win32-gui-users] Determining user's font size prefs

2007-02-02 Thread Steve Loughran
Hi all Does anyone know where I should be looking to determine if the user has selected "large" or "very large" fonts in the control panel -> display -> appearance settings? Steve

[perl-win32-gui-users] POE and Win32::GUI?

2007-01-25 Thread Steve Loughran
Hi all Does anyone here use the POE system (http://poe.perl.org) with their win32 perl scripts? It looks like it could be quite useful for my project, but I am looking for some knowledgeable "thumbs up/down" remarks from the wise users on this list :) Steve

Re: [perl-win32-gui-users] Writing ActiveX modules in perl?

2007-01-08 Thread Steve Loughran
Is it relatively easy to do with the AS dev kit? Are there any online help/FAQs about it? or will I be taking a trip to the local bookstore to get some AX books (and convert back into perl code :) ) Steve Jason Plum wrote: With the ActiveState Perl Dev Kit, yes, it is possible to make stanadl

[perl-win32-gui-users] Writing ActiveX modules in perl?

2007-01-08 Thread Steve Loughran
Slightly off-topic, but is it possible to write standalone (dll or ocx) ActiveX modules in win32 perl? (And I dont mean show them in perl using AXWindow). Or should I just stick with VB6 for that? Any helpful hints or tips would be gratefully received, especially from anyone who has actually d

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

2007-01-08 Thread Steve Loughran
kind of been there, done that, banged my head against it for several hours :) I assigned the "name" to a temp variable, and used that my $name = $configdata{name}; then used -onClick => Button_Clicked($name) http://sourceforge.net/mailarchive/message.php?msg_id=14457436 Per

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

2007-01-03 Thread Steve Loughran
http://www.robmay.me.uk/win32gui/ Darian wrote: Hello Uwe, How do I find this package. I searched on google but could not find it. Do you have a link you can forward? -Darian Kind, Uwe (AGIS) wrote: Hi maleadt, have a look at the Win32::GUI::ThreadUtils package. It comes with a go

[perl-win32-gui-users] Button + multiline text?

2006-12-30 Thread Steve Loughran
Hi all Firstly, many thanks to Robert May (again) for a quick flurry of answers to my questions... always appreciated! Secondly, I notice there is a -multiline option for buttons, but I am unable to force my text to "wrap" with the usual "\r\n" entry in the text that I can use in other objec

[perl-win32-gui-users] Get width/height of text + font

2006-12-27 Thread Steve Loughran
Hi all Probably a very simple answer to this (but it appears I may have missed it :) If I have created a font object, is it possible to get the width/height bounding box dimensions for text string if it was to be drawn/placed on screen using the font object? Many thanks for your help Stev

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

2006-12-27 Thread Steve Loughran
Hi all 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 anyone have any sug

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

2006-12-21 Thread Steve Loughran
*note* I have never used a Graphic object, so I may be wildly off target here :) I had a similar problem when I started looking at layering overlapping buttons. The first "object" to be drawn is the one the system sees first, but the last one to be drawn is the one that is "on top" with the g

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

2006-12-15 Thread Steve Loughran
Hi all 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? :) Steve

Re: [perl-win32-gui-users] Win32: :GUI: :ThreadUtils integration in Win32: :GUI?

2006-12-08 Thread Steve Loughran
btw - when you say "Always lock and/or mutex shared data!!", this isnt something I have come across yet. Can you explain how/what, or point me in the right direction? Steve

Re: [perl-win32-gui-users] Win32: :GUI: :ThreadUtils integration in Win32: :GUI?

2006-12-08 Thread Steve Loughran
ing the problematic message stack issues. If I cant find it and someone needs it, it will take some time for me to whip up, but I can recreate it in a day. Jaosn Plum Head of IT R&D DAJ Strategic Solutions Steve Loughran wrote: Thanks for that, that puts my mind at rest. Never having wr

Re: [perl-win32-gui-users] Win32: :GUI: :ThreadUtils integration in Win32: :GUI?

2006-12-08 Thread Steve Loughran
Thanks for that, that puts my mind at rest. Never having written any threaded/forked code before, I need to ask a few questions: - Is it safe for a "worker" thread to access hashes/arrays in the "boss" thread if they only need read access to them? - Any changes required to "boss" thread has

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

2006-12-06 Thread Steve Loughran
Hi all 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 on the window

[perl-win32-gui-users] Win32::GUI::ThreadUtils integration in Win32::GUI?

2006-12-02 Thread Steve Loughran
Hi all Over the course of my great year-long Win32::GUI learning experience, I have seen several references to the Win32::GUI::ThreadUtils package, and have recently seen mutterings on this list about the posibility of integrating it into the core Win32::GUI code. Is this still a "maybe", or

[perl-win32-gui-users] WM_KEYDOWN/WM_SYSKEYDOWN and Windows audio alert

2006-11-30 Thread Steve Loughran
use strict; use Grammar; :) Hi all I have hooked into the WM_KEYDOWN/UP and WM_SYSKEYDOWN/UP calls (returning 0 from the routines as specified in the MS docs), and all works fine, but but when I press a key when my window is active, I hear the windows default audio alert (the default short "d

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

2006-11-30 Thread Steve Loughran
It appears I was writing my emails without the following options: use strict; use Grammar; It wont happen again :) Steve Aparantly :) Or Apparently :) But in a PAR context, there is little incentive to do that, vs. bundling the file into the pp-built .exe

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

2006-11-29 Thread Steve Loughran
yes, aparantly you can :) http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=bitmapinline Steve Loughran wrote: This was on my "to-find-out" list :) Can you use DIBitmap for inline icons? Steve Glenn Linderman wrote: On approximately 11/28/2006 9:08 PM, came the following

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

2006-11-29 Thread Steve Loughran
This was on my "to-find-out" list :) Can you use DIBitmap for inline icons? Steve Glenn Linderman wrote: On approximately 11/28/2006 9:08 PM, came the following characters from the keyboard of Apu islam: anyone knows how I can replace the camel logo on the Main window with my smily face ? -A

Re: [perl-win32-gui-users] Moving another task's window?

2006-11-25 Thread Steve Loughran
Ignore previous, logic bug :) Steve Loughran wrote: Hi all I am trying to move another task's window (don't ask!), and using FindWindowLike from Win2::GuiTest to get a window scalar, then handing it on to Win32::GUI::Move, but this doesn't appear to do anything (it doesn'

[perl-win32-gui-users] Moving another task's window?

2006-11-25 Thread Steve Loughran
Hi all I am trying to move another task's window (don't ask!), and using FindWindowLike from Win2::GuiTest to get a window scalar, then handing it on to Win32::GUI::Move, but this doesn't appear to do anything (it doesn't complain, it just doesn't move anything) #== my $window = Win32::GuiT

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
, its all or nothing unless someone can show me how Steve Steve Loughran wrote: here we go, a very rough idea of how I managed to get it to work. (Am doing a reinstall at the moment on the other machine, so things are a bit of a mess here right now) You will need to cut-n-paste the

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
oh, these only work on windows 2000 and above. I havent tested them on anything before that (my VMWare install is on the box i`m rebuilding), but I`m guessing the WIN32::API import call will fail on < win2000 Steve Steve Loughran wrote: here we go, a very rough idea of how I managed to get

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
here we go, a very rough idea of how I managed to get it to work. (Am doing a reinstall at the moment on the other machine, so things are a bit of a mess here right now) You will need to cut-n-paste the relevant pieces into your code, but I hope its clear enough. I haven't managed to get trans

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
I managed to get window translucency and transparency working pretty quickly. If anyone is interested, I can post some info about it. Steve Robert May wrote: Steve Loughran wrote: Just a quickie... I can find references in Win32::GUI to SetWindowLong() but no mention of

[perl-win32-gui-users] SetLayeredWindowAttributes ?

2006-11-15 Thread Steve Loughran
Hi all Just a quickie... I can find references in Win32::GUI to SetWindowLong() but no mention of SetLayeredWindowAttributes(). Will I have to go down the Win32::API call route to obtain this? (I dont want to reinvent the wheel). Steve (Everyone stopped laughing at my global hotkey code yet?

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

2006-11-09 Thread Steve Loughran
Sorry to dredge this topic up, but I thought I would post my demo code to create system-wide hotkeys. Feel free to poke holes in my coding style (I wont be listening :) ) Its a modified version of the code that Robert May posted for the generic "bring the window to the front" hotkey code. This

[perl-win32-gui-users] win32-gui mail list spam?

2006-11-08 Thread Steve Loughran
Hi all Can someone tell me if the win32-gui-(users|hackers) mail lists only allow posts from subscribed email addresses? Seems we have had a couple of spam emails get through the filters, and wondering if someone was spoofing a subscribed members email address, or if the list was "open" to an

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

2006-10-24 Thread Steve Loughran
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 ($tempwin,1); $tempdib->SaveToFile("

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

2006-10-24 Thread Steve Loughran
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 the Win32::GUI windows/controls h

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

2006-10-23 Thread Steve Loughran
Hi all 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 system to prevent

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

2006-09-30 Thread Steve Loughran
Thank you Robert, I`ll have a play with this later this week (dont hold your breath, I didnt even get around to looking at SetWindowsHookEx :) ) Steve Robert May wrote: Steve Loughran wrote: > I have seen several programs that have installed some > kind of "hotkey" event

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

2006-09-28 Thread Steve Loughran
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 :) Steve Glenn Linderman wrote: Will you be putting your TMTOWTDI offering on the Wiki also?

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

2006-09-28 Thread Steve Loughran
Ah, ImageToBlob() into newFromData Win32::GUI::DIBitmap was what I was looking for... that saves some time with intermediate disk files saving/loading. The memory leak in AlphaCopyToDC in 1.03_4 is fixed, so I do suggest updating if you use this call. I removed my flickering by "double-buffe

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

2006-09-27 Thread Steve Loughran
*cough* while ($temp <= $count) $temp = 0; while (temp <= $count) { #save the *coalesced* image $coalesce->[$temp]->Write(filename => "out-$temp.gif"); $temp++; }

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

2006-09-27 Thread Steve Loughran
is be a good script to add as an example script with the Win32::GUI > distribution? > > Enjoy! I hope this helps someone! > > Brian Millham > This message traveled at least 44,000 miles to reach you! > Creator of the DW6000 Monitor > http://www.millham.net/dw6000 > [EMAIL

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

2006-09-26 Thread Steve Loughran
Frame timing: $delay = $image->[$frame_count]->Get('delay'); (I think!). Still having some issue with anims (I think its PerlMagick thats causing the problems), but its most certainly getting there :) Steve So now I'm working on this. I can now get individual frames from an animated gif.

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

2006-09-25 Thread Steve Loughran
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 supports native M$ fil

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

2006-09-18 Thread Steve Loughran
Hi all 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 items I can find i

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

2006-09-15 Thread Steve Loughran
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. Steve Robert May wrote: Steve Loughran wrote: How d

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

2006-09-11 Thread Steve Loughran
Hi all A new week, a new question :) 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. Would I be better looking at using Image::ParseGIF and then passing individual frames into DIBitmap fo

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

2006-09-08 Thread Steve Loughran
Behalf Of tinti Sent: Thursday, September 07, 2006 11:19 AM To: perl-win32-gui-users@lists.sourceforge.net Cc: Steve Loughran Subject: Re: [perl-win32-gui-users] [win32-gui] precision timer event? I prefer InnoSetup (http://www.innosetup.com/) together with ISTool (http://www.istool.org). Some time ago

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

2006-09-07 Thread Steve Loughran
Looks like everyone is saying Win32::GUI::Timer or Time::Hires, so i`ll go down that route for now. Many thanks :) Next quick question (then i`ll leave you all alone until after the weekend, I promise!)... software bundle installers... any preferences? I have been looking at the free version o

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

2006-09-06 Thread Steve Loughran
Hi all 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? Steve

Re: [perl-win32-gui-users] window transparency?

2006-08-27 Thread Steve Loughran
Just found this, which I`ll have a play with over the next few days: http://sourceforge.net/mailarchive/message.php?msg_id=2207230 but any other help or tips would be great Steve Steve Loughran wrote: Hi all Sorry for all the questions recently, but things have been going from strength to

[perl-win32-gui-users] window transparency?

2006-08-27 Thread Steve Loughran
Hi all Sorry for all the questions recently, but things have been going from strength to strength right now, so people keep asking for new features. You guys here have helped me out with pretty much every question I have asked, so I cant think of a better place to ask :) I need to start look

Re: [perl-win32-gui-users] storing bitmaps in one external file?

2006-08-23 Thread Steve Loughran
Got perl2exe, and it works a treat :) old par/pp compile time (with filters) -> 10 mins new perl2exe compile times -> 10 seconds its also dropped the memory footprint back down to where it should be (40Mb down to 17Mb), and it also fires up a lot faster (8-9 seconds down to 2-3 seconds). Wha

Re: [perl-win32-gui-users] storing bitmaps in one external file?

2006-08-23 Thread Steve Loughran
Any major problems or gotchas with Perl2EXE or PerlApp? I have used PAR because it was "free", but i think its time to get serious about this :) Steve Adding resources works for both Perl2exe and PerlApp, but I think you might have to add resources to Parl.exe (or what ever its called) rather

[perl-win32-gui-users] storing bitmaps in one external file?

2006-08-23 Thread Steve Loughran
Hi all Recently, my code has become a bit "bloated" with inline bitmaps. Although this causes no problems when run from the native perl application, when I run my code through PAR/PP (with filters), it causes the EXE to "fire-up" a lot slower, due to the extra room taken up by the images, and

[perl-win32-gui-users] Slightly OT - mouse capture in games

2006-08-17 Thread Steve Loughran
Hi all A slightly off-topic question for you all. I have routines in my code that can un-ClipCursor and also ReleaseCapture for windows that "capture" the mouse to defined areas (mostly games), so that the mouse can now leave the defined area, but I have one game that doesnt work with either

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

2006-08-06 Thread Steve Loughran
I upgraded my PAR from here: http://theoryx5.uwinnipeg.ca/ppms/PAR-588.ppd (v0.942, built with perl 5.8.8) and had zero problems from then on. Definitely something odd with the Win32::GUI stuff on earlier versions of PAR, but so long as I have a solution that works, I`m not going to change it

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

2006-08-04 Thread Steve Loughran
Grabbed a copy of PAR + PAR-Dist compiled for AP v5.8.8, and all is good with the world again... sorry for wasting the bandwidth. Steve Loughran wrote: Updated PAR to 0.942 and PAR-Dist to 0.15. Took all my "use" statements from my current code, and put them at the top of: pri

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

2006-08-04 Thread Steve Loughran
in32::GUI; use Win32::GUI::BitmapInline; use Win32::GUI::AxWindow; the par generated EXE runs without any errors. If I enable any one of the above, it barfs. Going off to the par mail list to see if I can find out what is going on. Steve Steve Loughran wrote: Removed ActivePerl v5.8.6, renam

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

2006-08-04 Thread Steve Loughran
dynamic link library perl58.dll. http://www.syn-ack.com/Perl_Tcomppad_ptr.png Off to hunt down this error in the par mail list. Steve Steve Loughran wrote: ActiveState Perl v5.8.6 Uninstalled: Win32::GUI Win32::GUI::Dibitmap Win32::GUI::AxWindow Installed new ppd

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

2006-08-04 Thread Steve Loughran
ActiveState Perl v5.8.6 Uninstalled: Win32::GUI Win32::GUI::Dibitmap Win32::GUI::AxWindow Installed new ppd file. On first run of my code, I get this error: "The procedure entry point PL_memory_wrap could not be located in the dynamic link library perl58.dll" http:/

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

2006-08-03 Thread Steve Loughran
release of 1.04 (which I will add this fix to) up for download later today - you might like to download it and see if it fixes this problem? Regards, Rob. Steve Loughran wrote: OK, some more on this memory leak issue. If I change the code from using AlphaCopyToDC() to using CopyToDC() (Have

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

2006-08-03 Thread Steve Loughran
code sample with some images and put them all in a zip so someone else can try it (just to save my sanity). Is Laurent Rocher a subscribed member on the win32-gui mail list? Steve Steve Loughran wrote: Strict - yes, all the time warning - most of the time :) I think I have tracked the leak

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

2006-08-03 Thread Steve Loughran
leak starts again. Steve Emmanuel E wrote: are you already using use strict? if not use it and cleanup every warning. threads generally have all kinds of memory problems so if ur using threads life becomes very difficult. Steve Loughran wrote: Hi all Not strictly a win32-gui related

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

2006-08-03 Thread Steve Loughran
Hi all Not strictly a win32-gui related question. How would I go about tracking down my memory usage in a perl script? I have a small memory leak in my code somewhere, but no idea where to start looking for clues. Anyone got any pointers or tips? Steve

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

2006-07-22 Thread Steve Loughran
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) Steve

[perl-win32-gui-users] DiBitmap Rescale() and pp/par

2006-07-07 Thread Steve Loughran
Hi all I have some code using DiBitmap Rescale() that runs fine using native perl, but as soon as I pack it into an EXE using pp/par, the code fails, stating: "Your vendor has not defined main::FILTER_BILINEAR, used at (eval 15) line 1234" Has anyone had any experience with par/pp and prob

[perl-win32-gui-users] Removing "borders" from buttons?

2006-07-02 Thread Steve Loughran
Hi all When i create a button in a window, there is a thin "border" around it. The border is lessened when i use "-flat => 1" in the definitions, but its still there. Is there a way of creating buttons without this border? Many thanks Steve

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

2006-06-29 Thread Steve Loughran
It started working again later in the day (not sure exactly what time) Steve Its been like this for a while now (been sitting on this email in case it fixed itself, but alas not...) Can you let me know if this continues. It works fine for me at the moment. Regards, Rob.

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

2006-06-29 Thread Steve Loughran
I am using the Win32-GUI drawing routines already, and they are working fine. It was image manipulation routines I was after (scaling, rotation, color control, etc). Looks faily painless (Ha! famous last words!) Steve Jeremy White wrote: It's quite straightforward to use GD with Win32-GUI - al

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

2006-06-29 Thread Steve Loughran
Ignore my last request for info, I found it here: http://search.cpan.org/~lrocher/Win32-GUI-DIBitmap-0.15/DIBitmap.pm#DIBitmap_and_GD (By the way, I was looking for ways of using the GD image library functions with bitmaps/DIbitmaps... anyone got any pointers?)

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

2006-06-29 Thread Steve Loughran
Just gone to the sourceforge search page for the Win32::Gui lists, and they seem to be very upset about something :( http://sourceforge.net/mail/?group_id=16572 If I try to search for anything, I get a list of messages, but when I click on them (any of them!) to see the content, I get this:

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

2006-06-20 Thread Steve Loughran
: 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. ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https

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

2006-06-19 Thread Steve Loughran
/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::GUI has seemed straight forward(ish), but I think I have run into a

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

2006-06-17 Thread Steve Loughran
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::GUI has seemed straight forward(ish), but I think I have run into a problem due to the fact that I dont know what its supposed to be

Re: [perl-win32-gui-users] execute system command

2006-06-05 Thread Steve Loughran
This is *EXACTLY* what I was looking for a few weeks ago great stuff, nice find! Steve tinti wrote: Thanks for your great answer, this is the way I couldn't explain it in my post, I didn't find the correct words. I found another great working code: BEGIN { Win32::SetChildShowWindow(0)

Re: [perl-win32-gui-users] Two quick questions

2006-05-18 Thread Steve Loughran
I have fiddled with the code and its started working again... I am most confused. Sorry to waste the bandwidth. Jeremy White wrote: First - Windows. How do I "close" a window? I dont mean hide or minimise, but actually close it and deallocate all the resources for it? If I click on the corne

Re: [perl-win32-gui-users] Two quick questions

2006-05-18 Thread Steve Loughran
When the window variable goes out of scope, all resources are released. Great... thanks for that. to make it wider, or make the tabstrip taller. In the past, I have seen a left/right arrow system to scroll horizontally across extra tabs (used to appear on the far right of the tabstrip), but I

[perl-win32-gui-users] Two quick questions

2006-05-18 Thread Steve Loughran
Hi all A couple of quickies: First - Windows. How do I "close" a window? I dont mean hide or minimise, but actually close it and deallocate all the resources for it? If I click on the corner "x", my routine gets called before it closes, and the system terminates the window, but how do I get m

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

2006-05-09 Thread Steve Loughran
OK, I "bodged" it... i created a .bat file with the command, and ran that with SW_HIDE, and it works as expected now. (some odd interaction when the options passed to the command in ShellExecute contains a "quoted" or even \"quoted\" option... dont ask... i have no idea...) Half the fun of cod

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

2006-05-08 Thread Steve Loughran
quot;,">d:\\text.txt","d:\\",SW_HIDE); but the output file doesn't get written. I could pack pp without the --gui option, leaving the console behind, then call hide/show on that, but it looks scrappy :( Steve Robert May wrote: Steve Loughran wrote: Is there a

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

2006-05-05 Thread Steve Loughran
Hi all Yes, its me again... sorry :) Part of my application needs to run a command, and take the output of that command to work on. This bit works fine, BUT it momentarily opens a cmd.exe instance. Not only does this look a bit scrappy, it also causes the window focus to be swapped to the cmd

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

2006-05-02 Thread Steve Loughran
of the button operations code? Other than that I don't readily know of any "easy" way to make it more effectively displayed. Jason P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Loughran Sent: Tuesday, May 02, 2006 10:39 AM To:

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

2006-05-02 Thread Steve Loughran
Hi all Is there any way or making a specific button/textbox/treeview "active" or have the focus? I am trying to keep my TreeView "active" so the highlighted entry shows up better after another button in the window has been pressed. Also, and an afterthought actually, is there any way of maki

Re: [perl-win32-gui-users] Treeview -> Sort()/SortChildren()

2006-04-29 Thread Steve Loughran
n( -name => "btSort", -text => "Sort", -size => [80, 24], -pos => [60, 140], -onClick => sub { $obTV->Sort(0); 1 }, ); $obMW->Show; Win32::GUI::Dialog(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[perl-win32-gui-users] Treeview -> Sort()/SortChildren()

2006-04-29 Thread Steve Loughran
Hi all After Jason Plum posted the example code for TreeViews (thank you!), I have had no problems at all... until today :) I am creating a treeview and now trying to sort the entries using Sort() or SortChildren(), but neither of these seem to be doing anything. I have tried using indvidual

Re: [perl-win32-gui-users] TreeView example code?

2006-04-24 Thread Steve Loughran
esulting insert :) ImageList's are fun managing the images associated with each item can be 'phun' to say the least if you arent paying close attention to what item is what :p Steve Loughran wrote: Hi all For the life of me, I cannot quite get my head around TreeViews (Am

[perl-win32-gui-users] TreeView example code?

2006-04-23 Thread Steve Loughran
Hi all For the life of me, I cannot quite get my head around TreeViews (Am sure its something to do with lack of sleep or caffeine), and the example code with the WIN32::GUI distribution doesn't appear to have any code for it. Can anyone point me in the right direction? Many thanks for your

[perl-win32-gui-users] Re: [win32-gui] WS_EX_NOACTIVATE - possible in win32::GUI?

2006-04-11 Thread Steve Loughran
Many thanks for that, far easier to use than messing with SetWindowLong() I dont see any reference to -pushexstyle in the docs on the website btw http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=window Steve sub WS_EX_NOACTIVATE() {0x800} ... my $win = Win32::GUI::Window

[perl-win32-gui-users] SetWindowLong() missing or not available?

2006-04-07 Thread Steve Loughran
Hi all In Win32::GUI v1.03, although I am able to use: GetWindowLong it appears that its opposite number: SetWindowLong doesnt work. ActivePerl is moaning about: Undefined subroutine &main::SetWindowLong called at Is it really missing, or am I having another dumb

[perl-win32-gui-users] Disabling default action for LWIN/RWIN?

2006-04-06 Thread Steve Loughran
Hi all Is there a way to disable the LWIN/RWIN default action of popping up the windows start menu? (and how about enabling them again afterwards?) Any pointers would be helpful. Many thanks in advance. Steve

[perl-win32-gui-users] Checkbox with bitmap?

2006-03-13 Thread Steve Loughran
Hi all Is it possible to attach/load a bitmap into a Checkbox? I cant seem to get it to work, so just checking to see if its me thats having a bad coding evening, or if I am wasting my time trying to get it to work :) Steve

[perl-win32-gui-users] slightly off topic: flushing TCP connections

2006-03-06 Thread Steve Loughran
Sorry for the slightly off topic post, but I cant think of a better bunch of people to ask :) Yes, I have googled for this, and tried the options I found, but I am still getting no results... I have a TCP network connection between client and server which is working fine, but I am unable to ge

Re: [perl-win32-gui-users] Redrawing changing Text

2006-02-28 Thread Steve Loughran
Hi Jeremy Thanks for that. I would have tried the text stuff myself, but I am away from home and my code for a while. I`ll go take a look at the drawing examples as well. Steve Jeremy White wrote: OK, almost newbie question. (Quickly writing this in between doing my real job). I need to

[perl-win32-gui-users] Redrawing changing Text

2006-02-28 Thread Steve Loughran
Hi all First off, can I say a big "THINK YOU!" to all who have helped me over the last few weeks with the few questions I have asked, you have all been a great help! OK, almost newbie question. (Quickly writing this in between doing my real job). I need to be able to put text into my window

Re: [perl-win32-gui-users] -onEvent weirdness for "on-the-fly" created Buttons

2006-01-12 Thread Steve Loughran
Sanity is returning. I assigned the $configdata to "my $name" and used that in the correct places, and all is right with the world again. Many thanks for that... I was slowly going mad. Nice to see that I was at least right about what I thought was going on, even if I had no idea why :) Stev

[perl-win32-gui-users] -onEvent weirdness for "on-the-fly" created Buttons

2006-01-12 Thread Steve Loughran
Hi all I am progressing with my project quickly, but have hit a problem that I cant seem to work out. I am reading in a text file, and creating several buttons on the fly. This is a very simplistic version of the code: == $win->AddButton( -name => $configdata{na

[perl-win32-gui-users] TabStrip

2006-01-11 Thread Steve Loughran
Hi all I have a question about TabStrip usage: Is it the responsibilty of the application to process Click Events on the tab headers, and hide/show the various buttons for each tab page, or am I missing something that makes life oh so much easier? Anyone have some demo code? Steve

Re: [perl-win32-gui-users] File requester in Win32?

2006-01-10 Thread Steve Loughran
doh! thank you! :) Steve Jeremy White wrote: Hi all Is there any easy way to include a file name requester (like when you "Save as..." in a program) to allow you to return a filename for loading/saving? I think I have seen it in my trawling through websites, but I cannot remember where...

[perl-win32-gui-users] File requester in Win32?

2006-01-10 Thread Steve Loughran
Hi all Is there any easy way to include a file name requester (like when you "Save as..." in a program) to allow you to return a filename for loading/saving? I think I have seen it in my trawling through websites, but I cannot remember where Many thanks in advance. Steve

Re: [perl-win32-gui-users] Newbie Alert -> Button options

2006-01-03 Thread Steve Loughran
-foreground => 0xFF, -text => "Hello", -align => "center", ); $W1->Show(); Win32::GUI::Dialog(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Loughran Sent: Tuesday, 03 January, 2006 18:3

[perl-win32-gui-users] Newbie Alert -> Button options

2006-01-03 Thread Steve Loughran
Hi all I have only been playing with Win32::Gui for about 11 hours so far, but its doing almost everything I want it to do so far (windows, buttons, -onEVENT, hooking it into Win32:GuiTest, all works great...) ... but, like most newbies, there are always some things that elude me: Question #