fullscreen on monitor 2?

"Alec Bennett" <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I'm trying to open a child window as fullscreen on monitor 2. I'm able
to launch a child window on monitor 2, and I'm able to go fullscreen
on monitor 1, but not fullscreen on monitor 2.

Here's the code I'm using to launch a child window on monitor 2:

import minimal
self.viewerWindow = model.childWindow(self, minimal.Minimal)

# 0 is monitor one, 1 is monitor two
display = wx.Display(1)
geometry = display.GetGeometry()

w, h = geometry.GetSize()
self.viewerWindow.size = (w, h)

x = geometry[0]
y = geometry[1]
self.viewerWindow.position = (x, y)


Adding this line makes it go fullscreen, but only on monitor 1:

self.ShowFullScreen(True)

Does anyone have any tricks to make it go fullscreen on monitor 2?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.