Login to participate
  
Register   Lost ID/password?
Louis Kessler’s Behold Blog » Blog Entry           prev Prev   Next next

Wednesday, March 5, 2003 - Wed, 5 Mar 2003

Finally discovered what was causing the mouse highlighting problems. First I made up a very small program with simply a RichView Edit control on it. The problem did not occur, so it was not a problem with RichView. It must have been one of my additions. I commented out each of my additions one-by-one until I found the one that was causing the problem. It was one of my speedups of GetTextExtentExPoint. I didn’t notice that some of the code following one of my calls was using the array of intermediate text lengths that GetTextExtentExPoint creates. My speedup routine doesn’t produce that array. So in that one call, I have to let it use the slower routine for now.

Glad to find that one. It’s been bugging me for awhile, and now I can get back to work on what counts. Still outstanding is making the cursor wider for overwrite mode, but that can wait until later. It will require another modification of Sergey’s code, and maybe he’ll implement overwrite mode into RichView before I get to that point.

Read to my daughter tonight: “Behold the sun setting in a great fire! It is a sign of the end and fall of many things, and a change in the tides of the world.” - The Lord of the Rings, by J.R.R. Tolkien, Part 3, Book 1, The Houses of Healing, page 137. Is this a foreshadowing of my program Behold? :-)

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
Register   Lost ID/password?