CListCtrl with tool tip to have multiple lines
-
We are using the XListCtrl from code project and would like to have multiple lines in a column for tool tips. I have tried \r\n and I have looked at some other information in code project and else where. When a particular row/column has the mouse over it to have a tool tip appear but possible have multiple lines. the lines could be 80+ characters if we could. Could someone point me to a simple and quick solution? thank you
-
We are using the XListCtrl from code project and would like to have multiple lines in a column for tool tips. I have tried \r\n and I have looked at some other information in code project and else where. When a particular row/column has the mouse over it to have a tool tip appear but possible have multiple lines. the lines could be 80+ characters if we could. Could someone point me to a simple and quick solution? thank you
I use "\n" for a newline in balloon tooltips. Not sure if this works for standard but I thought I'd post it in case you hadn't tried it yet. -- modified at 23:54 Monday 29th May, 2006 I just verified that it works for both types of tooltip... m_ToolTip.Create(this,TTS_BALLOON); // Balloon m_ToolTip.Create(this); //for no balloon
-
I use "\n" for a newline in balloon tooltips. Not sure if this works for standard but I thought I'd post it in case you hadn't tried it yet. -- modified at 23:54 Monday 29th May, 2006 I just verified that it works for both types of tooltip... m_ToolTip.Create(this,TTS_BALLOON); // Balloon m_ToolTip.Create(this); //for no balloon
-
bob16972 wrote:
Not sure if this works for standard but I thought I'd post it in case you hadn't tried it yet.
its not working!!! :(( SaRath
"D on't blindly follow rules you read somewhere without verifying that it makes sense for your situation!" -
What does the XListCtrl use for it's tooltips? I would have guessed it used CToolTipCtrl internally but I guess not. Sorry about the misinformation then. That'll teach me to make assumptions. :(
bob16972 wrote:
What does the XListCtrl use for it's tooltips?
In XListCtrl too it has normal tool tip, ther is no tool wrapped text inside the tooltip. I have tried in XListCtrl too by putting "\n" and "\r\n" to make the text wrap. but I failed to do that :( SaRath
"D on't blindly follow rules you read somewhere without verifying that it makes sense for your situation!"