Previous Using IDL: Graphic Display Essentials Next

Example: Multi-Monitor Window Positioning

The IDL distribution contains example .pro code that illustrates how to use the IDLsysMonitorInfo object to position application windows on multiple monitors. With a little care, you can design the code to work on Windows, XINERAMA, and X Multi-Screen platforms and handle all monitor configurations.

The example code displays a simple splash screen in the middle of the primary monitor and opens a simple application GUI on the nth monitor in a system with n monitors.


Example Code
The application window positioning for multi-monitor example is included in the file multimon_ex1.pro in the examples/doc/utilities subdirectory of the IDL distribution.

  IDL Online Help (March 06, 2007)