Board index » Visual Studio » CListCtrl and tooltip

CListCtrl and tooltip

Visual Studio178
Hi group,



Is it possible when the data is too long, to make the tooltip take more than

1 row?



Thanks


-
 

Re:CListCtrl and tooltip

If you are using your own tooltip control, you can make a multiple line

tooltip using \r\n to insert a line break. You would need to call

SetMaxTipWidth on the tooltip control for \r\n to break the line.



--

Ajay Kalra [MVP - VC++]

ajaykalra@yahoo.com





"Salim GOMRI" <salim.gomri@wanadoo.fr>wrote in message

Quote
Hi group,



Is it possible when the data is too long, to make the tooltip take more

than

1 row?



Thanks









-

Re:CListCtrl and tooltip

It's not my own tooltip !



And SetMaxTipWidth() is not a member of the CListCtrl class ! How can I use

with the CListCtrl tooltip?



How can I do? I have just put LVS_EX_INFOTIP in my extended style !



thanks for all





"Ajay Kalra" <ajaykalra@yahoo.com>a écrit dans le message news:

eVt0MCrWDHA.1736@TK2MSFTNGP10.phx.gbl...

Quote
If you are using your own tooltip control, you can make a multiple line

tooltip using \r\n to insert a line break. You would need to call

SetMaxTipWidth on the tooltip control for \r\n to break the line.



--

Ajay Kalra [MVP - VC++]

ajaykalra@yahoo.com





"Salim GOMRI" <salim.gomri@wanadoo.fr>wrote in message

news:bgm3lp$v0g$1@news-reader2.wanadoo.fr...

>Hi group,

>

>Is it possible when the data is too long, to make the tooltip take more

than

>1 row?

>

>Thanks

>

>









-