WindowMouseX/Y() instead of WindowMouseX/Y(#Window) or opt.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

WindowMouseX/Y() instead of WindowMouseX/Y(#Window) or opt.

Post by DarkDragon »

Hello,

just wanted to ask if we can get the old WindowMouseX/Y back. The new ones would be ok as optional parameters.
bye,
Daniel
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

No, it's not thread safe and will need an UseWindow() which is no more the PB philosophy. What is the problem exactly ?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Fred wrote:No, it's not thread safe and will need an UseWindow() which is no more the PB philosophy. What is the problem exactly ?
Ok, it's not a problem at all, but my function hasn't got a #Window parameter, just a WindowHandle parameter.
bye,
Daniel
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Fred is right.
Post Reply