1. win32lib usage recommendations?
- Posted by John Coonrod <jc at THP.ORG> Aug 14, 2000
- 545 views
What's the consensus out there on the following question: When you want to make a more complex control then the ones in win32lib - like a multi-column list or a spread-sheet like grid - is it easier to piece together the simple controls yourself, or better to work out how to connect to the fancier existing windows control? ---------------- Dr. John Coonrod, Vice President, jc at thp.org The Hunger Project, 15 East 26th Street, NY, NY 10010 www.thp.org
2. Re: win32lib usage recommendations?
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Aug 14, 2000
- 525 views
John Coonrod wrote: > When you want to make a more complex control then > the ones in win32lib - like a multi-column list or > a spread-sheet like grid - is it easier to piece > together the simple controls yourself, or better to > work out how to connect to the fancier existing windows > control? It's certainly a challange to create a control yourself. But if there is a native control, it's probably better to go with that. For example, Win32Lib has emulated tooltips. They took forever to code, and cases that I hadn't initially considered kept popping up and needing special code. Win32LibEx uses real tooltips, and, in addition to being easier to maintain, will work better under future versions of Windows. -- David Cuny
3. Re: win32lib usage recommendations?
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 14, 2000
- 523 views
John Coonrod wrote: > What's the consensus out there on the following question: > > When you want to make a more complex control then the ones in > win32lib - > like a multi-column list or a spread-sheet like grid - is it > easier to piece > together the simple controls yourself, or better to work out > how to connect > to the fancier existing windows control? If the functionality exists within win32lib, then use what's there (ie, use a list control with tab stops or listview for your multi column list). Most of the common controls are now wrapped, for the most part. If there's additional functionality that you need which hasn't been wrapped yet, then please let me know, and it should be pretty easy to put in. As for a spreadsheet type grid, there's no existing windows control that I know of, although David Cuny posted an emulation that was pretty good (IMHO). I've still got it saved, if you'd like to see it. Emulation is probably your best bet. You can also take a look at how Dave emulated some rich edit features (like multi-colored text) in the IDE he released for win32lib. Matt
4. Re: win32lib usage recommendations?
- Posted by bobspringett <bobspringett at WANADOO.FR> Aug 15, 2000
- 532 views
Matt, I would like to have a look at David Cuny's spreadsheet type grid,Please. Regards Bob ----- Original Message ----- From: Matthew Lewis <MatthewL at KAPCOUSA.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, August 14, 2000 11:47 PM Subject: Re: win32lib usage recommendations? > John Coonrod wrote: > > What's the consensus out there on the following question: > > > > When you want to make a more complex control then the ones in > > win32lib - > > like a multi-column list or a spread-sheet like grid - is it > > easier to piece > > together the simple controls yourself, or better to work out > > how to connect > > to the fancier existing windows control? > > If the functionality exists within win32lib, then use what's there (ie, use > a list control with tab stops or listview for your multi column list). Most > of the common controls are now wrapped, for the most part. If there's > additional functionality that you need which hasn't been wrapped yet, then > please let me know, and it should be pretty easy to put in. > > As for a spreadsheet type grid, there's no existing windows control that I > know of, although David Cuny posted an emulation that was pretty good > (IMHO). I've still got it saved, if you'd like to see it. Emulation is > probably your best bet. You can also take a look at how Dave emulated some > rich edit features (like multi-colored text) in the IDE he released for > win32lib. > > Matt
5. Re: win32lib usage recommendations?
- Posted by John Coonrod <jc at THP.ORG> Aug 15, 2000
- 520 views
Matt: I don't see any reference to list controls with tab stops or listview in the manual. How do I find out how to do this? ===== Original Message from Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> at 8/15/00 >> If the functionality exists within win32lib, then use what's there (ie, use >> a list control with tab stops or listview for your multi column list). ---------------- Dr. John Coonrod, Vice President, jc at thp.org The Hunger Project, 15 East 26th Street, NY, NY 10010 www.thp.org
6. Re: win32lib usage recommendations?
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 15, 2000
- 561 views
------_=_NextPart_000_01C006CC.D6504EFA charset="iso-8859-1" John Coonrod wrote: > Matt: I don't see any reference to list controls with tab > stops or listview > in the manual. > How do I find out how to do this? Actually, the list view won't be in Dave's versions of win32lib. You'll need mine. You can get the latest at It's got some demos that should be able to get you started on using the new controls. There's a readme file, but I'd also recommend running makedoc.exw to generate a new html help file. It's not complete, but it fills in some of the gaps. The list box control with tab stops is easier to implement. You just need to use style LBS_USETABSTOPS, which I have defined in my version, but I don't think you'll find in any of Dave's. The value for it is 128. I've also added code to allow multiple selections for list boxes (use style LBS_MULTISEL or LBS_EXTENDEDSEL). There's also a style LBS_MULTICOLUMN, but I'm not certain how it works. There are two good places to get help, though. The first (highly recommended if you have a fast connection), is to download the Win32.hlp file from the RDS archives. Some of the common control info is out of date, but it's a great resource. If you can't find what you need there, go to http://msdn.microsoft.com/default.asp and do a search. I've also attached David Cuny's grid.ew include file. It's not complete, but it goes a long way, and shows you some interesting emulation tricks. Matt Lewis ------_=_NextPart_000_01C006CC.D6504EFA name="grid.zip"
7. Re: win32lib usage recommendations?
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Aug 15, 2000
- 537 views
Matthew Lewis wrote: > Actually, the list view won't be in Dave's > versions of win32lib. You'll need mine. Once there is an 'official' release of Win32Lib at SourceForge, I'll ask Robert to note that my version is deprecated, and the new version (which includes your tools) is preferred. -- David Cuny