1. wxEuphoria Centre (Center)
- Posted by tbohon Aug 18, 2011
- 1354 views
OK, after 45 minutes of looking through docs and trying various combinations I'm throwing in the towel ...
How do I create a window/frame and center it on the screen? It would appear from my reading that I simply add the 'style' in the definition and after the positioning and size parameters but it complains loudly about that.
TIA.
Tom
2. Re: wxEuphoria Centre (Center)
- Posted by mattlewis (admin) Aug 18, 2011
- 1398 views
OK, after 45 minutes of looking through docs and trying various combinations I'm throwing in the towel ...
How do I create a window/frame and center it on the screen? It would appear from my reading that I simply add the 'style' in the definition and after the positioning and size parameters but it complains loudly about that.
I think the correct way is to call wxFrame::Centre, which is not currently wrapped in wxEuphoria.
Matt
3. Re: wxEuphoria Centre (Center)
- Posted by tbohon Aug 18, 2011
- 1297 views
Certainly could be. I went through the wxeud.e file and found several references to horizontal and vertical center constants but maybe it isn't implemented yet or at least it's implemented in something different than the 4215.36 ways I tried to use them ...
Thanks.
4. Re: wxEuphoria Centre (Center)
- Posted by mattlewis (admin) Aug 18, 2011
- 1313 views
Certainly could be. I went through the wxeud.e file and found several references to horizontal and vertical center constants but maybe it isn't implemented yet or at least it's implemented in something different than the 4215.36 ways I tried to use them ...
I think those are used for other controls that get aligned in various ways. Top level windows (frames) are different in a lot of ways.
Matt