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

2003-06-16 Thread Fred P.

Hi folks!

I was looking at The GUI Loft, Win32::GUI and similar.
Kinda impressive! I tought it was impossible to create
Windows Application from Perl.

For years, I used to develop in VB
with some parts in C compiled in DLL called back in VB,
then I moved to Java, Perl, PHP4 and C++ Builder.

The good point with VB and C++ builder is that it's easy to use
to perform Rapid Application Development,
mostly like Loft, you seemed to get the idea. =)

I was wondering how difficult would it be to complete
the missing commonly used Windows widgets, I made a list here,
of course they are others, VB and C++ Builder have their huge list
of components, but most of them are just plug-in modules
that plain Perl already have like Database or Internet.

The GUI Loft Manual
http://www.bahnhof.se/~johanl/perl/Loft/manual.html

Typical drag'n'drop VCL components with Borland C++ Builder 5.0
http://info.borland.com/techpubs/bcppbuilder/v5/


So here's my wish list: =)
[ Some of them already exist  ]

Standard:
=
TMainMenu:  Main Menu(top window menu)
TPopupMenu: Pop up Menu  (right-click menu)
TLabel: Label
TEdit:  Textbox
TPassword:  Textbox for password
TMemo:  MultiLine TextBox area
TButton:Button
TCheckBox:  Check Box
TRadioButton:   Radio button (element of a group)
TListBox:   List box
TComboBox:  Combo box
TScrollBar: Scroll bar vertical or horizontal
TRadioGroup:Panel Box container for radio buttons set

Additional:  { Custom widget adjacement }
===
TBitBtn:Image with a bitmap on it left hand side with text
TMaskEdit:  TEdit with RegExp input validation mask
TStringGrid:Excel like Grid widget for text only
TDrawGrid:  Excel like Grid widget for text or image
TImage: Image container
TShape: Shape object: Rectangle, oval, square, circle, rounded 
box

TBevel: 3D Line seperator for visual grouping
TScrollBox: ListBox with horizontal scrolling
TCheckListBox:  ListBox with check marks

Win32: {COMCTL32.DLL version 4.70 or later}
==
TTabControl:Tab page
TPageControl:   Tab page controller
TRichEdit:  WordPad like Memo container area with font and images
TTrackBar:  Sound slider
TProgressBar:   Installation like progress bar
TUpDown:Up/Down button
THotKey:HotKey tracking visible container
TMonthCalendar: Microsoft Calendar
TDateTimePicker:Microsoft Calendar inside a combo box
TTreeView:  Tree view component
TListView:  List view component
TStatusBar: Status bar component
TToolBar:   MS Office Tool Bar container
TCoolBar:   MS Office Tool Bar with scroll container
TPageScroller:  MS Office Tool Bar with scroll and moveable container

System:
===
TTimer: Auto-restart count-down Timer event driven
{SetTimer and KillTimer, and to simplify processing the WM_TIMER messages}

TMediaPlayer:   Media Player button (play, pause, stop, ff, rew, prev, 
next, rec, eject)

{Custom bitmap button with predefined callback}

TOleContainer:  Interface to OLE 2.0 object container
{InsertObjectDialog can be called to embed or link to an OLE 2.0 object}

Internet: (Internet Explorer SDK documented on MSDN)
=
TCppWebBrowser: Internet Explorer Embedded DCOM Container

Samples:  (bunch of widget hook-up together)

TCSpinEdit: TextBox with up/down button embedded

Dialogs:  (Windows SDK documented on MSDN)

TOpenDialog:Windows Open dialog
TSaveDialog:Windows Save dialog
TOpenPictureDialog: Windows Open dialog with picture preview
TSavePictureDialog: Windows Save dialog with picture preview
TFontDialog:Windows Font picker dialog
TColorDialog:   Windows Color picker dialog
TPrintDialog:   Windows Print dialog
TPrintSetupDialog:  Windows Print setup dialog
TFindDialog:Windows Find dialog
TReplaceDialog: Windows Replace dialog

Homemade dialogs: (Windows SDK documented on MSDN)
=
TOpenWebDialog: Windows Open dialog with Internet Explorer preview
TSaveWebDialog: Windows Save dialog with Internet Explorer preview

There is other like Office DCOM server/client component for:
Word, Excel, PowerPoint and Outlook
DDE manipulation/automation, but it's easier just to save them
as HTML page with Office 2000/XP and manipulate them in Perl instead.

There's also components for Internet connection and database,
but does can be replaced directly by good old perl module code.

By the way, is there a way to get a stand-alone
Perl GUI application, like TGL.exe ?

Even my C++ Builder application that are 300KB,
most come with 45 MB of DLL/BPL and similar in the current directory.
So having one stand-alone EXE without Perl installed would be great!

Fred P.

__

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

2003-06-16 Thread Roedel, Mark
> -Original Message-
> From: Fred P. [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 7:58 AM
> To: perl-win32-gui-users@lists.sourceforge.net; [EMAIL PROTECTED]
> Subject: [perl-win32-gui-users] [Win32::GUI] List of missing 
> desired widgets
> 
> 
> By the way, is there a way to get a stand-alone
> Perl GUI application, like TGL.exe ?
> 
> Even my C++ Builder application that are 300KB,
> most come with 45 MB of DLL/BPL and similar in the current directory.
> So having one stand-alone EXE without Perl installed would be great!

It's not free software (time-limited trial versions are available for
download), but I've been pretty pleased with my results so far using
Perl2Exe (http://www.indigostar.com/perl2exe.htm).



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

2003-06-16 Thread Aldo Calpini
Fred P. wrote:
> So here's my wish list: =)
> [ Some of them already exist  ]

hi Fred,
I've commented your list giving the (probable) Win32::GUI
equivalents to the widgets you mention. if you, or somebody else, has
some comments, feel free to share :-)

> Standard:
> =
> TMainMenu:  Main Menu(top window menu)

Win32::GUI::Menu

> TPopupMenu: Pop up Menu  (right-click menu)

Win32::GUI::Menu (sub-menus can be used with the TrackPopupMenu function)

> TLabel: Label

Win32::GUI::Label

> TEdit:  Textbox

Win32::GUI::Textfield

> TPassword:  Textbox for password

Win32::GUI::Textfield (with -password => 1)

> TMemo:  MultiLine TextBox area

Win32::GUI::Textfield (with -multiline => 1)

> TButton:Button

Win32::GUI::Button

> TCheckBox:  Check Box

Win32::GUI::Checkbox

> TRadioButton:   Radio button (element of a group)

Win32::GUI::RadioButton

> TListBox:   List box

Win32::GUI::Listbox

> TComboBox:  Combo box

Win32::GUI::Combobox

> TScrollBar: Scroll bar vertical or horizontal

missing, but do we need one?

> TRadioGroup:Panel Box container for radio buttons set

missing, and we need one :-)

> Additional:  { Custom widget adjacement }
> ===
> TBitBtn:Image with a bitmap on it left hand side with text

don't know what it is.

> TMaskEdit:  TEdit with RegExp input validation mask

should be easy with a few lines of code?

> TStringGrid:Excel like Grid widget for text only
> TDrawGrid:  Excel like Grid widget for text or image

see Win32::GUI::Grid by Laurent Rocher

> TImage: Image container

Win32::GUI::Label (with -bitmap => $Bitmap)

> TShape: Shape object: Rectangle, oval, square, circle, rounded 
> box

Win32::GUI::Graphic (or InteractiveGraphic) (mostly)

> TBevel: 3D Line seperator for visual grouping

Win32::GUI::Groupbox (maybe?)

> TScrollBox: ListBox with horizontal scrolling

Win32::GUI::Listbox

> TCheckListBox:  ListBox with check marks

Win32::GUI::ListView (with -checkboxes => 1)

> Win32: {COMCTL32.DLL version 4.70 or later}
> ==
> TTabControl:Tab page
> TPageControl:   Tab page controller

actually only Win32::GUI::Tabstrip

> TRichEdit:  WordPad like Memo container area with font and images

Win32::GUI::RichEdit

> TTrackBar:  Sound slider

don't know what it is

> TProgressBar:   Installation like progress bar

Win32::GUI::ProgressBar

> TUpDown:Up/Down button


> THotKey:HotKey tracking visible container

missing.

> TMonthCalendar: Microsoft Calendar

missing.

> TDateTimePicker:Microsoft Calendar inside a combo box

Win32::GUI::DateTime

> TTreeView:  Tree view component

Win32::GUI::TreeView

> TListView:  List view component

Win32::GUI::ListView

> TStatusBar: Status bar component

Win32::GUI::StatusBar

> TToolBar:   MS Office Tool Bar container

Win32::GUI::Toolbar

> TCoolBar:   MS Office Tool Bar with scroll container

see Win32::GUI::Rebar

> TPageScroller:  MS Office Tool Bar with scroll and moveable container

Win32::GUI::Rebar

> System:
> ===
> TTimer: Auto-restart count-down Timer event driven
> {SetTimer and KillTimer, and to simplify processing the WM_TIMER messages}

Win32::GUI::Timer

> TMediaPlayer:   Media Player button (play, pause, stop, ff, rew, prev, 
> next, rec, eject)
> {Custom bitmap button with predefined callback}

Win32::GUI::Animation (very limited, tho)

> TOleContainer:  Interface to OLE 2.0 object container
> {InsertObjectDialog can be called to embed or link to an OLE 2.0 object}

see Win32::GUI::AxWindow by Laurent Rocher

> Internet: (Internet Explorer SDK documented on MSDN)
> =
> TCppWebBrowser: Internet Explorer Embedded DCOM Container

see Win32::GUI::AxWindow by Laurent Rocher

> Samples:  (bunch of widget hook-up together)
> 
> TCSpinEdit: TextBox with up/down button embedded

missing.

> Dialogs:  (Windows SDK documented on MSDN)
> 
> TOpenDialog:Windows Open dialog

Win32::GUI::GetOpenFileName

> TSaveDialog:Windows Save dialog

Win32::GUI::GetSaveFileName

> TOpenPictureDialog: Windows Open dialog with picture preview
> TSavePictureDialog: Windows Save dialog with picture preview

missing.

> TFontDialog:Windows Font picker dialog

Win32::GUI::ChooseFont

> TColorDialog:   Windows Color picker dialog

Win32::GUI::ChooseColor

> TPrintDialog:   Windows Print dialog
> TPrintSetupDialog:  Windows Print setup dialog
> TFindDialog:Windows Find dialog
> TReplaceDialog: Windows Replace dialog

missing.

> Homemade dialogs: (Windows SDK documented on MSDN)
> =
> TOpenWebDialog: Windows Open dialog with Internet Explorer preview
> TSaveWebDialog: Windows Save dialog with Internet Explorer previ

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

2003-06-16 Thread Jeremy White

Aldo,

Any news on the new build?

Cheers,

jez.



From: Aldo Calpini <[EMAIL PROTECTED]>
Reply-To: Aldo Calpini <[EMAIL PROTECTED]>
To: "Fred P." <[EMAIL PROTECTED]>
CC: perl-win32-gui-users@lists.sourceforge.net, [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui-users] [Win32::GUI] List of missing desired 
widgets

Date: Mon, 16 Jun 2003 18:10:09 +0200

Fred P. wrote:
> So here's my wish list: =)
> [ Some of them already exist  ]

hi Fred,
I've commented your list giving the (probable) Win32::GUI
equivalents to the widgets you mention. if you, or somebody else, has
some comments, feel free to share :-)


_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger





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

2003-06-16 Thread Laurent ROCHER
Hi,

Eventualy, you can take a look to PAR (Perl ARchive toolkit)
It's possible to turn a script to an executable.

It's available via ActiveState PPM (but not last release, 0.67 i think).

See : http://search.cpan.org/author/AUTRIJUS/PAR-0.69/

Laurent.

>> By the way, is there a way to get a stand-alone
>> Perl GUI application, like TGL.exe ?
>>
>> Even my C++ Builder application that are 300KB,
>> most come with 45 MB of DLL/BPL and similar in the current directory.
>> So having one stand-alone EXE without Perl installed would be great!
>
> It's not free software (time-limited trial versions are available for
> download), but I've been pretty pleased with my results so far using
> Perl2Exe (http://www.indigostar.com/perl2exe.htm).




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

2003-06-16 Thread Fred P.

Thanks Aldo!


> So here's my wish list: =)
> [ Some of them already exist  ]

hi Fred,
I've commented your list giving the (probable) Win32::GUI
equivalents to the widgets you mention. if you, or somebody else, has
some comments, feel free to share :-)


The GUI Loft should support those widget then!
The version I downloaded had a very small list of widget. =|
If I could drag'n'drop any of them that would be really really cool! =)


> Standard:
> =
> TMainMenu:  Main Menu(top window menu)

Win32::GUI::Menu

> TPopupMenu: Pop up Menu  (right-click menu)

Win32::GUI::Menu (sub-menus can be used with the TrackPopupMenu function)

> TLabel: Label

Win32::GUI::Label

> TEdit:  Textbox

Win32::GUI::Textfield

> TPassword:  Textbox for password

Win32::GUI::Textfield (with -password => 1)

> TMemo:  MultiLine TextBox area

Win32::GUI::Textfield (with -multiline => 1)

> TButton:Button

Win32::GUI::Button

> TCheckBox:  Check Box

Win32::GUI::Checkbox

> TRadioButton:   Radio button (element of a group)

Win32::GUI::RadioButton

> TListBox:   List box

Win32::GUI::Listbox

> TComboBox:  Combo box

Win32::GUI::Combobox

> TScrollBar: Scroll bar vertical or horizontal

missing, but do we need one?


yes. There should be a way to get such, it's a win32 gui element.
Could be needed for composed widget.



> TRadioGroup:Panel Box container for radio buttons set

missing, and we need one :-)


Not necessarly, but how do you group radio set ?
Inside a hash? I know VB5 doesn't require such, but Borland does.

+--- Fruits ---+
|  o Ananas|
|  o Bananas   |
|  o Cherry|
+--+

+--- Names +
|  o Fred  |
|  o Garry |
|  o Larry |
+--+


There should be a way to get such, it's a also win32 gui element.



> Additional:  { Custom widget adjacement }
> ===
> TBitBtn:Image with a bitmap on it left hand side with text

don't know what it is.


This is SO FUNDAMENTAL for usability reasons:

++
|   [folder] Open|
++

++
|   [disk]   Save|
++

++
|   [door]  Exit |
++




> TMaskEdit:  TEdit with RegExp input validation mask

should be easy with a few lines of code?


Sure, but why not making it inside a perl class with inheritance.
For instance, the hook up needed such that it takes only numerics
/^[0-9]{0,6}$/

Such that the textbox doesn't do anything on non-numerics: "characters being 
ignored".



> TStringGrid:Excel like Grid widget for text only
> TDrawGrid:  Excel like Grid widget for text or image

see Win32::GUI::Grid by Laurent Rocher

> TImage: Image container

Win32::GUI::Label (with -bitmap => $Bitmap)

> TShape: Shape object: Rectangle, oval, square, circle, 
rounded

> box

Win32::GUI::Graphic (or InteractiveGraphic) (mostly)

> TBevel: 3D Line seperator for visual grouping

Win32::GUI::Groupbox (maybe?)

> TScrollBox: ListBox with horizontal scrolling

Win32::GUI::Listbox

> TCheckListBox:  ListBox with check marks

Win32::GUI::ListView (with -checkboxes => 1)

> Win32: {COMCTL32.DLL version 4.70 or later}
> ==
> TTabControl:Tab page
> TPageControl:   Tab page controller

actually only Win32::GUI::Tabstrip

> TRichEdit:  WordPad like Memo container area with font and 
images


Win32::GUI::RichEdit

> TTrackBar:  Sound slider

don't know what it is



Something like

___
| . \|/ . . . . . . . . |
|___|




> TProgressBar:   Installation like progress bar

Win32::GUI::ProgressBar

> TUpDown:Up/Down button


++
| /\ |
++
| \/ |
++




> THotKey:HotKey tracking visible container

missing.

> TMonthCalendar: Microsoft Calendar

missing.


Isn't a variable pass to Win32::GUI::DateTime
in order to get it?
They should go together.



> TDateTimePicker:Microsoft Calendar inside a combo box

Win32::GUI::DateTime

> TTreeView:  Tree view component

Win32::GUI::TreeView

> TListView:  List view component

Win32::GUI::ListView

> TStatusBar: Status bar component

Win32::GUI::StatusBar

> TToolBar:   MS Office Tool Bar container

Win32::GUI::Toolbar

> TCoolBar:   MS Office Tool Bar with scroll container

see Win32::GUI::Rebar

> TPageScroller:  MS Office Tool Bar with scroll and moveable 
container


Win32::GUI::Rebar

> System:
> ===
> TTimer: Auto-restart count-down Timer event driven
> {SetTimer and KillTimer, and to simplify processing the WM_TIMER 
messages}


Win32::GUI::Timer

> TMediaPlayer:   Media Player button (play, pause, stop, ff, rew, 
prev,

> next, rec, eject)
> {C

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

2003-07-07 Thread Roedel, Mark
Three weeks later, I finally had got a little time to sit down and mess
with PAR, and let's just say I'm glad I waited on sending that check to
the Perl2Exe people...this is a pretty neat piece of work!

Thanks much for the pointer, Laurent.


---
Mark Roedel   | "Blessed is he who has learned to laugh
Systems Programmer|  at himself, for he shall never cease
LeTourneau University |  to be entertained."
Longview, Texas, USA  |  -- John Powell


> -Original Message-
> From: Laurent ROCHER [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 12:26 PM
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: Re: [perl-win32-gui-users] [Win32::GUI] List of 
> missing desired widgets
> 
> 
> Hi,
> 
> Eventualy, you can take a look to PAR (Perl ARchive toolkit)
> It's possible to turn a script to an executable.
> 
> It's available via ActiveState PPM (but not last release, 
> 0.67 i think).
> 
> See : http://search.cpan.org/author/AUTRIJUS/PAR-0.69/
> 
> Laurent.
> 
> >> By the way, is there a way to get a stand-alone
> >> Perl GUI application, like TGL.exe ?
> >>
> >> Even my C++ Builder application that are 300KB,
> >> most come with 45 MB of DLL/BPL and similar in the current 
> directory.
> >> So having one stand-alone EXE without Perl installed would 
> be great!
> >
> > It's not free software (time-limited trial versions are 
> available for
> > download), but I've been pretty pleased with my results so far using
> > Perl2Exe (http://www.indigostar.com/perl2exe.htm).