Bug caused by microstation 8i series 3 update's

We are a company that uses Microstation software to deploy our own solution “DKmètre“ that we have developed with the C and MDL languages.

Our solution is compatible with the series 1 and 2 of the Microstation 8i version. However, updating Microstation to have the series 3 causes a bug in our application.

All texts which are displayed using the mdlTreeCell_setDisplayText fontion do not appear correctly, the last characters of words are replaced by ellipsis.

You will find attached a screen capture of our application, the words that are circled in red represent the bug.

 

Has someone have this kind of bugs?

 

Thank you for your help

Parents
  • Unknown said:
    The last characters of words are replaced by ellipsis

    Perhaps the Dialog Manager thinks your text is too wide for that column.  It's truncating the text and concatening the ellipsis to fit the column width.

    Does the text display correctly if either you...

    • Provide a shorter string
    • Widen the column

    There may also be attributes applicable to the TreeView that you can change in your dialog resource (.r) file.  In your case, TREEATTR_NOELLIPSES looks a good place to start.

    #include <dlogbox.h>

    #define TREEATTR_NOELLIPSES 0x80000000 // Columns will not show ellipses when truncated


     
    Regards, Jon Summers
    LA Solutions

  • Hello,

    Thank you for your reply

    You have said: Does the text display correctly if either you...

    1.Provide a shorter string

    If I provide a string which is composed of less than 5 characters, it’s displayed correctly. But, from 5 characters, the last 4 characters are always truncated and replaced by ellipsis.

    Example: 12345  --> 1…   ;   12345678  --> 1234…   etc

    2. Widen the column

    Even if I wide the column, the problem always occurs .

    3. There may also be attributes applicable to the TreeView that you can change in your dialog resource (.r) file.

    I’d like to note that those dialog resource work correctly in the microstation8i series 1 and 2.

    this next picture is taken from the DKmètre application deployed on the series 2 of microstation8i.


Reply
  • Hello,

    Thank you for your reply

    You have said: Does the text display correctly if either you...

    1.Provide a shorter string

    If I provide a string which is composed of less than 5 characters, it’s displayed correctly. But, from 5 characters, the last 4 characters are always truncated and replaced by ellipsis.

    Example: 12345  --> 1…   ;   12345678  --> 1234…   etc

    2. Widen the column

    Even if I wide the column, the problem always occurs .

    3. There may also be attributes applicable to the TreeView that you can change in your dialog resource (.r) file.

    I’d like to note that those dialog resource work correctly in the microstation8i series 1 and 2.

    this next picture is taken from the DKmètre application deployed on the series 2 of microstation8i.


Children
No Data