Hello,
I am using emwin since past 3 weeks and looks very interesting.
I have created a window and drawing a rectangle on a window using hard coded x and y coordinates and now, i want to get the x and y coordinates once after i created the rectangle. I tried using GUI_GetDispPosY() and GUI_GetDispPosX () functions to get the current x and y position, which is always returning me value as "0".
Is there anyway to get the x and y coordinates after the rectangle is drawn??
Thanks & Regards
Dilip
I am using emwin since past 3 weeks and looks very interesting.
I have created a window and drawing a rectangle on a window using hard coded x and y coordinates and now, i want to get the x and y coordinates once after i created the rectangle. I tried using GUI_GetDispPosY() and GUI_GetDispPosX () functions to get the current x and y position, which is always returning me value as "0".
Is there anyway to get the x and y coordinates after the rectangle is drawn??
Thanks & Regards
Dilip