Hi all,
How to get the rectangular coordinates of the canvas
area(drawing area) of MS Paint in a win32 application? Please help me in
this regard.
Thanks & Regards,
Karunya Lakshmi
Hi all,
How to get the rectangular coordinates of the canvas
area(drawing area) of MS Paint in a win32 application? Please help me in
this regard.
Thanks & Regards,
Karunya Lakshmi
Hi, I think that you can obtain this using a window function (such as GetWindowInfo) for the window to which the device context belongs. But unfortunately this is not a kernel question, you are likely to get better answers in the following forum: news://news.microsoft.com/microsoft.public.programmer.win32.gdi
/Daniel
wrote in message news:xxxxx@ntdev…
Hi all,
How to get the rectangular coordinates of the canvas area(drawing area) of MS Paint in a win32 application? Please help me in this regard.
Thanks & Regards,
Karunya Lakshmi
xxxxx@wipro.com wrote:
How to get the rectangular coordinates of the canvas
area(drawing area) of MS Paint in a win32 application? Please help me
in this regard.
FindWindow will get you the window handle. GetClientRect will get you
the size of the client region. ClientToScreen will convert those to
screen coordinates.
However, Daniel is right: this is not the right mailing list for this
question.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.