Commented code in getClientRect?
- Posted by Jonas Temple <jtemple at yhti.net> Nov 10, 2004
- 476 views
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