Re: fullscreen on monitor 2?

"Alec Bennett" <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Nevermind, it works perfectly. I had the call to teh child window
wrong. It should have been:

self.viewerWindow.ShowFullScreen(True)



On 1/18/07, Alec Bennett <[email protected]> wrote:
> 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.