BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 BCGSoft Professional Editor Forums
 BCGPEdit Library-related topics
 HitTest bug with large outline blocks
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


5 Posts

Posted - 09/02/2004 :  07:42:45 AM  Show Profile  Reply with Quote
In my application I am trying to manually add an outline block at the start of a CBCGPEditCtrl. When the block is quite large (I can't remember exactly how large but 2000 chars should do it) and the block is collapsed the line number and outlining for the block do not draw correctly - the line number shows the line number for the END of the block (and not the start) and there is no + sign displayed when the block is collapsed. The problem seems to be in the (non-virtual) HitTest function which calls GetStringExtent on the WHOLE of the remainder of the buffer. Whichever Windows function this calls returns -1 for the size and so HitTest gets confused and returns incorrect values. A fix would be very welcome as I have had to hack about with lots of code to get this working the way I would expect it to work, including hacking the BCG headers, which is always a bit scary. I am currently testing on XP.


3662 Posts

Posted - 10/25/2004 :  08:24:23 AM  Show Profile  Visit Support's Homepage  Reply with Quote

Thank you for the bug report.
The fix will be included in the next release.

Sincerely yours,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2017 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000