Re: [perl-win32-gui-users] [The GUI Loft] The future of GUI programming in Perl?

2006-10-23 Thread stuart arnold
Johan, Not about TGL, but how about OASIS? We use it heavily to review our fellow developers code(docs). thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Lindstrom Sent: Monday, October 23, 2006 2:36 PM To: [EMAIL PROTECTED]; perl-win32-gui

RE: [perl-win32-gui-users] Combobox and KeyPress

2004-09-20 Thread Stuart Arnold
2 things on selecting: 1. use CB_SELECTSTRING 2. send message of CBN_SELCHANGE to notify window. the second is important in that many dialogs/windows want that notification to perform other stuff on the window. eg, selecting a printer will change what default/min margins are allowed. Adding one i

RE: [perl-win32-gui-users] Need some minor cleanup help and a note on radio buttons

2003-07-23 Thread Stuart Arnold
Hey, In response to # 1 (textfield problem), make sure that "$window" is valid. It may be complaining about that, and therefore leading you the wrong way. Secondly, my calls to "Add" are typically: $Textfield = $Window->AddTextfield( -name => "Textfield", -left => 10, -top

RE: [perl-win32-gui-users] Click subroutine doesn't get control when script is executing

2003-07-20 Thread Stuart Arnold
In the typiucal windows way (which we can do in PERL), is to start a TIMER. The classic to this approach is a "setup" pogram with the prograss bar. When you start your script, you will need to set a WM_TIMER for some time slice, eg, every 2 seconds. If you're building your own GUI, then before th

RE: [perl-win32-gui-users] Re: [Win32::GUI] List of missing desired widgets

2003-06-17 Thread Stuart Arnold
The scrollbar, with another control(usually a textfield), is used as a "Buddy" control. Together, they make the "Stepper" control. It's kind-of handy in the interface. Regards, -Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Lindstrom Sent:

RE: [perl-win32-gui-users] Helpbutton event

2003-06-05 Thread Stuart Arnold
I'm only guessing, but you're probably wanting a persistent dialog that cannot go away, however you want the user to click on help for a field. I've wanted the same... I've spent some time working on this problem. Here's what I found: 1) I posted a question about the helpbutton twice, no response

RE: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-05 Thread Stuart Arnold
Jeremy, all: While I have not explored this into much depth (I run WinXP and have exactly this problem), I came across this help topic in VC++60: "Using Windows XP Visual Styles". Obviously I can't point you there, but I googled for it and got: http://msdn.microsoft.com/library/default.asp?url=/

RE: [perl-win32-gui-users] ListView question: What event should I use when checking an item on a list?

2003-05-24 Thread Stuart Arnold
even if it is the same item. Having it not do so is just flaky/inconsistent with other "select" events. Regards, -Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2003 7:19 PM To: Stuart Arnold Cc: perl-win32-gui-users@lists.sourc

RE: [perl-win32-gui-users] ListView question: What event should I use when checking an item on a list?

2003-05-16 Thread Stuart Arnold
I gave up on _ItemClick, Just try the "_Click" like a Listbox does. You don't get anything as part of your call like ItemClick does, you just have to inspect the selected item(s). Besides, you get better control on what's going on. To inspect, just get SelectedItems, then loop thru them for their

RE: [perl-win32-gui-users] Win32::GUI::HyperLink ownership

2003-05-15 Thread Stuart Arnold
You're, right, I forgot about that. I had looked at the code and made the change. I believe I had sent that to the "jeb" site, along with the request for the PPD and doc on this control. The response I got was that it was documented in the site, but I didn't find it. I guess I "dropped the ball" on

RE: [perl-win32-gui-users] Win32::GUI::HyperLink ownership

2003-05-14 Thread Stuart Arnold
If you (or anyone that does take "ownership"), you may want to fix a bug it has. I've used it in my "generic" AboutBox.pm which takes an argument for the program's website. The "bug" is that once its made, you cannot change the URL. Should have a property to change to its dynamic sub call. just a

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

2003-05-02 Thread Stuart Arnold
Please don't use the "1" and "2"... of the returns. The IDOK, IDCANCEL, etc are actually in Win32::Shell32 I don't know why that is, I'd have thought it was core/fundamental since these are standard IDs. ;-} -stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [perl-win32-gui-users] Keeping track of child windows

2003-04-30 Thread Stuart Arnold
There is a PM called the Modalizer. It comes with the FRE "The Gui Loft", aka, TGL. Its an interactive design of windows, ie, like VB and VC++ have. With it comes a host of other packages as well. Do you hate to figure out Resizing? Johan (author of TGL) and I believe some work of others as well

RE: [perl-win32-gui-users] Silly question

2003-04-22 Thread Stuart Arnold
I haven't tried it but you may be able to do a plain "SendMessage( WM_DESTROY...)" to the Child window. I believe you'll need to used the windows "-handle" property or GetWindow() func to do it. I'll take a look tinite on it. Lemme know if it works or not. -stuart -Original Message- From: [

RE: [perl-win32-gui-users] StatusBar question

2003-04-16 Thread Stuart Arnold
If you're from the VC++ world, then you would know about "panes" of the status bar (that's what I've always done). My understanding (or at least what I've done) is to create multiples on the bottom (I didn't see any "panes" attribute). It would be nice to have kinda the standard type/.style that w

RE: [perl-win32-gui-users] Strange mouse behaviour

2003-04-15 Thread Stuart Arnold
I've seen this same behaviour (yet not consistent). Thought it was me! No idea but I hope someone helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cruickshanks, Darin Sent: Tuesday, April 15, 2003 5:10 AM To: Perl-Win32-Gui-Users Subject: [perl-win3

RE: [perl-win32-gui-users] Push Button with the picture (bitbtn)

2003-04-12 Thread Stuart Arnold
I'll assume the "Picture" is a bitmap or icon? This works for a bitmap, and icon is just as easy. Here's a sniplet. BEGIN{ our $bitmap; } die "file doesn't exist" unless( -e "mypicture.bmp" ); $bitmap = new Win32::GUI::Bitmap( "mypicture.bmp" ) or die "Error, cannot load bitmap\n"; $win->

[perl-win32-gui-users] useWin32() -vs- use Win32, I'll byte!

2003-04-06 Thread Stuart Arnold
What's the difference or is it a bug or what? I'm just curious as I have been told and seen examples of "use Win32();" But other "examples" just show "use Win32;". As i said, just curious. -Stuart I could.while away the hours, convesing with the flowers, if I only had a brain...