Re: How to tell if a newt window is maximized?
Posted by GiGurra on Feb 24, 2012; 5:07pm
URL: https://forum.jogamp.org/How-to-tell-if-a-newt-window-is-maximized-tp3767837p3773128.html
Well Im really not familiar with windows window apis, I just looked that function up on google a time ago when I had to write a program that automatically repositioned some windows and changed their z order ;).
Would I like to add this feature to NEWT? Hmm.. Well I have no idea how I go about doing this in practice :). Can I reach you guys on msn or skype or similar IM (or maybe some active irc channel?). I'll likely need a bit of help doing this hehe.
No idea how I go about querying whether a window is maximized, but I'm sure I can look it up for windows at least. For other platforms I don't think I'm the right person to do it.
You can reach me on msn (ancient_banana_tmuk-----AT------hotmail.com, this is not an email address, just for msn purposes). (or maybe as admins you can see my email address I registered with on this forum?)
A quick google found these fcns on windows:
GetWindowPlacement can tell you if a window is maximized
and
ShowWindow can maximize a window