Multiple monitors and SDL

Hello, quick question. I have dual-head setup in windows and would
like for my full screen SDL app to start up and run on the second
monitor. Is this possible? The app will be brought up via the
startup folder with no user intervention. Thanks in advanced. -adam

my understanding of Windows’ multiple monitor support is that applications
will always open on the primary display (please correct me if this is a
mistaken impression) - unless of course you have a window manager that is
able to place windows or applications that remember their last placement.

the primary monitor can be set by ticking the ‘Use this device as my
primary monitor’ option on the [Display Properties >> Settings] tab.
alternatively, i have seen tutorials that describe how to use the window
handle in the SDL_SysWMinfo structure populated by SDL_GetWMInfo() to place
a window and control its appeareance (decorators, etc). in a windows
environment you can cast this to an HWND and manipulate it as normal.

i don’t have any links for this (sorry), but a scan of the SDL docs and a
google search should get you started.

(btw, if anyone reading this has any experience with or information about
performing WM operations (placement, embedding windows) in a platform
independent way (if this is indeed possible) i’d be grateful for any
references.)

.marc> -----Original Message-----

From: sdl-bounces+marc.daya=s1.com at libsdl.org
[mailto:sdl-bounces+marc.daya=s1.com at libsdl.org]On Behalf Of Adam
Meyerowitz
Sent: 18 July 2005 21:44
To: sdl at libsdl.org
Subject: [SDL] Multiple monitors and SDL

Hello, quick question. I have dual-head setup in windows and would
like for my full screen SDL app to start up and run on the second
monitor. Is this possible? The app will be brought up via the
startup folder with no user intervention. Thanks in advanced. -adam


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl