Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: [V8i, MDL]How to assign an appropriate argument to mdlListRow_setColorDescr ?

$
0
0

Hi all,

My original listbox row is as below:

When use change the value 55 to 80, I change the color of the row to red to indicate this row has been changed using the following two lines:

    BSIColorDescr *clrDsc = mdlWindow_systemColorGet (SYSCOLOR_FIXED_RED);
    mdlListRow_setColorDescr (pListRow, clrDsc);

But when user change the value 80 back to 55 (my default value), I need to change the color of the row back to default. Then I use the following two lines:

    BSIColorDescr *clrDsc = mdlWindow_systemColorGet (SYSCOLOR_FIXED_BLACK);
    mdlListRow_setColorDescr (pListRow, clrDsc);

The row's foreground color is correct, but the background color is incorrect. What can I do for this ?

Thanks, Xue


Viewing all articles
Browse latest Browse all 105279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>