Can window snap be programmatically rotated when monitor is rotated to portrait?

My secondary monitor, which normally uses 1680x1050 resolution, is rotated (physically & through Windows) to be displayed vertically (1050x1680).

Is it possible, programmatically or via registry, to snap to the top and bottom of the screen rather than the left and right? The main display is not rotated, and would need to maintain the left/right snap.


Solution 1:

This is easy to do within the advanced graphics adapter settings.

rt click> Desktop> properties> advanced> { Intel/nVidia,ATI } or in Vista/win7> search >video settings> advanced

Tablets have hotkeys defined to rotate the display, you can program them with the driver package apps. but in your case a static setup of rotate display is all you want in the advanced settings. If not there go to the OEM for the drivers... eg. ATI/nVidia/Intel etc.

You can try using PROCMON to trace the EXE registry settings, but it may not be traceable if it is done by the DLL, so consider DEPENDS.exe to track the process namespace.