Re: win32lib RemoveHandler and textRect

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

Arthur Crump wrote:
> 
> 
> I have three observations to make about win32lib v0.70.3
> I don't know whether I should have sent them separately
> 
> Firstly:
> 
> The function RemoveHandler did not work for me.  It appeared to me that
> w32RemoveItem was called with an index instead of the item to be removed
> I modified my own version as follows:
> 
> --	Modifications by A R Crump 17 January 2008
>      --lRoutines = w32removeItem(lRoutines,lIndex)   -- Original coding
>      --lStates = w32removeItem(lStates,lIndex)       -- Original coding
>      lRoutines = lRoutines[1..lIndex-1]&lRoutines[lIndex+1..$]
>      lStates = lStates[1..lIndex-1]&lStates[lIndex+1..$]
> --	End of modifications by A R Crump
> 

Ooops, looks like it should be w32removeIndex(lIndex,lRoutines) instead. Same
problem in a couple other places in the lib, will fix within a couple hours.

> Secondly:
> 
> The documentation for textRect is wrong.
> TEXT.htm states that textRect returns a rectangle.
> In fact it returns {Height, Length, Rectangle}
> 

Right, will correct that. It looks like this has been there for a long time.

> Thirdly:
> 
> Why does getClientRect(Screen) return the same dimensions as getRect(Screen)
> ?
> I would have thought that it should return the internal size,
> without the task and application bars, using SPI_GETWORKAREA.
> 

CChris

> Arthur Crump

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

Search



Quick Links

User menu

Not signed in.

Misc Menu