[22 Aug 2008] Window size and OS

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Clyde
Posts: 351
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

[22 Aug 2008] Window size and OS

Post 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
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
User avatar
Clyde
Posts: 351
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

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

Post 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!
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[22 Aug 2008] Re: Window size and OS

Post 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
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
GMKai
Posts: 158
Joined: Mon Feb 15, 2010 10:58 am

[22 Aug 2008] Re: Window size and OS

Post 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.
User avatar
airsoftsoftwair
Posts: 5833
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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 :)
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[22 Aug 2008] Re: Window size and OS

Post 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
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
User avatar
Clyde
Posts: 351
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

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

Post 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
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
Locked