winapi - What's the difference between WindowFromPhysicalPoint and WindowFromPoint? -


windowfromphysicalpoint new vista. documentation identical windowfrompoint. what's difference? both seem take absolute point (offset screen origin) , return topmost (z order) hwnd contains point.

http://msdn.microsoft.com/en-us/library/ms633533(vs.85).aspx

windows vista introduces concept of physical coordinates. desktop window manager (dwm) scales non-dots per inch (dpi) aware windows when display high dpi. window seen on screen corresponds physical coordinates. application continues work in logical space. therefore, application's view of window different appears on screen. scaled windows, logical , physical coordinates different.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -