RE: XControls

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

> to Don Philips:
> 
> I've downloaded xControls to see how it runs with the 
> soon-to-be-released win32lib. Everything seems to be going fine except 
> that you are using getClientRect() and expecting a 6-element sequence to 
> be returned. But the getClientRect() in win32lib has only ever returned 
> a 4-element sequence. What am I missing here?
> 
> 
> -- 
> Derek

You know Derek, I am not really positive I can answer your question with 
any certainty.

I do know for a fact that (in the very least) that your last Win32Lib 
version did indeed return a six element sequence.  I am not positive 
about any previous version before this however.  I am sure that if I was 
wrong people would have complained about the code not working before 
this.

Its been awile before I looked at that particular piece of code, but if 
memory serves it went like this...

If the window was a child located at 0, 0 with a width height of 50 each 
then the sequence would be: { 0, 0, 50, 50, 50, 50 }.

But if the child window was not started at 0, 0 it was slightly 
different.  If (for example) it started at 20, 20 and w/h was 50 each it 
would return { 20, 20, 70, 70, 50, 50 }.

The first four numbers were the absolute window coordinates and numbers 
5 and 6 respectively were the width and height (as I recall).

I knew from you pre-sending me the beta that this was broken/ removed.  
I probably shouldnt have used them to begin with but I just couldnt help 
myself =)  The fix was/ is quite easy so I was not worried about it at 
the moment.  I am waiting for the official new release before I make any 
fixes or changes to the code.

Cheers!  Don


Oh yes, btw... Nexus 2.4 is coming, ohh yeah its coming...

I am thinking perhaps I will submit a beta as such for testing before I 
put too much more work into it.  Its so far, very interesting... 
collapsable procedures/ functions if then etc, procedure and function 
visual horizontal line markers (think VB) and other such goodies...

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

Search



Quick Links

User menu

Not signed in.

Misc Menu