Page 1 of 1

[22 Aug 2008] Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by Clyde
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 13:31:26 +0200

Hi again,

some more (probably noobish) questions:

1) Is it possible to get the width and height of the window of my program? I tried it with #RIGHT and #LEFT and so on, they don't really seem to hold the information of the window size.

2) Is there a way to get the information, on which OS a hollywood app is currently running? So, if I run on OS3 there should be used some other code than when it runs on MOS and so on.

Thanks again in advance!

Micha

[22 Aug 2008] Re: Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by Clyde
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 14:37:35 +0200

Hi,
Great, thanks a lot!
I don't think this is/will be possible. Just make your work able to work on any supported plattform.
Yeah, of course it will run on any supported platform. :-) But if I could get this information, I could increase the comfort and usability of the GUI, that I currently build with SCUIlib. Let's see, what Andreas says ... :-)

Thanks again!

[22 Aug 2008] Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by Allanon
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 13:05:29 -0000
I don't think this is/will be possible. Just make your work able to work on any supported plattform.
I think that such a function would be extremely usefull, for example to execute the right external os command or to initialize path & file requesters.

regards Fabio

[22 Aug 2008] Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by GMKai
Note: This is an archived post that was originally sent to the Hollywood mailing list on 22 Aug 2008 14:34:12 +0100
1) Is it possible to get the width and height of the window of my program? I tried it with #RIGHT and #LEFT and so on, they don't really seem to hold the information of the window size.
check GetAttribute()
2) Is there a way to get the information, on which OS a hollywood app is currently running? So, if I run on OS3 there should be used some other code than when it runs on MOS and so on.
I don't think this is/will be possible. Just make your work able to work on any supported plattform.

[22 Aug 2008] Re: Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 16:26:22 +0200
Yeah, of course it will run on any supported platform. :-) But if I could get this information, I could increase the comfort and usability of the GUI, that I currently build with SCUIlib. Let's see, what Andreas says ... :-)
I say: It's already supported.... check the GetVersion() command :)

[22 Aug 2008] Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by Allanon
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 14:51:33 -0000

What can I say!! A W E S O M E!!!

Thank you ;)

Fabio

[22 Aug 2008] Re: Re: Window size and OS

Posted: Sat Jun 13, 2020 5:31 pm
by Clyde
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 22 Aug 2008 21:32:56 +0200
I say: It's already supported.... check the GetVersion() command :)
You seem to be god ... ;-) Great, thanks a lot for that, Andreas!

Cheers, Micha