Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29246 Discussions

Keyboard shortcuts for moving windows between screens

oeaamot
Beginner
1,117 Views
ATI gave med the opportunity to define my own keyboard shortcut for moving a window from screen A to B, an B to A.
Intel doesn't even seem to include the function to move a window between screens, let alone a keyboard shortcut for it.

I hope there do exisist an application/addon which let me quickly move a window from one screen to another, without having to use the mouse to drag the window to the new screen and than having to resize the window (using two screens with different resolution)
0 Kudos
3 Replies
anthonyrichards
New Contributor III
1,117 Views
Quoting - oeaamot
ATI gave med the opportunity to define my own keyboard shortcut for moving a window from screen A to B, an B to A.
Intel doesn't even seem to include the function to move a window between screens, let alone a keyboard shortcut for it.

I hope there do exisist an application/addon which let me quickly move a window from one screen to another, without having to use the mouse to drag the window to the new screen and than having to resize the window (using two screens with different resolution)

The WIndows API contains functions for use in a multiple monitor environment. For example(copied from my DEVStudio CVF Help):
Quote:
Multiple Display Monitors Functions
The following functions provide support for multiple monitors .


EnumDisplayMonitors
GetMonitorInfo
MonitorFromPoint
MonitorFromRect
MonitorFromWindow


The following application-defined callback function provides support for multiple monitors.

MonitorEnumProc

Unquote.

Also, from the Help file:

Multiple Display Monitors
The system supports an unlimited number of display monitors per window station. The monitors can be arranged in a way that creates a contiguous region. The size and color depth of each monitor can be set independently.

The bounding rectangle of all monitors makes up the virtual screen. The desktop window covers the entire virtual screen, rather than the screen of a single monitor. Because existing applications expect one monitor with an origin (0, 0), the virtual screen must contain one monitor with the origin (0, 0). This monitor is known as the primary monitor.

The following illustration shows a possible arrangement of three monitors (see attached screen shot).



Each physical display device is represented by a monitor handle of type HMONITOR. A display monitor has the same HMONITOR value throughout its lifetime.

Any Win32 function that returns a display device context (DC) returns a DC for the primary monitor. To obtain a DC for another monitor, use the EnumDisplayMonitors function. The system calls your callback function for each monitor, passing it a DC for the monitor. You can use this DC to paint on that monitor.

The following functions enable you to position objects on the appropriate monitor: GetMonitorInfo, MonitorFromPoint, MonitorFromRect, and MonitorFromWindow.




0 Kudos
Steven_L_Intel1
Employee
1,117 Views
I believe this question has nothing to do with programming, but rather relates to features provided by video drivers and utility applications. I don't know of an Intel-sponsored user forum for such questions.
0 Kudos
anthonyrichards
New Contributor III
1,118 Views
See http://www.autohotkey.com/forum/topic21703.html for a VBS script that will allow you to use the number pad with ALT etc. to control window locations.
0 Kudos
Reply