Commented code in getClientRect?

new topic     » topic index » view thread      » older message » newer message

Derek,

Trying to track down my problems using xControls/Win32lib.

I ran the clientarea.exw demo with win32lib v60.6 and when I clicked the
"Hide SB" button the client area did not change.  It did change for
the toolbar button hide/show.

I dug into win32lib.ew and found that in getClientRect the check for
a visible status bar was commented out.  Therefore, the height of the 
status bar was always being subtracted from the client area.

Was this commented code intentional or am I missing something?  I 
uncommented the code and clientarea.exw worked as I expected it to.

Jonas Temple
http://www.yhti.net/~jktemple

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu