Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtRichContentLayout::stat_DrawText problems Collapse All
Subject Author Date
Miguel Martin - Escanciano Oct 22, 2010 - 6:58 AM


First of all, I am sorry for me english, but I am spaniard.

I have recently updated from version 2.85 to version 2.90 and I have realized of several problems.

I am working with CExtGridWnd and I think that CExtRichContentLayout::stat_DrawText is quite
slower painting cells, and it becomes even slower with DT_WORD_ELLIPSIS style. Is there
any way to speed up that method avoiding parsing algorithms? I am working only with
plain text.

Furthermore, I have found a couple of bugs in CExtRichContentLayout::ParsePlainText routine.
Around line 14989, when DT_END_ELLIPSIS, DT_WORD_ELLIPSIS or DT_PATH_ELLIPSIS style is set,
there is a loop breaking CExtRichContentItem into chars. When an item has a m_strTextParsed
of length 1, the char is inserted, but no one frees the old item (I think variable bDeleteItem
must be set to "true"). Apart from this, when a "&" char is found, it is inserted twice, which
has no sense for me while I am working with plain text into CExtGridCellVariant cells.

Sure you can help me with these problems.

I am looking forward to hearing from you soon.

Technical Support Oct 25, 2010 - 11:52 AM

Prof-UIS 2.90 introduces a beta version of HTML support. Now it’s many times faster and DrawText() flags support is fixed.