BruceCopperField Posted December 21, 2009 Share Posted December 21, 2009 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? Link to comment Share on other sites More sharing options...
funkey Posted December 21, 2009 Share Posted December 21, 2009 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 tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
BruceCopperField Posted December 21, 2009 Author Share Posted December 21, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now