I can't seem to find out how to determine the size of a client area of a window. If i use getrect, that works usually, but if the window has a menu, it messes up.
Should i just detect for a system menu? Any input is welcome :]
Printable View
I can't seem to find out how to determine the size of a client area of a window. If i use getrect, that works usually, but if the window has a menu, it messes up.
Should i just detect for a system menu? Any input is welcome :]
Have you tried GetClientRect?
Thank you!
That is exactly what i wanted.
It was for a subroutine that used stretchblt to copy one window to another, resizing the image in the process.
My api window function list didn't list that function. You have been a big help.