CListCtrl text underline?
-
Hello, i need to show text underlined in CListCtrl when someone goes with the mouse over them, the text is always URL Adress, and when the mouse is over a other cell it should be a just normal text! My solution is not good, because the row is bigger then before and it dont restore the text to previos style when i move the mouse to other cell! (I try with CDC, CFont, LOGFONT, CRect etc.!) I hope that is understandable what i mean!? Is there any way to do this! (i think i see here a sample with this, but i cant find it!) Thanx for any help! Arrin
-
Hello, i need to show text underlined in CListCtrl when someone goes with the mouse over them, the text is always URL Adress, and when the mouse is over a other cell it should be a just normal text! My solution is not good, because the row is bigger then before and it dont restore the text to previos style when i move the mouse to other cell! (I try with CDC, CFont, LOGFONT, CRect etc.!) I hope that is understandable what i mean!? Is there any way to do this! (i think i see here a sample with this, but i cant find it!) Thanx for any help! Arrin
Try CListCtrl::SetExtendedStyle() refer: http://msdn.microsoft.com/en-us/library/bb774732(VS.85).aspx