(Sorry I didn't see this sooner)
Yes, the "magic" number is based on the band being 19 pixels in height. When I wrote the article, I had forgotten exactly where I got the number from ... so I omitted the explanation (which I guess was a douchebag thing to do - lol)
I invite Denis to download my FRX2Word class here and see how I go through the VPOS and HPOS and decode them. You know that phrase about a picture being worth a thousand words? In this case, code is worth a 1000 words :-)
>
>>But, what are you thinking about "magic constant" 1979.16666666
>
>This value isn't exactly "magic". Here's the logic: there are 10,000 "report units" per inch and 96 pixels per inch. The height of the band separator is 19 pixels. So, 10000/96 = 104.166 and 19 * 104.166 is 1979.166. My logic of 2083.333 was flawed, because that measures to the bottom of an object that's 104.166 report units high, not to the top.
>
>Doug
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05