Is there a way to change the coordenate system from 0,0 in the top left of a window to other place(What ever I want).
Ruben
Is there a way to change the coordenate system from 0,0 in the top left of a window to other place(What ever I want).
Ruben
Yes there is
Search help file for windows mapping. I don't have access to one right now but there is a bunch of functions to map / scale / tweak the layout
MapWindowPoints()
You could also look at ClientToScreen() and the reverse.
you could do some good math with the height and the width
Oskilian
..and/or you can use SetMapMode() and related functions.
zen