Werner Messages: 234 Registered: May 2006 Location: Cologne / Germany
Experienced Member
Again I'm frantically browsing the documentation ...
I need to retrieve the current screen resolution.
I found "static Rect GetDefaultWindowRect();" but that's not exactly what I'm looking for. I don't want to use the "OS suggested rectangle of newly open window" but the *maximal* rectangle of a newly to open window.
I found
static bool ClickFocus()
Returns OS specific working area - this is rectangle in screen coordinates
where application windows can be placed.
Return value Work area rectangle.
but that leaves me puzzled:
1.
The name is strongly misguiding. I found this function by pure chance.
2.
I'm unable to comprehend this function. How can a boolean value return the (size of the) work area rectangle?
OK! I'm sure that there does exist a simple function, e.g. "Size ScreenSize();", which returns the dimension of the current screen - 1280 * 1024 for example.