RE: [perl-win32-gui-users] Labels

2004-01-19 Thread Chris
Let me make that Transparent controls, I would like to be able to see my background behind my labels and progress bar, and such. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Monday, January 19, 2004 8:00 PM To: perl-win32-gui-users@lists.sou

[perl-win32-gui-users] Labels

2004-01-19 Thread Chris
How do I make a label background transparent?

[perl-win32-gui-users] Freeform windows

2004-01-19 Thread Chris
Okay, is there a way to implement freeform windows yet, so I can have windows that are round, and other odd shapes??

Re: [perl-win32-gui-users] another newbie question...

2004-01-19 Thread Glenn Linderman
On approximately 1/15/2004 4:32 AM, came the following characters from the keyboard of Sirisha Gollapudi: Hi all, after some difficulty I managed to get Win32::GUI up and running - being pretty new to this I was wondering if anyone could help with another query. I have a fully functional perl

Re: [perl-win32-gui-users] Scroll bar example

2004-01-19 Thread Glenn Linderman
On approximately 1/16/2004 8:26 AM, came the following characters from the keyboard of Stephen Pick: You must handle all scrolling yourself, as i've said a million times. I will look into MDIs when I have the time; win32::gui already seems to have an MDI object but I'm unsure of what it does.

RE: [perl-win32-gui-users] RE:Win32::GUI Dev PPM latest

2004-01-19 Thread Chris Wearn
Hi Laurent, Thanks for the reply. >Strange, i have LVIF_INDENT constant define in mingw commctrl.h file. >Do you have it in your commctrl.h file ? No, not present. Checked MinGW CVS and found it was in that one. Also found that SourceForge had a later version (3.1) and I had 2.something as I had

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-19 Thread Glenn Linderman
Glenn, Sorry for the delay, I was not monitoring this email address from 1/15 until now. On approximately 1/16/2004 8:28 AM, came the following characters from the keyboard of Glenn W Munroe: Glenn, I haven't really used the NEM much yet, but when I knocked up a small test script this morni

RE: [perl-win32-gui-users] win32-gui 0.670 and perl2exe

2004-01-19 Thread Ross Clunie
Ross Clunie Wrote: I had the same problem. Got everything working properly by commenting out "use base "Win32::GUI::Window" in the "ToolbarWindow.pm" located in "/Perl/site/lib/Win32/GUI" Hope this works or you. Regards Ross Clunie. > Dear

[perl-win32-gui-users] win32-gui 0.670 and perl2exe

2004-01-19 Thread Grzegorz Uszynski
Dear list, I have functional Perl (5.6) application, with a lot of things done using TGL/Loft. It worked find with 665 and people who use it on daily basis were very happy to have executable and don't bother with Perl at all. Perl2exe nicely accepted everything. I've upgraded to 670 (upgraded TGL

RE: [perl-win32-gui-users] RE:Win32::GUI Dev PPM latest

2004-01-19 Thread Glenn W Munroe
Chris, I, too, am using MinGW and nmake to build the module following Laurent's instructions and had no problem with the latest CVS update this morning. I am running XP Pro. The only thing I noticed was that you mentioned a Win32-GUI-0_0_670-fix branch. I don't believe there is such a branch. Was

Re: [perl-win32-gui-users] RE:Win32::GUI Dev PPM latest

2004-01-19 Thread Laurent ROCHER
Strange, i have LVIF_INDENT constant define in mingw commctrl.h file. Do you have it in your commctrl.h file ? I build it without problem on my Win98SE with perl56 and perl58. Laurent > Hi All, > > Have 'checked out' the latest source code - branch Win32-GUI-0_0_670-fix > from SourceForge CVS (u

RE: [perl-win32-gui-users] Statusbar example

2004-01-19 Thread Stephen Pick
I just know you're going to start asking how to put progress bars in there. Basically, there's a way of obtaining the rectangle of a specific part ($statusbar->GetRect($part)). I'm pretty sure that to insert a progress bar into the status bar you simply make a new progress bar with the status ba

RE: [perl-win32-gui-users] moving windows

2004-01-19 Thread Stephen Pick
Not a problem! Give your label the -notify => 1 option. Now when you click it, it'll generate a WM_LBUTTONDOWN message. Make a new global variable called $MBUTTON: our $MBUTTON = 0; Give your label an -onMouseDown event, and in the event handler, you want to: sub mousedown { $label->Set

Re: [perl-win32-gui-users] Recursive Grep

2004-01-19 Thread Stephen Pick
Hey here's an idea! man grep Wow! -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. Also manifests itself as the rgrep command. RTFM next time. Don't post dumb questions to this list. Post them to perlmonks. Is t

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

2004-01-19 Thread Jez White
Hi, There are a lot of functionality missing for toolbars - tooltips is one of them (I could be wrong...). From the current tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=876334&group_id=16572&atid=366572 Adding toolbars to rebars has issues too...it looks like toolbars are cr

[perl-win32-gui-users] Recursive Grep

2004-01-19 Thread mayank prakash
I have to write a unix shell script which does recursive grep...It should be an enhancement over Grep. i.e. It should support all the functionalities of Grep. Please tell me how to do that I am trying.using 'find'..'grep''$@' etcPlease Help Mayank ___

[perl-win32-gui-users] Toolbar tooltips

2004-01-19 Thread Chris Wearn
Hiya Jez, On the subject of adding missing options... The other night you were also adding the toolbar to the rebar... Prior to the NEW builds that have been done lately, the tooltips did not work on the buttons that were added to a toolbar... have you played with this lately? and know if they ar

[perl-win32-gui-users] moving windows

2004-01-19 Thread Chris
Okay, I have a window, but I'm not sure how to make it so I can move it. $Wmain = Win32::GUI::Window->new( -name => 'winamp', -top => ($screen_heigth - 116)/2, -left => ($screen_width - 275)/2, -maxsize => [2

RE: [perl-win32-gui-users] Statusbar example

2004-01-19 Thread Chris Wearn
Hi Steve, Jez, Thanks Steve. Now its all clear ;-) Got confused with the MSDN which had Parts(nParts[array of widths]). Should have spotted the X co-ordinate in 'x1' Doh! And now Jez has answered my next question with his post, which was how are the parts referenced... hours of fun coming up, ano

Re: [perl-win32-gui-users] Rebar take 3

2004-01-19 Thread Jez White
Steve, No problem - I still don't know what some of the options do - or are supposed to do, but I'll document what I can. It's a start at least:) Cheers, jez. - Original Message - From: Stephen Pick To: Jez White ; Win32-GUI Sent: Monday, January 19, 2004 10:00 AM Subject:

RE: [perl-win32-gui-users] Rebar take 3

2004-01-19 Thread Stephen Pick
Hi Jez, I'm in the process of adding all the missing documentation in Win32::GUI. I've documented well over 50 methods that were previously undocumented. If you find any quirks in the Rebar or would like to document some bits of it for me, that would be very helpful, since I've never attempted

RE: [perl-win32-gui-users] Image change

2004-01-19 Thread Stephen Pick
Have you tried $label->SetImage($win32_gui_bitmap_object)? I find that this doesnt do anything unless you force the image to update. You can do this with: $label->Redraw(0x0001 | 0x0100); Which invalidates the label rect (0x0001 = RDW_INVALIDATE) - you could also use InvalidateRect to do this - a

[perl-win32-gui-users] Rebar take 3 - the example

2004-01-19 Thread Jez White
Forgot the example - I need a coffee:) == use Win32::GUI; use strict; #create a dummy menu my $Menu = new Win32::GUI::Menu( "&File" => "File", " > &New", " > &Open", " > &Save", " > Save &As", " > &Close", ); #create the main window my $

[perl-win32-gui-users] Rebar take 3

2004-01-19 Thread Jez White
Hi, For those who don't know what a rebar (sometimes called "coolbar") control is: It's basically like a tool bar that allows you to create bands where you can attach other controls or child windows. You can move these bands around. Rebar controls are used in a lot of applications, such as word

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

2004-01-19 Thread Jez White
Hi, The code below creates a status bar with 3 parts. If run in the samples directory, will place an icon in one of the parts. Cheers, jez. use Win32::GUI; use strict; my $Icon = new Win32::GUI::Icon("camel.ico"); my $W = new GUI::Window( -title=> "Win32::GUI::statu

RE: [perl-win32-gui-users] Statusbar example

2004-01-19 Thread Stephen Pick
Hi, The correct usage is: $status->Parts(x1,x2,x3,x4,x5...); I'm sorry if the docs were confusing. This takes a list, not a list reference. Also it does not take "widths", it takes the X co-ordinate of the right-hand edge of each part. This is true to the actual API functionality, which is kin