Re: Commented code in getClientRect?

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

Jonas Temple wrote:
> 
> 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.
> 

No, that was a mistake. I was testing something and 'temporarily' 
commented it out, but forgot to put it back in again. I've
fixed that for the next release.

-- 
Derek Parnell
Melbourne, Australia

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

Search



Quick Links

User menu

Not signed in.

Misc Menu