[futurebasic] Re: [FB] DeskTop Font Problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Jamin <benjamen@...>
Date: Mon, 11 Oct 1999 19:28:21 +1000
Michael Evans said something like:

> >      offSet% = 8
> >      fontNum% = PEEK (VARPTR(resH&)+offSet%)
>
> Shouldn't this be:
>
> offSet% = 8
> fontNum% = PEEK ([resH&]+offSet%)
>
> ?
>
> Cheers,
>

Or maybe, as per the message :-)

>       The _word_ at offset 8 is the font number
>       The _word_ at offset 10 is the font size

fontNum% = PEEK WORD([resH&]+offSet%)

Jamin