Winattr style resize/remsize

"Fer" <[email protected]>
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
Hi Dimitris,


Adding winattr style resize+remsize forces the window
to use the W and H values as external dimensions instead
of internal. This has some consequences for all visual
events depending on the attr resize.
After a window resize the correct values are stored in the
registry and applied the next time.
Valid for Windows 7 and Vista. I can't remember if
this also happened on XP and I can't check that anymore.

See example below:
~~~~~~~~~~~~~~~~~~~~~~~~~~
G4C 'Win-Remsize'

xonload
guiopen #this

xonclose
guiquit #this

window 100 100 150 50 "Test"
winattr style resize
winattr style remsize //Comment/uncomment this line
// alternately without resizing the window
winattr minsize 150 50

xtextbox 10 10 130 30 "Test winattr remsize"
attr resize 1111
attr color 250/250/250/0/0/0
attr style center/vcenter
~~~~~~~~~~~~~~~~~~~~~~~~~~

Fer




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gui4cli/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gui4cli/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.