THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/03/2005 at 04:17, xxxxxxxx wrote:
Cinema 4D Version: 8.5
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;
I'm scanning for mouse click coordinates, using
The problem is that, as soon as I dock my dialog, the returned coordinates become global instead of local.
First, I don't know why tha'hell the programmers decided to do this!! Why not stick with local ALWAYS??
Then, I know that this was already debated:
But, how can I solve this in COFFEE?
p.s. I have a UserArea item in my dialog, if that helps.
p.p.s Thank you very much for your help, so far, Robert
On 09/03/2005 at 09:14, xxxxxxxx wrote:
Ok, found out a workaround. It was not easy but now I have local coordinates ALWAYS, even if the dialog is docked. But one has to have a UserArea somewhere in your layout, even if it is just a 1x1 pixel one.
Can the Maxon programmers do something about this? Can we have Global2Local functions in dialogs too? Please!!
On 10/03/2005 at 06:45, xxxxxxxx wrote:
I forwarded the request for GeDialog::Global2Local in C.O.F.F.E.E. (It's already there in the C++ API.)
On 10/03/2005 at 06:46, xxxxxxxx wrote:
YES!! Thank you, Mikael