Advertisement
C_Volume2 Coding Standards #68523

Auto wordwrap text with the fixed width

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

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine