From: Glenn L. <pe...@ne...> - 2004-05-14 05:12:29
|
I notice that there are fewer samples than there used to be, in the samples directory. Yet a good number of the old samples will still work on the latest GUI. Is there some reason to delete still-working samples? -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |
From: Jez W. <je...@je...> - 2004-05-14 14:24:01
|
Hi, The current examples show new functionality that has been added over the last few months. We should add more examples, but I'm a bit dubious of adding examples from previous builds (they haven't been deleted - just not added:) ) Many previous examples (even the one's that work) use none standard coding, which just cause confusion - for me anyway:) Perhaps we should put a call out to the users list for ideas of what should be included (like the scrolling bitmap example you mentioned) and for volunteers to write them? Cheers, jez. ----- Original Message ----- From: "Glenn Linderman" <pe...@ne...> To: "Win32 GUI Hackers" <per...@li...> Sent: Friday, May 14, 2004 6:14 AM Subject: [perl-win32-gui-hackers] GUI samples > I notice that there are fewer samples than there used to be, in the > samples directory. Yet a good number of the old samples will still work > on the latest GUI. Is there some reason to delete still-working samples? > > -- > Glenn -- http://nevcal.com/ > =========================== > The best part about procrastination is that you are never bored, > because you have all kinds of things that you should be doing. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Perl-Win32-GUI-Hackers mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers |
From: Glenn L. <pe...@ne...> - 2004-05-14 15:55:47
|
On approximately 5/14/2004 7:22 AM, came the following characters from the keyboard of Jez White: > Hi, > > The current examples show new functionality that has been added over the > last few months. We should add more examples, but I'm a bit dubious of > adding examples from previous builds (they haven't been deleted - just not > added:) ) Well, when I compare what I have in my old build area (downloaded snapshot) to what I now see via CVS, they appear to be not there. It is not clear to me where they would then be added from, or what technique of "not there" was used other than deletion :) > Many previous examples (even the one's that work) use none > standard coding, which just cause confusion - for me anyway:) I certainly have no objection to samples being modified to use standard coding, but I'm not sure what non-standard coding was used that was confusing. If there isn't time to update the sample to use better coding, one could add some comments to it (no risk in adding comments) describing the non-standard-ness of the coding, but leaving the sample for whatever educational value it might have. ??? I learned a good bit of GUI coding from those old samples, although I agree that I got a bit confused by some of them, also. > Perhaps we should put a call out to the users list for ideas of what should > be included (like the scrolling bitmap example you mentioned) and for > volunteers to write them? I certainly have no objections to this activity, I can't imagine anyone that would. Certainly if someone contributes a concisee sample that demonstrates some activity (and all the currently-in-CVS samples do that, but so do some of the old ones :)), I would lobby for it to be included in the samples directory. And if it is more than a file or 3, proably to be included in a samples subdirectory. And once we go to samples subdirectories, the samples wouldn't even need to be that concise.... if they are showing a complex topic. > > Cheers, > > jez. > > > ----- Original Message ----- > From: "Glenn Linderman" <pe...@ne...> > To: "Win32 GUI Hackers" <per...@li...> > Sent: Friday, May 14, 2004 6:14 AM > Subject: [perl-win32-gui-hackers] GUI samples > > > >>I notice that there are fewer samples than there used to be, in the >>samples directory. Yet a good number of the old samples will still work >>on the latest GUI. Is there some reason to delete still-working samples? >> >>-- >>Glenn -- http://nevcal.com/ >>=========================== >>The best part about procrastination is that you are never bored, >>because you have all kinds of things that you should be doing. >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: SourceForge.net Broadband >>Sign-up now for SourceForge Broadband and get the fastest >>6.0/768 connection for only $19.95/mo for the first 3 months! >>http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click >>_______________________________________________ >>Perl-Win32-GUI-Hackers mailing list >>Per...@li... >>https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers > > > > > -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |
From: Jez W. <je...@je...> - 2004-05-14 16:18:16
|
> Well, when I compare what I have in my old build area (downloaded > snapshot) to what I now see via CVS, they appear to be not there. It is > not clear to me where they would then be added from, or what technique > of "not there" was used other than deletion :) Humm. I'm wrong then. I was under the assumption that the examples CVS folder was a relatively new addition:) > > Many previous examples (even the one's that work) use none > > standard coding, which just cause confusion - for me anyway:) > > I certainly have no objection to samples being modified to use standard > coding, but I'm not sure what non-standard coding was used that was > confusing. Many of the smaller examples are ok, but the larger examples use code that hacks into the internals (typically for functionality that now exists in base code). A smaller problem is that all of the old examples use OEM. > If there isn't time to update the sample to use better coding, one could > add some comments to it (no risk in adding comments) describing the > non-standard-ness of the coding, but leaving the sample for whatever > educational value it might have. ??? I learned a good bit of GUI > coding from those old samples, although I agree that I got a bit > confused by some of them, also. Good idea. I guess it's more of a question to who will do it?:) I don't mind doing a few, but perhaps someone should "own" the task and divide it out to those who are willing? > > Perhaps we should put a call out to the users list for ideas of what should > > be included (like the scrolling bitmap example you mentioned) and for > > volunteers to write them? > > I certainly have no objections to this activity, I can't imagine anyone > that would. Certainly if someone contributes a concise sample that > demonstrates some activity (and all the currently-in-CVS samples do > that, but so do some of the old ones :)), I would lobby for it to be > included in the samples directory. And if it is more than a file or 3, > probably to be included in a samples subdirectory. And once we go to > samples subdirectories, the samples wouldn't even need to be that > concise.... if they are showing a complex topic. Yeah, I agree. I like the idea of having simple examples for all controls/core functionality, (say treeview1.pl, treeview2.pl, listview1.pl etc), as well as more complete applications, such as win32::gui notepad, paint, calculator etc. Again it would take someone to own, organise and dish out the tasks. Cheers, jez. |
From: Glenn L. <pe...@ne...> - 2004-05-14 16:58:14
|
On approximately 5/14/2004 9:19 AM, came the following characters from the keyboard of Jez White: >>Well, when I compare what I have in my old build area (downloaded >>snapshot) to what I now see via CVS, they appear to be not there. It is >>not clear to me where they would then be added from, or what technique >>of "not there" was used other than deletion :) > > > Humm. I'm wrong then. I was under the assumption that the examples CVS > folder was a relatively new addition:) Maybe the confusion stems from what was in the "release" distribution or PPM, vs what was in the source distribution. It has been my thought that the tutorials and samples should have historically been part of the release distribution, but they weren't... they were part of the source distribution. >>>Many previous examples (even the one's that work) use none >>>standard coding, which just cause confusion - for me anyway:) >> >>I certainly have no objection to samples being modified to use standard >>coding, but I'm not sure what non-standard coding was used that was >>confusing. > > Many of the smaller examples are ok, but the larger examples use code that > hacks into the internals (typically for functionality that now exists in > base code). A smaller problem is that all of the old examples use OEM. Yes, OEM was pervasive! It was all there was! I think it is still OK to have OEM samples, but maybe they should be clearly marked OEM samples, and perhaps a nice new sample that shows how to convert from OEM to NEM would be nice. >>If there isn't time to update the sample to use better coding, one could >>add some comments to it (no risk in adding comments) describing the >>non-standard-ness of the coding, but leaving the sample for whatever >>educational value it might have. ??? I learned a good bit of GUI >>coding from those old samples, although I agree that I got a bit >>confused by some of them, also. > > Good idea. I guess it's more of a question to who will do it?:) I don't mind > doing a few, but perhaps someone should "own" the task and divide it out to > those who are willing? Yeah, "Where are the warm bodies?" is always a problem. Like you, I wouldn't mind doing a few, especially when I write some test code to learn how something works... a few extra lines of documentation, and presto, a new sample. But it is always hard to find time to go back and fix the old stuff... I will rework my test code for GetOpenFileName and contribute it for a sample. As I find minutes, I will try to address some of old ones. But I'm about to be on vacation for a couple weeks. > I like the idea of having simple examples for all > controls/core functionality, (say treeview1.pl, treeview2.pl, listview1.pl > etc), as well as more complete applications, such as win32::gui notepad, > paint, calculator etc. Again it would take someone to own, organise and dish > out the tasks. Maybe a start would be to put the following content as a file (readme.txt ?) in the samples directory: Goals: This file is meant to inspire contributions to the sample programs collection in this directory. Below is a list of sample code that someone would like to see, or feels that it would have been helpful to the process of learning Win32::GUI. If you find yourself writing small programs to figure out how something works in Win32::GUI, consider spending a few extra minutes adding some comments, and contributing it as a sample program, so that it will be easier for the next person to figure out the details of how to do what you are learning. Organization: This directory is a great place to put single file sample programs. Pick a name different from other names, of course. For samples that require a small number of auxiliary files, if you can name the files with a common prefix, so that the are all sorted together by directory listings, then they can also go in this directory. If there are quite a files, or the names cannot be grouped, then create a new subdirectory to contain all the files of the sample. Desired sample programs: Treeview . . . More complex sample program ideas: Program like Notepad using Win32::GUI Program like Paint using Win32::GUI Calculator program using Win32::GUI -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |
From: Laurent R. <ro...@cl...> - 2004-05-14 18:25:50
|
> > More complex sample program ideas: > > Program like Notepad using Win32::GUI > Program like Paint using Win32::GUI > Calculator program using Win32::GUI > I have started a notepad clone in Win32::GUI. I add it when finished ;o) Laurent. |
From: Glenn L. <pe...@ne...> - 2004-05-14 20:57:10
|
On approximately 5/14/2004 11:17 AM, came the following characters from the keyboard of Laurent ROCHER: >>More complex sample program ideas: >> >>Program like Notepad using Win32::GUI >>Program like Paint using Win32::GUI >>Calculator program using Win32::GUI > > I have started a notepad clone in Win32::GUI. I add it when finished ;o) Excellant! If everyone does a little.... lots can get done. Thanks. And an extra, special thanks, for all your continuing work on Win32::GUI. -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |