RE: [perl-win32-gui] Options and Checkboxes
> -- > From: David Hiltz[SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, March 9, 1999 3:53 AM > To: [EMAIL PROTECTED] > Subject: Re: [perl-win32-gui] Options and Checkboxes > > > > I'm a relative newbie to Win32::GUI. I've hacked my way through most of examples > > to get almost everything I need, but I'm now hitting a brick wall trying to > > figure out checkboxes. Does anyone know where I can find reference to %options > > that is scattered throughout the documentation, as I think this is all I need. > > > > Win32::GUI is excellent, especially for a beta. I've tried out Tk as well, but I > > prefer the flexibilty of Win32::GUI. > > I think Tk/Perl is just as flexable if not more than Win32:GUI and it's > well documented. The reason I'm using Win32::GUI is that I like the > native look of Windows more than X-Windows. Microsoft did a nice job > designing the GUI in Windows. Also, my users are comfortable with Windows > widgets and introducting an Xwindows lookandfeel would only confused them. > > That's my reasons. > > I think the Timers are broken in TK/Perl for Win32 which makes it unusable in alot >of cases for me. > Following up hte other point. Of course TK is more polished at this point. It has >been around alot longer. > Kind of strange that the timers are broken though. Makes you wonder who is in charge >of testing > those things. However given its newness it isn't very suprising that there is >little or no documentation. > just my 2 cents, //Matt
Re: [perl-win32-gui] Options and Checkboxes - options [was forget it...]
David Murphy@ITS 10/03/99 08:46 I downloaded the non-PPM/Activestate version from Aldo's site. In that distribution is some documentation I can't find in the PPM distribution. It's very rough, but here's what I found... HCLASS RegisterClassEx(%options) NOTE: this is used by the "new Win32::GUI::Class" function, and should not be called directly. %options: -extends (name of the class to extend) -name (name for the class) -color (HBRUSH, to be defined...) -visual (0/1) NOTE: 0 is obsoleted, uses a different message loop... -widget (name of widget to subclass, actually only "Button" or "Listbox") -style ??? -icon (HICON) -cursor (HCURSOR) -menu (string) HWND Create(%options) NOTE: this is used by the "new Win32::GUI::..." functions, and should not be called directly. %options common to all controls: -class (Win32::GUI::Class or classname) -text (string) -title == -text -style (DWORD, not recommended) -exstyle (see -style) -left -top -width -height -parent (HWND) -menu (Win32::GUI::Menu or HMENU) -instance (HINSTANCE, not recommended) -data (LPVOID, not recommended) -name (string) -function (string, obsoleted) -font (Win32::GUI::Font or HFONT) -visible (0/1) NOTE: this is by default 0 for Win32::GUI::Window and ::DialogBox, 1 for all the other controls -disabled (0/1) -group (0/1) -tabstop (0/1) %options for Win32::GUI::TextField -password (0/1) %options for Win32::GUI::Button, ::Checkbox and ::RadioButton -align (left/center/right) -valign (top/center/bottom) %options for Win32::GUI::ListBox -multisel (0/1/2) %options for Win32::GUI::TabStrip -multiline (0/1) -imagelist (Win32::GUI::ImageList or HIMAGELIST) %options for Win32::GUI::ListView -imagelist (Win32::GUI::ImageList or HIMAGELIST) -showselalways (0/1) %options for Win32::GUI::TreeView -lines (0/1) -rootlines (0/1) -buttons (0/1) -imagelist (Win32::GUI::ImageList or HIMAGELIST) -showselalways (0/1) There's nothing really groundbreaking, but it's nice know them all. As for my problems with checkboxes, it turned out it was a stray comma, not the options, but at least I've found them now... HTH -- David Murphy -I.T.S- [EMAIL PROTECTED]
RE: [perl-win32-gui] Options and Checkboxes
I think the big trick there was to know you could place frames within frames. Once that hurdle is over-come placement couldn't be easier. Phil Larson > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz > Sent: Tuesday, March 09, 1999 7:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [perl-win32-gui] Options and Checkboxes > > > > > and SpecPerl is a cool forms builder everyone ought to look at. > > I was not impressed with SpecPerl. I could never get it to > place widgets > right where I wanted them. You had to understand how to manipulate the > allocation rectangles which I found very hard to do. > > David Hiltz > > > Phil Larson > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz > > > Sent: Monday, March 08, 1999 1:54 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [perl-win32-gui] Options and Checkboxes > > > > > > > > > > > > > I'm a relative newbie to Win32::GUI. I've hacked my way through > > > most of examples > > > > to get almost everything I need, but I'm now hitting a brick > > > wall trying to > > > > figure out checkboxes. Does anyone know where I can find > > > reference to %options > > > > that is scattered throughout the documentation, as I think this > > > is all I need. > > > > > > > > Win32::GUI is excellent, especially for a beta. I've tried out > > > Tk as well, but I > > > > prefer the flexibilty of Win32::GUI. > > > > > > I think Tk/Perl is just as flexable if not more than > Win32:GUI and it's > > > well documented. The reason I'm using Win32::GUI is that I like the > > > native look of Windows more than X-Windows. Microsoft did > a nice job > > > designing the GUI in Windows. Also, my users are comfortable > > > with Windows > > > widgets and introducting an Xwindows lookandfeel would only > > > confused them. > > > > > > That's my reasons. > > > > > >--- > > >David Hiltz > > >Email: [EMAIL PROTECTED] > > >Unix System and Network Administrator > > >Northeast Fisheries Science Center > > >##&@&## > > > > > > > > >
Re: [perl-win32-gui] Options and Checkboxes - options [was forget it...]
actually i'd be interested in getting the %options list also, since i have been guessing a lot! Aaron Dalton <[EMAIL PROTECTED]> on 03/09/99 01:08:06 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(Sundar Raman/MW/US/3Com) Subject: Re: [perl-win32-gui] Options and Checkboxes - forget it... Where did you find it? None of my docs have it. Newer version? Cheers! Aaron :) [EMAIL PROTECTED] wrote: > > David Murphy@ITS > 09/03/99 14:28 > > I found the definitions of %options... Everything is working OK now... > -- > David Murphy > -I.T.S- > [EMAIL PROTECTED] -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS/IT d+ s+:+>: a->? C+++ ULC>+++ P$ L>+++ E- W++$ N++(+) o>+ K++ w-- O@ M-- V PS-- PE++ Y+ PGP+ t+ 5+++ X+(++) R tv+ b+++ DI++(+++) D++ G e>+++ h+> r y- --END GEEK CODE BLOCK--
Re: [perl-win32-gui] Options and Checkboxes - forget it...
Where did you find it? None of my docs have it. Newer version? Cheers! Aaron :) [EMAIL PROTECTED] wrote: > > David Murphy@ITS > 09/03/99 14:28 > > I found the definitions of %options... Everything is working OK now... > -- > David Murphy > -I.T.S- > [EMAIL PROTECTED] -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS/IT d+ s+:+>: a->? C+++ ULC>+++ P$ L>+++ E- W++$ N++(+) o>+ K++ w-- O@ M-- V PS-- PE++ Y+ PGP+ t+ 5+++ X+(++) R tv+ b+++ DI++(+++) D++ G e>+++ h+> r y- --END GEEK CODE BLOCK--
Re: [perl-win32-gui] Options and Checkboxes - forget it...
David Murphy@ITS 09/03/99 14:28 I found the definitions of %options... Everything is working OK now... -- David Murphy -I.T.S- [EMAIL PROTECTED]
Re: [perl-win32-gui] Options and Checkboxes
> and SpecPerl is a cool forms builder everyone ought to look at. I was not impressed with SpecPerl. I could never get it to place widgets right where I wanted them. You had to understand how to manipulate the allocation rectangles which I found very hard to do. David Hiltz > Phil Larson > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz > > Sent: Monday, March 08, 1999 1:54 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [perl-win32-gui] Options and Checkboxes > > > > > > > > > I'm a relative newbie to Win32::GUI. I've hacked my way through > > most of examples > > > to get almost everything I need, but I'm now hitting a brick > > wall trying to > > > figure out checkboxes. Does anyone know where I can find > > reference to %options > > > that is scattered throughout the documentation, as I think this > > is all I need. > > > > > > Win32::GUI is excellent, especially for a beta. I've tried out > > Tk as well, but I > > > prefer the flexibilty of Win32::GUI. > > > > I think Tk/Perl is just as flexable if not more than Win32:GUI and it's > > well documented. The reason I'm using Win32::GUI is that I like the > > native look of Windows more than X-Windows. Microsoft did a nice job > > designing the GUI in Windows. Also, my users are comfortable > > with Windows > > widgets and introducting an Xwindows lookandfeel would only > > confused them. > > > > That's my reasons. > > > >--- > >David Hiltz > >Email: [EMAIL PROTECTED] > >Unix System and Network Administrator > >Northeast Fisheries Science Center > >##&@&## > > > >
Re: [perl-win32-gui] Options and Checkboxes
David Murphy@ITS 09/03/99 08:40 The reason I'm not as keen on Tk is because the layout can be a real pain to work out. Win32::GUI works so much easire and nicer (except checkboxes!). This is also a pure Win32 site, so there's not much point trying to use anything else...
RE: [perl-win32-gui] Options and Checkboxes
I like the portability of TK, and SpecPerl is a cool forms builder everyone ought to look at. But, I like Win32::GUI because I think its easier. Phil Larson > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz > Sent: Monday, March 08, 1999 1:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [perl-win32-gui] Options and Checkboxes > > > > > I'm a relative newbie to Win32::GUI. I've hacked my way through > most of examples > > to get almost everything I need, but I'm now hitting a brick > wall trying to > > figure out checkboxes. Does anyone know where I can find > reference to %options > > that is scattered throughout the documentation, as I think this > is all I need. > > > > Win32::GUI is excellent, especially for a beta. I've tried out > Tk as well, but I > > prefer the flexibilty of Win32::GUI. > > I think Tk/Perl is just as flexable if not more than Win32:GUI and it's > well documented. The reason I'm using Win32::GUI is that I like the > native look of Windows more than X-Windows. Microsoft did a nice job > designing the GUI in Windows. Also, my users are comfortable > with Windows > widgets and introducting an Xwindows lookandfeel would only > confused them. > > That's my reasons. > >--- >David Hiltz >Email: [EMAIL PROTECTED] >Unix System and Network Administrator >Northeast Fisheries Science Center >##&@&## >
Re: [perl-win32-gui] Options and Checkboxes
At 01:53 PM 08/03/99 -0500, David wrote: > I think Tk/Perl is just as flexable if not more than Win32:GUI and it's > well documented. The reason I'm using Win32::GUI is that I like the > native look of Windows more than X-Windows. Microsoft did a nice job > designing the GUI in Windows. Also, my users are comfortable with Windows > widgets and introducting an Xwindows lookandfeel would only confused them. >From a usability standpoint the Windows native controls are much better -- keyboard navigation is possible for *every* aspect of Windows. I *never* use the mouse. I think Windows is the only major GUI that allows this. Also, I think TK is a bit slower. I ran some of the demos on my PII-333 and there was a noticeable delay as checkboxes got checked and unchecked. Mind you, it would be nice to be able to write a Win32::GUI app and then be able to automatically convert it to use TK in order to make the cross-platform version. While I'm at it, I'd like a pony...:) Michael -- Michael Graham [EMAIL PROTECTED]
Re: [perl-win32-gui] Options and Checkboxes
> I'm a relative newbie to Win32::GUI. I've hacked my way through most of examples > to get almost everything I need, but I'm now hitting a brick wall trying to > figure out checkboxes. Does anyone know where I can find reference to %options > that is scattered throughout the documentation, as I think this is all I need. > > Win32::GUI is excellent, especially for a beta. I've tried out Tk as well, but I > prefer the flexibilty of Win32::GUI. I think Tk/Perl is just as flexable if not more than Win32:GUI and it's well documented. The reason I'm using Win32::GUI is that I like the native look of Windows more than X-Windows. Microsoft did a nice job designing the GUI in Windows. Also, my users are comfortable with Windows widgets and introducting an Xwindows lookandfeel would only confused them. That's my reasons. --- David Hiltz Email: [EMAIL PROTECTED] Unix System and Network Administrator Northeast Fisheries Science Center ##&@#