How can i find the size of a window? -


for example if got window (which not part of project): example http://puu.sh/8lqkq.jpg there way size of window? (int x , y)

thanks, revolt

if have hwnd of window can use getwindowrect() or getwindowplacement() position , dimensions.

update: on vista , later, getwindowrect() can report values not take glass/aero account. account that, can use dwmgetwindowattribute() dwmwa_extended_frame_bounds attribute instead.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -