Results for "Author: nolan shang"
Some articles in web just demonstrate how to set the bgcolor of a listitem with equal space,but some time ,we need set the color with the value of the listitem. the following code demonstrate how can i do it.
Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc
Some articles in web just demonstrate how to set the bgcolor of a listitem with equal space,but some time ,we need set the color with the value of the listitem. the following code demonstrate how can i do it.
Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc
Some articles in web just demonstrate how to set the bgcolor of a listitem with equal space,but some time ,we need set the color with the value of the listitem. the following code demonstrate how can i do it.
Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc
Some articles in web just demonstrate how to set the bgcolor of a listitem with equal space,but some time ,we need set the color with the value of the listitem. the following code demonstrate how can i do it.
Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc
Some articles in web just demonstrate how to set the bgcolor of a listitem with equal space,but some time ,we need set the color with the value of the listitem. the following code demonstrate how can i do it.
Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc