win32lib RemoveHandler and textRect

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

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

Secondly:

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

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.

Arthur Crump

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

Search



Quick Links

User menu

Not signed in.

Misc Menu