Sign in to follow this  
Followers 0
BruceCopperField

ControlGetPos() Always Relative to Client Area?

3 posts in this topic

I've done some testing and it seems that ControlGetPos() always return a coordinate relative to client area of the containing window regardless of

Opt("MouseCoordMode",0) setting. The is ok to me but just want to double confirm is this an expected behaviour?

Share this post


Link to post
Share on other sites



This is from documentation:

Returns an array containing the size and the control's position relative to it's client window


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites

Yes, it says "client window" but I am not sure if it means the "client area" as described in Opt("MouseCoordMode",2)'s help. I am not sure about the exact terms.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0