Windowed mode and mouse coordinates

Greetings,

In windowed mode, when the title bar disappears of the top half of the
screen, I get mouse coordinates for y that appear to be offset by -[the
height of the title bar]. This occurs when the window is the same size as
the screen. I get normal mouse coordinates if I move the window below the
top of screen position. Is this a bug? Is there some way to:

  1. Get the height of the title bar?
  2. Work out when the window is in this position?

Thanks

PS -
This is in windows XP.

“anderson” wrote in message
news:bhtfik$2u9m$1 at hoth.stenstad.net

Greetings,

In windowed mode, when the title bar disappears of the top half of the
screen, I get mouse coordinates for y that appear to be offset by -[the
height of the title bar]. This occurs when the window is the same size as
the screen. I get normal mouse coordinates if I move the window below the
top of screen position. Is this a bug? Is there some way to:

  1. Get the height of the title bar?
  2. Work out when the window is in this position?

Thanks

PS -
This is in windows XP.

Ok, I’ve figured out a work around. I’ll draw my own cursor on the opengl
context.