GetAttribute and cirsor position problem...

Report any Hollywood bugs here
Post Reply
User avatar
Tuxedo
Posts: 225
Joined: Sun Feb 14, 2010 12:41 pm

GetAttribute and cirsor position problem...

Post by Tuxedo » Sat Apr 17, 2010 4:22 pm

Hi!
I need to look at the mouse position relative to a(secondary) display of my program and then I try to do that:

DebugPrint(GetAttribute(#DISPLAY, 3, #ATTRCURSORY))

but I get always 0...
If I look for ATTRWIDTH all works fine for example...no problem if the display was opene or hidden...
Why for the cursor position that dont work?
Also for the default(1) display I get 0...
Any idea on why?
That's a bug or I made some mistake?

Thank you!
Simone"Tuxedo"Monsignori, Perugia, ITALY.

Post Reply