1. Win32Lib v0.44e
- Posted by David Cuny <dcuny at LANSET.COM> Nov 12, 1999
- 518 views
I've posted the bleeding edge version of Win32Lib at: http://www.lanset.com/dcuny/win32.htm Features include: - IDE has initial support for multiple windows - Mouse pointer shape can be changed - New mouse pointers can be created - Plays WAV files - getItem no longer returns NULL at end of string - IDE no longer adds extra lines in code - Wrapped Win32 shellExecute command It seems pretty stable - the IDE fix is the only part I haven't had time to test out. If there are no reported problems, I'll send it on to Robert in a day or so, perhaps with the addition of some more toolbar icons. For those curious, I've filched a lot of icons from Tigert, who designed a lot of the cool Gnome icons: http://tigert.gimp.org/gnome/gnome-stock/ -- David Cuny
2. Re: Win32Lib v0.44e
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 14, 1999
- 489 views
From: David Cuny <dcuny at LANSET.COM> > I've posted the bleeding edge version of Win32Lib at: > > http://www.lanset.com/dcuny/win32.htm > > Features include: > > - IDE has initial support for multiple windows > - Mouse pointer shape can be changed > - New mouse pointers can be created > - Plays WAV files > - getItem no longer returns NULL at end of string > - IDE no longer adds extra lines in code > - Wrapped Win32 shellExecute command Thanks, Dave. This seems to work fine. Two questions: 1. setMousePointer takes two params, but the first one can apparently be any window at random, it works regardless. 2. Do you know a way to change the printer font _within_ a page? (so as to print portions in boldface, etc) Regards, Irv
3. Re: Win32Lib v0.44e
- Posted by Bernie Ryan <bwryan at PCOM.NET> Nov 14, 1999
- 518 views
On Sun, 14 Nov 1999 15:15:41 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote: >2. Do you know a way to change the printer font _within_ a >page? (so as to print portions in boldface, etc) Irv : I think you would have to imbed printer driver codes in your text stream to turn bold on and off. Bernie
4. Re: Win32Lib v0.44e
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 14, 1999
- 483 views
- Last edited Nov 15, 1999
----- Original Message ----- From: Bernie Ryan <bwryan at PCOM.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, November 14, 1999 4:56 PM Subject: Re: Win32Lib v0.44e > On Sun, 14 Nov 1999 15:15:41 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote: > >2. Do you know a way to change the printer font _within_ a > >page? (so as to print portions in boldface, etc) > > Irv : > I think you would have to imbed printer driver codes in your text > stream to turn bold on and off. So it would seem. This is running in Windows, using the Win printer driver. There should be a way to change fonts, sizes, and weight "on the fly". Hope someone knows how, or where to look for the answers. Regards, Irv
5. Re: Win32Lib v0.44e
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Nov 15, 1999
- 515 views
Irv Mullins wrote: > 1. setMousePointer takes two params, but > the first one can apparently be any window > at random, it works regardless. The first parameter is *supposed* to specify what control/window the pointer is to be associated with. I'll look into this. > 2. Do you know a way to change the printer > font _within_ a page? (so as to print portions > in boldface, etc) You /should/ be able to use setFont(), i.e. (untested code snippet follows) integer line sequence size -- write the first line line = 0 setFont( Printer, "Arial", 10, Normal ) wPosition( 10, line ) wPuts( Printer, "This is Arial, 10 points ) -- move down one line size = getFontSize( Printer ) line += size[2] -- write the second line setFont( Printer, "Arial", 10, Bold ) wPosition( 10, line ) wPuts( Printer, "This is Arial, 10 points bold" ) -- move down one line size = getFontSize( Printer ) line += size[2] setFont( Printer, "Arial", 10, Italic ) wPosition( 10, line ) wPuts( Printer, "This is Arial, 10 points italic" ) Hope this works! -- David Cuny
6. Re: Win32Lib v0.44e
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 15, 1999
- 484 views
On Mon, 15 Nov 1999, you wrote: > Irv Mullins wrote: > > > 1. setMousePointer takes two params, but > > the first one can apparently be any window > > at random, it works regardless. > > The first parameter is *supposed* to specify what control/window the pointer > is to be associated with. I'll look into this. > > > 2. Do you know a way to change the printer > > font _within_ a page? (so as to print portions > > in boldface, etc) > > You /should/ be able to use setFont(), ....... Sorry, you're right. I was fooled by the code in your demo Generic.exw . After looking at that for a while, I saw what was happening, and that I would have to use startDoc/startPage ~ endPage/endDoc pairs with my own page description in between. That method works fine - the reports look great! It also would seem to be fairly easy to write a routine that would accept escaped text and set the font, size, position, etc. automatically - while keeping track of the line spacing as well. Maybe I'll have time to write a report module. Maybe I'll win the lottery..... Regards, Irv