Lets send a message when MAXIMIZE stack is pressed

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
makeshyft
Posts: 187
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Lets send a message when MAXIMIZE stack is pressed

Post by makeshyft » Thu Mar 06, 2014 8:53 pm

Hi Runrev, please send a message when the maximize stack button is pressed ... there are workarounds, but they don't actually work 100%.

It actually blows my mind a little that there isn't a message sent.... is there an actual reason for that?

Thank you,

Tom
Tom @
http://www.makeshyft.com
---------------------------------
Changing the Future, Today!

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Lets send a message when MAXIMIZE stack is pressed

Post by BvG » Thu Mar 06, 2014 9:47 pm

Dunnow about the reason... maybe because only on windows maximize actually is different from a normal resize?

The age-old workaround is in fact to check in a stackResize message wether the stack is the same size as the screen...
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

makeshyft
Posts: 187
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Lets send a message when MAXIMIZE stack is pressed

Post by makeshyft » Thu Mar 06, 2014 10:55 pm

yeah...the workaround works 99% (you have to manually account for taskbar and the window behaves just slightly differently than a maximized one..)...good enough for what I need right now.....but seriously ..... one would think this is a no brainer, which is why I think there might be an actual reason for not having it....your guess is as good as mine.
Tom @
http://www.makeshyft.com
---------------------------------
Changing the Future, Today!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3811
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Lets send a message when MAXIMIZE stack is pressed

Post by richmond62 » Thu Mar 06, 2014 11:04 pm

One possible reason is because Livecode is 99% cross-platform, and maybe the signals that are sent to the OS / Window manager / Desktop manager is different
for every Operating system (and in the case of Linux, every desktop manager).

Post Reply

Return to “Feature Requests”