win32lib RemoveHandler and textRect
- Posted by Arthur Crump <arthur.crump at n?lworld.co?> Jan 31, 2008
- 531 views
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