From: Matt H. <m_h...@ho...> - 2001-01-22 20:39:23
|
Was hoping someone could provide a little guidance on using a progress bar. WIN32-GUI-PPM-5.6, ActiveState Perl dist, WinME. Have been unable to get a progress bar to appear at all. All other objects seem to work OK. Any ideas? Thanks Matt Heffron m_h...@ho... _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |
From: <dar...@la...> - 2001-03-06 09:47:17
|
Does anyone have any example code for displaying a Progress Bar while a program executes for instance: I have the program: $prog = "C:\\Progra~1\\winzip\\wzzip.exe -u -p -r -es -whs $archive $source"; While I execute $prog I would like a status bar to display the progress and hide() when complete. Regards Daryll The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery: any use or disclosure of the contents of either is unauthorised and may be unlawful. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender, except where the sender states them, with requisite authority, to be those of a specific LAZARD company or partnership. |
From: Dmitry <sy...@ga...> - 2001-03-10 23:29:42
|
Hello 1. Where can i find examples of using Win32::GUI or additional controls ??? 2. What is a correct way to write my own control/subclass ? Thanx -- Best regards, Dmitry mailto:sy...@ga... |
From: christopher s. <chr...@ya...> - 2001-03-11 17:52:12
|
Hi all It may have been told in the docs but I may have missed it Is it possible to create different icons for different occasions for the same win32 gui script.. if so please give me sample code The occasions are 1. In the desktop ( as shortcut) 2. When it is minimized on the bottom bar 3 when the window is open 4 When the window is made a small icon on the Task bar 5 When the script file is seen under windows explorer file listing if I have 5 different icon images how to insert them into the code apprpriately ? chris |
From: christopher s. <chr...@ya...> - 2001-03-12 12:55:38
|
has anyone got an answer to the following question ? chris ----- Original Message ----- From: christopher sagayam <chr...@ya...> To: <per...@li...> Sent: Sunday, March 11, 2001 11:16 PM Subject: [perl-win32-gui-users] icons for every occasion Hi all It may have been told in the docs but I may have missed it Is it possible to create different icons for different occasions for the same win32 gui script.. if so please give me sample code The occasions are 1. In the desktop ( as shortcut) 2. When it is minimized on the bottom bar 3 when the window is open 4 When the window is made a small icon on the Task bar 5 When the script file is seen under windows explorer file listing if I have 5 different icon images how to insert them into the code apprpriately ? chris _______________________________________________ Perl-Win32-GUI-Users mailing list Per...@li... http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users |
From: Glenn L. <Gle...@ne...> - 2001-03-12 18:13:52
|
I have some answers, but I don't know for sure what your questions are. It would help if you use well-defined terminology. Someone may be more knowledgable about Windows than me, and provide better answers, but here's what I know. christopher sagayam wrote: > Is it possible to create different icons for different occasions for the > same win32 gui script.. Yes. But you have to detect the occasions yourself. > if so please give me sample code Don't have sample code. > The occasions are > > 1. In the desktop ( as shortcut) Windows properties allows you to choose any icon for any shortcut, whether it is related to the launch program or not. Create the shortcut, pop up the properties window, shortcut tab, "Change icon". From the docs it looks like the Win32::Shortcut package could also be used to achieve that same end. > 2. When it is minimized on the bottom bar Whatever the "bottom bar" is? I assume you mean the Windows task bar (although you use that term later, to maybe mean something else?) This is the same icon as is used for the window itself, when the window is open. The task entry is visible in the task bar when the window is open, as well as when it is minimized. You can change the icons when you get a "_Minimize" event if you want, and change it again on "_Maximize" or "_Resize", or "_Activate" events, which may achieve your goals, but would not give a consistent icon in the task bar for the duration of the program, as is typical for windows programs. > 3 when the window is open Just call $my_window -> SetIcon with appropriate parameters > 4 When the window is made a small icon on the Task bar Again, this isn't clear. Perhaps you mean in the "system tray"? In which case you would use the Win32::GUI::NotifyIcon features. > 5 When the script file is seen under windows explorer file listing The icon here is derived from the program that is used to "open" the script file by default. You may have to make an extra copy of perl and change its default icon to achieve this one. You'd also have to rename your script files for which you want a "different than the perl icon" icon, to have a unique extension, to which you define the association to the extra copy of perl. > if I have 5 different icon images how to insert them into the code > apprpriately ? > > chris > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users -- Glenn ===== Even if you're on the right track, you'll get run over if you just sit there. -- Will Rogers |
From: christopher s. <chr...@ya...> - 2001-03-12 18:49:35
|
Thanks chris www.perl-resume.com ----- Original Message ----- From: Glenn Linderman <Gle...@ne...> To: <per...@li...> Sent: Monday, March 12, 2001 11:46 PM Subject: Re: [perl-win32-gui-users] icons for every occasion I have some answers, but I don't know for sure what your questions are. It would help if you use well-defined terminology. Someone may be more knowledgable about Windows than me, and provide better answers, but here's what I know. christopher sagayam wrote: > Is it possible to create different icons for different occasions for the > same win32 gui script.. Yes. But you have to detect the occasions yourself. > if so please give me sample code Don't have sample code. > The occasions are > > 1. In the desktop ( as shortcut) Windows properties allows you to choose any icon for any shortcut, whether it is related to the launch program or not. Create the shortcut, pop up the properties window, shortcut tab, "Change icon". From the docs it looks like the Win32::Shortcut package could also be used to achieve that same end. > 2. When it is minimized on the bottom bar Whatever the "bottom bar" is? I assume you mean the Windows task bar (although you use that term later, to maybe mean something else?) This is the same icon as is used for the window itself, when the window is open. The task entry is visible in the task bar when the window is open, as well as when it is minimized. You can change the icons when you get a "_Minimize" event if you want, and change it again on "_Maximize" or "_Resize", or "_Activate" events, which may achieve your goals, but would not give a consistent icon in the task bar for the duration of the program, as is typical for windows programs. > 3 when the window is open Just call $my_window -> SetIcon with appropriate parameters > 4 When the window is made a small icon on the Task bar Again, this isn't clear. Perhaps you mean in the "system tray"? In which case you would use the Win32::GUI::NotifyIcon features. > 5 When the script file is seen under windows explorer file listing The icon here is derived from the program that is used to "open" the script file by default. You may have to make an extra copy of perl and change its default icon to achieve this one. You'd also have to rename your script files for which you want a "different than the perl icon" icon, to have a unique extension, to which you define the association to the extra copy of perl. > if I have 5 different icon images how to insert them into the code > apprpriately ? > > chris > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users -- Glenn ===== Even if you're on the right track, you'll get run over if you just sit there. -- Will Rogers _______________________________________________ Perl-Win32-GUI-Users mailing list Per...@li... http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users |