Re: IDE version .10.1 now available
- Posted by behaviorself at netzero.net Mar 28, 2001
- 454 views
Thanks Matthew. This looks like it will be very helpful if I ever figure out what I'm doing wrong with these ListViews! :) Bill ----- Original Message ----- From: Matthew Lewis <matthewwalkerlewis at YAHOO.COM> To: EUforum <EUforum at topica.com> Sent: Monday, March 26, 2001 11:54 AM Subject: RE: IDE version .10.1 now available > > > > > > -----Original Message----- > > From: behaviorself at netzero.net [mailto:behaviorself at netzero.net] > > (BTW, > > like I said, I am having other problems with ListViews, so if > > anyone can > > give me a hint on how to use them, I'd really appreciate it. > > I'm trying to > > list items in seperate columns, with some being > > left-justified, and some > > being right justified.) > > Unfortunately, there is no way for win32lib to 'automatically' do this right > now. Here's what you can do: > > lvcol = struct_LVCOLUMN( LVCF_FMT, -- mask: this tells win to only look at > the format > LVCFMT_LEFT/RIGHT/CENTER, -- the format for the > column > 0, "", -- width, text > colnum-1 ) -- column number. This is zero-based. > > > VOID = sendMessage( myListView, LVM_SETCOLUMN, colnum-1, lvcol ) > > release_mem( lvcol ) > > There's all sorts of neat things that can be done that aren't wrapped into > win32lib. You can either visit msdn.microsoft.com, or download win32.hlp > from RDS' site (about 8 megs, I think), which is a little old, but gives you > a lot of great information about the win32 API that's really invaluable. > > Matt Lewis > > > >