ScreenHeight() and ScreenWidth() will be useful with OpenWindowedScreen() (and Menues)
Of course ScreenDepth() too.
[Implemented] ScreenHeight() and ScreenWidth()
[Implemented] ScreenHeight() and ScreenWidth()
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: ScreenHeight() and ScreenWidth() will be useful...?
this has discussed sometimes often! on the forum you will find some very small API calls for doing this. SystemMetrics...
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: ScreenHeight() and ScreenWidth() will be useful...?
But this is Windows only!va!n wrote:this has discussed sometimes often! on the forum you will find some very small API calls for doing this. SystemMetrics...
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
-
- Addict
- Posts: 1073
- Joined: Fri Apr 25, 2003 11:13 pm
- Location: Netherlands
- Contact:
If you want to do it right you'll need to do some monitor functions (in windows at least)
For my tool i was 'forced' to rewrite my code so when a parent window was on monitor 2, the popup should be centered on that same monitor as well.
(Center was preferred)
When i execute my app and mouse is on a different monitor, the app is executed on that monitor.
No hassle.
For my tool i was 'forced' to rewrite my code so when a parent window was on monitor 2, the popup should be centered on that same monitor as well.
(Center was preferred)
When i execute my app and mouse is on a different monitor, the app is executed on that monitor.
No hassle.