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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -