Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Strange thing in HelpNotes! Collapse All
Subject Author Date
Bangjun Lei Oct 17, 2007 - 1:39 PM

Dear Sir./Madam.,

I play with the HelpNotes sample. I replace the .rtf with some of my own. Sometimes I found out that the first line in the .rtf is divided into two lines when being displayed. But I don’t want this. Do you know why this would happen? How to correct it?

Thanks!

Technical Support Oct 20, 2007 - 11:38 AM

We have used a technique called bottomless rich edit control to implement measurement of RTF tooltip windows. Here are the resources relating to this technique:

http://msdn2.microsoft.com/en-us/library/dzh15c7k(VS.80).aspx
http://www.codeproject.com/richedit/richeditsize.asp

We implemented our own RTF measurement based on the EN_REQUESTRESIZE notifications. You may want to implement your own instead.